Received: by mail.netbsd.org (Postfix, from userid 605) id A228884D62; Sun, 7 Jul 2019 10:14:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2986684D2C for ; Sun, 7 Jul 2019 10:14:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JMcIjNNeF8nA for ; Sun, 7 Jul 2019 10:14:44 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 613E484CE3 for ; Sun, 7 Jul 2019 10:14:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 59D95FBF4; Sun, 7 Jul 2019 10:14:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1562494484207690" MIME-Version: 1.0 Date: Sun, 7 Jul 2019 10:14:44 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/time To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20190707101444.59D95FBF4@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. --_----------=_1562494484207690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Sun Jul 7 10:14:44 UTC 2019 Modified Files: pkgsrc/time: Makefile Added Files: pkgsrc/time/py-pytimeparse: DESCR Makefile PLIST distinfo Log Message: Add a package for py-pytimeparse-1.1.8. PR pkg/54340. A small Python library to parse various kinds of time expressions, inspired by a StackOverflow question. The single function pytimeparse.timeparse.timeparse defined in the library (also available as pytimeparse.parse) parses time expressions like the following: 32m 2h32m 3d2h32m 1w3d2h32m 1w 3d 2h 32m 1 w 3 d 2 h 32 m ... To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 pkgsrc/time/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-pytimeparse/DESCR \ pkgsrc/time/py-pytimeparse/Makefile pkgsrc/time/py-pytimeparse/PLIST \ pkgsrc/time/py-pytimeparse/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1562494484207690 Content-Disposition: inline Content-Length: 3699 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/time/Makefile diff -u pkgsrc/time/Makefile:1.185 pkgsrc/time/Makefile:1.186 --- pkgsrc/time/Makefile:1.185 Mon Jul 1 16:07:29 2019 +++ pkgsrc/time/Makefile Sun Jul 7 10:14:44 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.185 2019/07/01 16:07:29 jaapb Exp $ +# $NetBSD: Makefile,v 1.186 2019/07/07 10:14:44 bsiegert Exp $ # COMMENT= Clocks, calendars, daily planners and other time related applications @@ -149,6 +149,7 @@ SUBDIR+= py-monotonic SUBDIR+= py-mxDateTime SUBDIR+= py-parsedatetime SUBDIR+= py-pendulum +SUBDIR+= py-pytimeparse SUBDIR+= py-pytz SUBDIR+= py-relativetimebuilder SUBDIR+= py-rfc3339 Added files: Index: pkgsrc/time/py-pytimeparse/DESCR diff -u /dev/null pkgsrc/time/py-pytimeparse/DESCR:1.1 --- /dev/null Sun Jul 7 10:14:44 2019 +++ pkgsrc/time/py-pytimeparse/DESCR Sun Jul 7 10:14:44 2019 @@ -0,0 +1,14 @@ +A small Python library to parse various kinds of time expressions, +inspired by a StackOverflow question. + +The single function pytimeparse.timeparse.timeparse defined in the +library (also available as pytimeparse.parse) parses time expressions +like the following: + + 32m + 2h32m + 3d2h32m + 1w3d2h32m + 1w 3d 2h 32m + 1 w 3 d 2 h 32 m + ... Index: pkgsrc/time/py-pytimeparse/Makefile diff -u /dev/null pkgsrc/time/py-pytimeparse/Makefile:1.1 --- /dev/null Sun Jul 7 10:14:44 2019 +++ pkgsrc/time/py-pytimeparse/Makefile Sun Jul 7 10:14:44 2019 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2019/07/07 10:14:44 bsiegert Exp $ + +DISTNAME= pytimeparse-1.1.8 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python time +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytimeparse/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://timeparse.readthedocs.io/ +COMMENT= Parse various kinds of time expressions +LICENSE= mit + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/time/py-pytimeparse/PLIST diff -u /dev/null pkgsrc/time/py-pytimeparse/PLIST:1.1 --- /dev/null Sun Jul 7 10:14:44 2019 +++ pkgsrc/time/py-pytimeparse/PLIST Sun Jul 7 10:14:44 2019 @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2019/07/07 10:14:44 bsiegert Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/pytimeparse/VERSION +${PYSITELIB}/pytimeparse/__init__.py +${PYSITELIB}/pytimeparse/__init__.pyc +${PYSITELIB}/pytimeparse/__init__.pyo +${PYSITELIB}/pytimeparse/tests/__init__.py +${PYSITELIB}/pytimeparse/tests/__init__.pyc +${PYSITELIB}/pytimeparse/tests/__init__.pyo +${PYSITELIB}/pytimeparse/tests/testtimeparse.py +${PYSITELIB}/pytimeparse/tests/testtimeparse.pyc +${PYSITELIB}/pytimeparse/tests/testtimeparse.pyo +${PYSITELIB}/pytimeparse/timeparse.py +${PYSITELIB}/pytimeparse/timeparse.pyc +${PYSITELIB}/pytimeparse/timeparse.pyo Index: pkgsrc/time/py-pytimeparse/distinfo diff -u /dev/null pkgsrc/time/py-pytimeparse/distinfo:1.1 --- /dev/null Sun Jul 7 10:14:44 2019 +++ pkgsrc/time/py-pytimeparse/distinfo Sun Jul 7 10:14:44 2019 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/07/07 10:14:44 bsiegert Exp $ + +SHA1 (pytimeparse-1.1.8.tar.gz) = deccf1128b05e4c54bd465bdd0dca7db03dbfa11 +RMD160 (pytimeparse-1.1.8.tar.gz) = e56358a299e95b6593e39f2b57013a4157a412b0 +SHA512 (pytimeparse-1.1.8.tar.gz) = 9eb4530d779b940d66412920eefa4f4d3c43719aa3e4104da4f337c05421bcbb6ad4cb2d6459ddfac770fc9f19960a9d8ce578e67f2513499a7bee8efe9541ec +Size (pytimeparse-1.1.8.tar.gz) = 9403 bytes --_----------=_1562494484207690--