pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/py-tempora



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul 19 17:06:49 UTC 2017

Modified Files:
        pkgsrc/time/py-tempora: Makefile PLIST distinfo
Added Files:
        pkgsrc/time/py-tempora: ALTERNATIVES

Log Message:
1.8:
Introducing ``timing.Timer``, featuring a ``expired``
method for detecting when a certain duration has been
exceeded.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-tempora/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/time/py-tempora/Makefile \
    pkgsrc/time/py-tempora/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/py-tempora/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-tempora/Makefile
diff -u pkgsrc/time/py-tempora/Makefile:1.3 pkgsrc/time/py-tempora/Makefile:1.4
--- pkgsrc/time/py-tempora/Makefile:1.3 Wed Feb 15 02:21:53 2017
+++ pkgsrc/time/py-tempora/Makefile     Wed Jul 19 17:06:49 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2017/02/15 02:21:53 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2017/07/19 17:06:49 adam Exp $
 
-DISTNAME=      tempora-1.6.1
+DISTNAME=      tempora-1.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tempora/}
@@ -10,9 +10,18 @@ HOMEPAGE=    https://github.com/jaraco/temp
 COMMENT=       Objects and routines pertaining to date and time
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+
 USE_LANGUAGES=         # none
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} calc-prorate calc-prorate${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-tempora/PLIST
diff -u pkgsrc/time/py-tempora/PLIST:1.3 pkgsrc/time/py-tempora/PLIST:1.4
--- pkgsrc/time/py-tempora/PLIST:1.3    Sun Apr 23 06:58:47 2017
+++ pkgsrc/time/py-tempora/PLIST        Wed Jul 19 17:06:49 2017
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2017/04/23 06:58:47 wiz Exp $
-bin/calc-prorate
+@comment $NetBSD: PLIST,v 1.4 2017/07/19 17:06:49 adam Exp $
+bin/calc-prorate${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/tempora/__init__.py

Index: pkgsrc/time/py-tempora/distinfo
diff -u pkgsrc/time/py-tempora/distinfo:1.1 pkgsrc/time/py-tempora/distinfo:1.2
--- pkgsrc/time/py-tempora/distinfo:1.1 Mon Feb 13 17:15:00 2017
+++ pkgsrc/time/py-tempora/distinfo     Wed Jul 19 17:06:49 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/02/13 17:15:00 adam Exp $
+$NetBSD: distinfo,v 1.2 2017/07/19 17:06:49 adam Exp $
 
-SHA1 (tempora-1.6.1.tar.gz) = 370dbed567747b1b51d5c3881e0f10e85ed37c21
-RMD160 (tempora-1.6.1.tar.gz) = 7e8b92d97ea1171351556536348a1fabc32091e4
-SHA512 (tempora-1.6.1.tar.gz) = 9baf9162e304e59ae0a427a7a27d1fc66b0d4b98e016490317832ba2e7acec520ef2baeebeb26f7984ba7ace82413d15b96baef7dbdfcfdc94e29e7179769a01
-Size (tempora-1.6.1.tar.gz) = 11423 bytes
+SHA1 (tempora-1.8.tar.gz) = fa6d4fbcf46d36a528d60811b2d86e0f5e5de966
+RMD160 (tempora-1.8.tar.gz) = 50c3cc64d1d3779737bdee070a3bb093b5068297
+SHA512 (tempora-1.8.tar.gz) = cd0a913990984f0cfe269c87cdcd80495a79df0479feed3c41c03830a19cb748b92ec71c6b586e18327a9e559d4d9540c073d38088dc95b3fb2b03e127052e3f
+Size (tempora-1.8.tar.gz) = 12212 bytes

Added files:

Index: pkgsrc/time/py-tempora/ALTERNATIVES
diff -u /dev/null pkgsrc/time/py-tempora/ALTERNATIVES:1.1
--- /dev/null   Wed Jul 19 17:06:49 2017
+++ pkgsrc/time/py-tempora/ALTERNATIVES Wed Jul 19 17:06:49 2017
@@ -0,0 +1 @@
+bin/calc-prorate @PREFIX@/bin/calc-prorate@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index