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


(adam)
diff -r1.1 -r1.2 pkgsrc/time/py-tempora/ALTERNATIVES
diff -r1.17 -r1.18 pkgsrc/time/py-tempora/Makefile
diff -r1.7 -r1.8 pkgsrc/time/py-tempora/PLIST
diff -r1.11 -r1.12 pkgsrc/time/py-tempora/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/time/py-tempora/ALTERNATIVES (expand / switch to unified diff)

--- pkgsrc/time/py-tempora/ALTERNATIVES 2017/07/19 17:06:49 1.1
+++ pkgsrc/time/py-tempora/ALTERNATIVES 2022/11/06 18:18:37 1.2

cvs diff -r1.17 -r1.18 pkgsrc/time/py-tempora/Makefile (expand / switch to unified diff)

--- pkgsrc/time/py-tempora/Makefile 2022/05/12 08:20:36 1.17
+++ pkgsrc/time/py-tempora/Makefile 2022/11/06 18:18:37 1.18
@@ -1,42 +1,33 @@ @@ -1,42 +1,33 @@
1# $NetBSD: Makefile,v 1.17 2022/05/12 08:20:36 wiz Exp $ 1# $NetBSD: Makefile,v 1.18 2022/11/06 18:18:37 adam Exp $
2 2
3DISTNAME= tempora-1.14.1 3DISTNAME= tempora-5.0.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 2 
6CATEGORIES= time python 5CATEGORIES= time python
7MASTER_SITES= ${MASTER_SITE_PYPI:=t/tempora/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tempora/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/jaraco/tempora 9HOMEPAGE= https://github.com/jaraco/tempora
11COMMENT= Objects and routines pertaining to date and time 10COMMENT= Objects and routines pertaining to date and time
12LICENSE= mit 11LICENSE= mit
13 12
14DEPENDS+= ${PYPKGPREFIX}-jaraco.functools-[0-9]*:../../devel/py-jaraco.functools 13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
 14DEPENDS+= ${PYPKGPREFIX}-jaraco.functools>=1.20:../../devel/py-jaraco.functools
15DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz 15DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
16DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 16TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 17TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
17TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8 18TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
18TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.1:../../devel/py-test-sugar 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-freezegun-[0-9]*:../../devel/py-test-freezegun
19 
20PYTHON_VERSIONED_DEPENDENCIES+= test:test 
21PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build 
22 
23.include "../../lang/python/pyversion.mk" 
24 
25.if ${_PYTHON_VERSION} != 27 
26# freezegun is only available for python 3 
27TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun 
28.endif 
29 20
30USE_LANGUAGES= # none 21USE_LANGUAGES= # none
31 22
32USE_PKG_RESOURCES= yes 23PYTHON_VERSIONS_INCOMPATIBLE= 27
33 24
34post-install: 25post-install:
35 cd ${DESTDIR}${PREFIX}/bin && ${MV} calc-prorate calc-prorate${PYVERSSUFFIX} || ${TRUE} 26 cd ${DESTDIR}${PREFIX}/bin && \
 27 ${MV} calc-prorate calc-prorate-${PYVERSSUFFIX} || ${TRUE}
36 28
37do-test: 29do-test:
38 cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} 30 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
39 31
40.include "../../lang/python/egg.mk" 32.include "../../lang/python/wheel.mk"
41.include "../../lang/python/versioned_dependencies.mk" 
42.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/time/py-tempora/PLIST (expand / switch to unified diff)

--- pkgsrc/time/py-tempora/PLIST 2018/11/15 10:07:38 1.7
+++ pkgsrc/time/py-tempora/PLIST 2022/11/06 18:18:37 1.8
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1@comment $NetBSD: PLIST,v 1.7 2018/11/15 10:07:38 adam Exp $ 1@comment $NetBSD: PLIST,v 1.8 2022/11/06 18:18:37 adam Exp $
2bin/calc-prorate${PYVERSSUFFIX} 2bin/calc-prorate-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${WHEEL_INFODIR}/METADATA
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${WHEEL_INFODIR}/RECORD
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 9${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 10${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 11${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
9${PYSITELIB}/tempora/__init__.py 12${PYSITELIB}/tempora/__init__.py
10${PYSITELIB}/tempora/__init__.pyc 13${PYSITELIB}/tempora/__init__.pyc
11${PYSITELIB}/tempora/__init__.pyo 
12${PYSITELIB}/tempora/schedule.py 14${PYSITELIB}/tempora/schedule.py
13${PYSITELIB}/tempora/schedule.pyc 15${PYSITELIB}/tempora/schedule.pyc
14${PYSITELIB}/tempora/schedule.pyo 
15${PYSITELIB}/tempora/tests/test_schedule.py 16${PYSITELIB}/tempora/tests/test_schedule.py
16${PYSITELIB}/tempora/tests/test_schedule.pyc 17${PYSITELIB}/tempora/tests/test_schedule.pyc
17${PYSITELIB}/tempora/tests/test_schedule.pyo 18${PYSITELIB}/tempora/tests/test_timing.py
 19${PYSITELIB}/tempora/tests/test_timing.pyc
18${PYSITELIB}/tempora/timing.py 20${PYSITELIB}/tempora/timing.py
19${PYSITELIB}/tempora/timing.pyc 21${PYSITELIB}/tempora/timing.pyc
20${PYSITELIB}/tempora/timing.pyo 
21${PYSITELIB}/tempora/utc.py 22${PYSITELIB}/tempora/utc.py
22${PYSITELIB}/tempora/utc.pyc 23${PYSITELIB}/tempora/utc.pyc
23${PYSITELIB}/tempora/utc.pyo 

cvs diff -r1.11 -r1.12 pkgsrc/time/py-tempora/distinfo (expand / switch to unified diff)

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