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:           Sun Nov  6 18:18:38 UTC 2022

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

Log Message:
py-tempora: updated to 5.0.2

v5.0.2
======
- Refreshed project.
- Enrolled with Tidelift.

v5.0.1
======
- Refreshed project.

v5.0.0
======
- Removed deprecated ``divide_*`` functions and ``Parser``
  class.
- Require Python 3.7 or later.
- Fixed error reporting in parse_timedelta.

v4.1.2
======
- Docs now build without warnings.

v4.1.1
======
- Fixed issue where digits were picked up in the unit when
  adjacent to the last unit.

v4.1.0
======
- Added support for more formats in ``parse_timedelta``.
- ``parse_timedelta`` now supports formats emitted by
  ``timeit``, including honoring nanoseconds at the
  microsecond resolution.

v4.0.2
======
- Refreshed package metadata.

v4.0.1
======
- Refreshed package metadata.

v4.0.0
======
- Removed ``strptime`` function in favor of
  `datetime.datetime.strptime <https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime>`_. If passing
  a ``tzinfo`` parameter, instead invoke `.replace(tzinfo=...)`
  on the result.
- Deprecated ``divide_timedelta`` and ``divide_timedelta_float``
  now that Python supports this functionality natively.
- Deprecated ``Parser`` class. The
  `dateutil.parser <https://dateutil.readthedocs.io/en/stable/parser.html>`_
  provides more sophistication.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/py-tempora/ALTERNATIVES
cvs rdiff -u -r1.17 -r1.18 pkgsrc/time/py-tempora/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/time/py-tempora/PLIST
cvs rdiff -u -r1.11 -r1.12 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/ALTERNATIVES
diff -u pkgsrc/time/py-tempora/ALTERNATIVES:1.1 pkgsrc/time/py-tempora/ALTERNATIVES:1.2
--- pkgsrc/time/py-tempora/ALTERNATIVES:1.1     Wed Jul 19 17:06:49 2017
+++ pkgsrc/time/py-tempora/ALTERNATIVES Sun Nov  6 18:18:37 2022
@@ -1 +1 @@
-bin/calc-prorate @PREFIX@/bin/calc-prorate@PYVERSSUFFIX@
+bin/calc-prorate @PREFIX@/bin/calc-prorate-@PYVERSSUFFIX@

Index: pkgsrc/time/py-tempora/Makefile
diff -u pkgsrc/time/py-tempora/Makefile:1.17 pkgsrc/time/py-tempora/Makefile:1.18
--- pkgsrc/time/py-tempora/Makefile:1.17        Thu May 12 08:20:36 2022
+++ pkgsrc/time/py-tempora/Makefile     Sun Nov  6 18:18:37 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2022/05/12 08:20:36 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/11/06 18:18:37 adam Exp $
 
-DISTNAME=      tempora-1.14.1
+DISTNAME=      tempora-5.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tempora/}
 
@@ -11,32 +10,24 @@ HOMEPAGE=   https://github.com/jaraco/temp
 COMMENT=       Objects and routines pertaining to date and time
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-jaraco.functools-[0-9]*:../../devel/py-jaraco.functools
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+DEPENDS+=      ${PYPKGPREFIX}-jaraco.functools>=1.20:../../devel/py-jaraco.functools
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.1:../../devel/py-test-sugar
-
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools_scm:build
-
-.include "../../lang/python/pyversion.mk"
-
-.if ${_PYTHON_VERSION} != 27
-# freezegun is only available for python 3
-TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-.endif
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-freezegun-[0-9]*:../../devel/py-test-freezegun
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} calc-prorate calc-prorate${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} calc-prorate calc-prorate-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
-       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/time/py-tempora/PLIST
diff -u pkgsrc/time/py-tempora/PLIST:1.7 pkgsrc/time/py-tempora/PLIST:1.8
--- pkgsrc/time/py-tempora/PLIST:1.7    Thu Nov 15 10:07:38 2018
+++ pkgsrc/time/py-tempora/PLIST        Sun Nov  6 18:18:37 2022
@@ -1,23 +1,23 @@
-@comment $NetBSD: PLIST,v 1.7 2018/11/15 10:07:38 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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.8 2022/11/06 18:18:37 adam Exp $
+bin/calc-prorate-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/tempora/__init__.py
 ${PYSITELIB}/tempora/__init__.pyc
-${PYSITELIB}/tempora/__init__.pyo
 ${PYSITELIB}/tempora/schedule.py
 ${PYSITELIB}/tempora/schedule.pyc
-${PYSITELIB}/tempora/schedule.pyo
 ${PYSITELIB}/tempora/tests/test_schedule.py
 ${PYSITELIB}/tempora/tests/test_schedule.pyc
-${PYSITELIB}/tempora/tests/test_schedule.pyo
+${PYSITELIB}/tempora/tests/test_timing.py
+${PYSITELIB}/tempora/tests/test_timing.pyc
 ${PYSITELIB}/tempora/timing.py
 ${PYSITELIB}/tempora/timing.pyc
-${PYSITELIB}/tempora/timing.pyo
 ${PYSITELIB}/tempora/utc.py
 ${PYSITELIB}/tempora/utc.pyc
-${PYSITELIB}/tempora/utc.pyo

Index: pkgsrc/time/py-tempora/distinfo
diff -u pkgsrc/time/py-tempora/distinfo:1.11 pkgsrc/time/py-tempora/distinfo:1.12
--- pkgsrc/time/py-tempora/distinfo:1.11        Tue Oct 26 11:24:35 2021
+++ pkgsrc/time/py-tempora/distinfo     Sun Nov  6 18:18:37 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 11:24:35 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/11/06 18:18:37 adam Exp $
 
-BLAKE2s (tempora-1.14.1.tar.gz) = ec7cd3353af361d755092570591e3149ff20ab65329eca84503d0f0b422223eb
-SHA512 (tempora-1.14.1.tar.gz) = 4ecd5430d4d90959b0985908a1e4f239a56ce0026cd315ef6b8c204b645caccb135db76bb2ca9cb95bc65bdf337b61e7c31514eb9c85036771469b6a058edfbb
-Size (tempora-1.14.1.tar.gz) = 19383 bytes
+BLAKE2s (tempora-5.0.2.tar.gz) = 66f2974c50d71afe9b05a28453bc3c274db193f9a5c7a45cf431794fc97b99c7
+SHA512 (tempora-5.0.2.tar.gz) = d0fe086b92e21622444b941c583e3432420b1826e60aa4b90bab31907a98b4989dd21ca99b5554e965f87e23c9d65d9bce8e434d801985f99f187b7dad2a715a
+Size (tempora-5.0.2.tar.gz) = 19530 bytes



Home | Main Index | Thread Index | Old Index