Received: by mail.netbsd.org (Postfix, from userid 605) id EF71684DFB; Thu, 6 Dec 2018 19:25:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D193484D3F for ; Thu, 6 Dec 2018 19:25:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ml4IVZAt76hI for ; Thu, 6 Dec 2018 19:25:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 971B584D32 for ; Thu, 6 Dec 2018 19:25:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 78840FB16; Thu, 6 Dec 2018 19:25:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1544124334280490" MIME-Version: 1.0 Date: Thu, 6 Dec 2018 19:25:34 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/time To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20181206192534.78840FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1544124334280490 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Dec 6 19:25:34 UTC 2018 Modified Files: pkgsrc/time: Makefile Added Files: pkgsrc/time/py-aniso8601: DESCR Makefile PLIST distinfo Log Message: py-aniso8601: added version 4.0.1 Library for parsing ISO 8601 strings Features * Pure Python implementation * Python 3 support * Logical behavior - Parse a time, get a datetime.time - Parse a date, get a datetime.date - Parse a datetime, get a datetime.datetime - Parse a duration, get a datetime.timedelta - Parse an interval, get a tuple of dates or datetimes - Parse a repeating interval, get a date or datetime generator * UTC offset represented as fixed-offset tzinfo * Parser separate from representation, allowing parsing to different datetime formats * No regular expressions To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 pkgsrc/time/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-aniso8601/DESCR \ pkgsrc/time/py-aniso8601/Makefile pkgsrc/time/py-aniso8601/PLIST \ pkgsrc/time/py-aniso8601/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1544124334280490 Content-Disposition: inline Content-Length: 4507 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/time/Makefile diff -u pkgsrc/time/Makefile:1.179 pkgsrc/time/Makefile:1.180 --- pkgsrc/time/Makefile:1.179 Sat Sep 15 15:15:07 2018 +++ pkgsrc/time/Makefile Thu Dec 6 19:25:33 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.179 2018/09/15 15:15:07 khorben Exp $ +# $NetBSD: Makefile,v 1.180 2018/12/06 19:25:33 adam Exp $ # COMMENT= Clocks, calendars, daily planners and other time related applications @@ -129,6 +129,7 @@ SUBDIR+= planner SUBDIR+= polclock SUBDIR+= projclock SUBDIR+= projectlibre +SUBDIR+= py-aniso8601 SUBDIR+= py-arrow SUBDIR+= py-dateparser SUBDIR+= py-dateutil Added files: Index: pkgsrc/time/py-aniso8601/DESCR diff -u /dev/null pkgsrc/time/py-aniso8601/DESCR:1.1 --- /dev/null Thu Dec 6 19:25:34 2018 +++ pkgsrc/time/py-aniso8601/DESCR Thu Dec 6 19:25:34 2018 @@ -0,0 +1,16 @@ +Library for parsing ISO 8601 strings + +Features +* Pure Python implementation +* Python 3 support +* Logical behavior + - Parse a time, get a datetime.time + - Parse a date, get a datetime.date + - Parse a datetime, get a datetime.datetime + - Parse a duration, get a datetime.timedelta + - Parse an interval, get a tuple of dates or datetimes + - Parse a repeating interval, get a date or datetime generator +* UTC offset represented as fixed-offset tzinfo +* Parser separate from representation, allowing parsing to different datetime + formats +* No regular expressions Index: pkgsrc/time/py-aniso8601/Makefile diff -u /dev/null pkgsrc/time/py-aniso8601/Makefile:1.1 --- /dev/null Thu Dec 6 19:25:34 2018 +++ pkgsrc/time/py-aniso8601/Makefile Thu Dec 6 19:25:34 2018 @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2018/12/06 19:25:34 adam Exp $ + +DISTNAME= aniso8601-4.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= time python +MASTER_SITES= ${MASTER_SITE_PYPI:=a/aniso8601/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://bitbucet.org/nielsenb/aniso8601 +COMMENT= Library for parsing ISO 8601 strings +LICENSE= modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.6.1:../../time/py-dateutil +TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock + +USE_LANGUAGES= # none + +do-test: + cd ${WRKSRC}/aniso8601/tests && ${PYTHONBIN} -m unittest discover -v + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/time/py-aniso8601/PLIST diff -u /dev/null pkgsrc/time/py-aniso8601/PLIST:1.1 --- /dev/null Thu Dec 6 19:25:34 2018 +++ pkgsrc/time/py-aniso8601/PLIST Thu Dec 6 19:25:34 2018 @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1 2018/12/06 19:25:34 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/aniso8601/__init__.py +${PYSITELIB}/aniso8601/__init__.pyc +${PYSITELIB}/aniso8601/__init__.pyo +${PYSITELIB}/aniso8601/builder.py +${PYSITELIB}/aniso8601/builder.pyc +${PYSITELIB}/aniso8601/builder.pyo +${PYSITELIB}/aniso8601/compat.py +${PYSITELIB}/aniso8601/compat.pyc +${PYSITELIB}/aniso8601/compat.pyo +${PYSITELIB}/aniso8601/date.py +${PYSITELIB}/aniso8601/date.pyc +${PYSITELIB}/aniso8601/date.pyo +${PYSITELIB}/aniso8601/duration.py +${PYSITELIB}/aniso8601/duration.pyc +${PYSITELIB}/aniso8601/duration.pyo +${PYSITELIB}/aniso8601/exceptions.py +${PYSITELIB}/aniso8601/exceptions.pyc +${PYSITELIB}/aniso8601/exceptions.pyo +${PYSITELIB}/aniso8601/interval.py +${PYSITELIB}/aniso8601/interval.pyc +${PYSITELIB}/aniso8601/interval.pyo +${PYSITELIB}/aniso8601/resolution.py +${PYSITELIB}/aniso8601/resolution.pyc +${PYSITELIB}/aniso8601/resolution.pyo +${PYSITELIB}/aniso8601/time.py +${PYSITELIB}/aniso8601/time.pyc +${PYSITELIB}/aniso8601/time.pyo +${PYSITELIB}/aniso8601/timezone.py +${PYSITELIB}/aniso8601/timezone.pyc +${PYSITELIB}/aniso8601/timezone.pyo Index: pkgsrc/time/py-aniso8601/distinfo diff -u /dev/null pkgsrc/time/py-aniso8601/distinfo:1.1 --- /dev/null Thu Dec 6 19:25:34 2018 +++ pkgsrc/time/py-aniso8601/distinfo Thu Dec 6 19:25:34 2018 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/12/06 19:25:34 adam Exp $ + +SHA1 (aniso8601-4.0.1.tar.gz) = 7a15052f386aa1c74f415570c694645282fc5ad0 +RMD160 (aniso8601-4.0.1.tar.gz) = b5dc34f4c3f2342a6a1b035cdcc6eb4582cfc87e +SHA512 (aniso8601-4.0.1.tar.gz) = 5638ebf82a1a1aceee866eb17e8e4b5c8023961a9e31ce3e12123b89dba0ea0924e10a6aa458c838fcfdb72b94af4e81b3e9e8805cb534a1eccaf5a51f2026c9 +Size (aniso8601-4.0.1.tar.gz) = 109849 bytes --_----------=_1544124334280490--