pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-dateutil



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 30 09:40:22 UTC 2024

Modified Files:
        pkgsrc/time/py-dateutil: Makefile PLIST

Log Message:
py-dateutil: convert to wheel.mk.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/time/py-dateutil/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/py-dateutil/PLIST

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-dateutil/Makefile
diff -u pkgsrc/time/py-dateutil/Makefile:1.37 pkgsrc/time/py-dateutil/Makefile:1.38
--- pkgsrc/time/py-dateutil/Makefile:1.37       Sun Mar  3 11:42:57 2024
+++ pkgsrc/time/py-dateutil/Makefile    Tue Apr 30 09:40:22 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2024/03/03 11:42:57 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2024/04/30 09:40:22 wiz Exp $
 
 DISTNAME=      python-dateutil-2.9.0.post0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//:S/post/0.0./}
+PKGREVISION=   1
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-dateutil/}
 
@@ -10,23 +11,15 @@ HOMEPAGE=   https://github.com/dateutil/da
 COMMENT=       Extensions to the standard datetime module
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
-
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} != 207
-# freezegun is only available for python 3
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.0:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        hypothesis:test
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools_scm:build
-PYTHON_VERSIONED_DEPENDENCIES+=        pip:build
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.30:../../devel/py-hypothesis
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.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-dateutil/PLIST
diff -u pkgsrc/time/py-dateutil/PLIST:1.10 pkgsrc/time/py-dateutil/PLIST:1.11
--- pkgsrc/time/py-dateutil/PLIST:1.10  Tue Mar 13 11:07:20 2018
+++ pkgsrc/time/py-dateutil/PLIST       Tue Apr 30 09:40:22 2024
@@ -1,10 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2018/03/13 11:07:20 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
+@comment $NetBSD: PLIST,v 1.11 2024/04/30 09:40:22 wiz Exp $
 ${PYSITELIB}/dateutil/__init__.py
 ${PYSITELIB}/dateutil/__init__.pyc
 ${PYSITELIB}/dateutil/__init__.pyo
@@ -60,3 +54,9 @@ ${PYSITELIB}/dateutil/zoneinfo/dateutil-
 ${PYSITELIB}/dateutil/zoneinfo/rebuild.py
 ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc
 ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe



Home | Main Index | Thread Index | Old Index