pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-tempora 1.8:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9ea599552c7
branches:  trunk
changeset: 365547:b9ea599552c7
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 19 17:06:49 2017 +0000

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

diffstat:

 time/py-tempora/ALTERNATIVES |   1 +
 time/py-tempora/Makefile     |  15 ++++++++++++---
 time/py-tempora/PLIST        |   5 ++---
 time/py-tempora/distinfo     |  10 +++++-----
 4 files changed, 20 insertions(+), 11 deletions(-)

diffs (68 lines):

diff -r cc2e48601357 -r b9ea599552c7 time/py-tempora/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-tempora/ALTERNATIVES      Wed Jul 19 17:06:49 2017 +0000
@@ -0,0 +1,1 @@
+bin/calc-prorate @PREFIX@/bin/calc-prorate@PYVERSSUFFIX@
diff -r cc2e48601357 -r b9ea599552c7 time/py-tempora/Makefile
--- a/time/py-tempora/Makefile  Wed Jul 19 16:20:07 2017 +0000
+++ b/time/py-tempora/Makefile  Wed Jul 19 17:06:49 2017 +0000
@@ -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 @@
 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"
diff -r cc2e48601357 -r b9ea599552c7 time/py-tempora/PLIST
--- a/time/py-tempora/PLIST     Wed Jul 19 16:20:07 2017 +0000
+++ b/time/py-tempora/PLIST     Wed Jul 19 17:06:49 2017 +0000
@@ -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
diff -r cc2e48601357 -r b9ea599552c7 time/py-tempora/distinfo
--- a/time/py-tempora/distinfo  Wed Jul 19 16:20:07 2017 +0000
+++ b/time/py-tempora/distinfo  Wed Jul 19 17:06:49 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index