pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-apipkg
Module Name: pkgsrc
Committed By: wiz
Date: Tue Apr 30 12:25:04 UTC 2024
Modified Files:
pkgsrc/devel/py-apipkg: Makefile PLIST distinfo
Log Message:
py-apipkg: update to 3.0.2.
3.0.1
------
* restore tox.ini to support tox --current-env based packaging
3.0.0
-----
* add support for python 3.11 and drop dead pythons (thanks hukgo)
* migrate to hatch
* split up __init__.py
* add some type annotations
2.1.1
-----
* drop the python 3.4 support marker, 2.1.0 broke it
2.1.0 will be yanked after release
2.1.0
----------------------------------------
- fix race condition for import of modules using apipkg.initpkg in Python 3.3+
by updating existing modules in-place rather than replacing in sys.modules
with an apipkg.ApiModule instances. This race condition exists for
import statements (and __import__) in Python 3.3+ where sys.modules is
checked before obtaining an import lock, and for importlib.import_module
in Python 3.11+ for the same reason.
2.0.1
----------------------------------------
- fix race conditions for attribute creation
2.0.0
----------------------------------------
- also transfer __spec__ attribute
- make py.test hack more specific to avoid hiding real errors
- switch from Travis CI to GitHub Actions
- modernize package build
- reformat code with black
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-apipkg/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-apipkg/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-apipkg/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-apipkg/Makefile
diff -u pkgsrc/devel/py-apipkg/Makefile:1.5 pkgsrc/devel/py-apipkg/Makefile:1.6
--- pkgsrc/devel/py-apipkg/Makefile:1.5 Thu Jan 13 19:31:21 2022
+++ pkgsrc/devel/py-apipkg/Makefile Tue Apr 30 12:25:04 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/13 19:31:21 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2024/04/30 12:25:04 wiz Exp $
-DISTNAME= apipkg-1.5
+DISTNAME= apipkg-3.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/apipkg/}
@@ -11,10 +10,12 @@ HOMEPAGE= https://github.com/pytest-dev/
COMMENT= Namespace control and lazy-import mechanism
LICENSE= mit
-PYTHON_VERSIONED_DEPENDENCIES= setuptools_scm:build
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-apipkg/PLIST
diff -u pkgsrc/devel/py-apipkg/PLIST:1.2 pkgsrc/devel/py-apipkg/PLIST:1.3
--- pkgsrc/devel/py-apipkg/PLIST:1.2 Mon Jul 9 06:41:02 2018
+++ pkgsrc/devel/py-apipkg/PLIST Tue Apr 30 12:25:04 2024
@@ -1,11 +1,24 @@
-@comment $NetBSD: PLIST,v 1.2 2018/07/09 06:41:02 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2024/04/30 12:25:04 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/apipkg/__init__.py
${PYSITELIB}/apipkg/__init__.pyc
${PYSITELIB}/apipkg/__init__.pyo
-${PYSITELIB}/apipkg/version.py
-${PYSITELIB}/apipkg/version.pyc
-${PYSITELIB}/apipkg/version.pyo
+${PYSITELIB}/apipkg/_alias_module.py
+${PYSITELIB}/apipkg/_alias_module.pyc
+${PYSITELIB}/apipkg/_alias_module.pyo
+${PYSITELIB}/apipkg/_importing.py
+${PYSITELIB}/apipkg/_importing.pyc
+${PYSITELIB}/apipkg/_importing.pyo
+${PYSITELIB}/apipkg/_module.py
+${PYSITELIB}/apipkg/_module.pyc
+${PYSITELIB}/apipkg/_module.pyo
+${PYSITELIB}/apipkg/_syncronized.py
+${PYSITELIB}/apipkg/_syncronized.pyc
+${PYSITELIB}/apipkg/_syncronized.pyo
+${PYSITELIB}/apipkg/_version.py
+${PYSITELIB}/apipkg/_version.pyc
+${PYSITELIB}/apipkg/_version.pyo
+${PYSITELIB}/apipkg/py.typed
Index: pkgsrc/devel/py-apipkg/distinfo
diff -u pkgsrc/devel/py-apipkg/distinfo:1.4 pkgsrc/devel/py-apipkg/distinfo:1.5
--- pkgsrc/devel/py-apipkg/distinfo:1.4 Tue Oct 26 10:18:09 2021
+++ pkgsrc/devel/py-apipkg/distinfo Tue Apr 30 12:25:04 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:18:09 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/04/30 12:25:04 wiz Exp $
-BLAKE2s (apipkg-1.5.tar.gz) = 79b5bdbd68d2344e7445e3125d54f0f4f70aa598f195a9208252a28b91042180
-SHA512 (apipkg-1.5.tar.gz) = 828937ca5e203915248fac54db8e7c13f941e006403f2a415c27fa4d1aa114790be3d7b5dd892f528611e5e6dfe75114ee80f4f4589a03c3f789ae6ddfcae0bf
-Size (apipkg-1.5.tar.gz) = 11186 bytes
+BLAKE2s (apipkg-3.0.2.tar.gz) = 79259490285e59db77186384f4222f8687df79bd1c147841d6d01b0cef9c58a5
+SHA512 (apipkg-3.0.2.tar.gz) = 82cacd3cb8074a5616c6c45bc1742e0774345e9e6f6a0e6f1786d23e2a8fe55f7330e9011de297d4decf7020aa737630db0b1063fe604daec544e754a92f7a0a
+Size (apipkg-3.0.2.tar.gz) = 6594 bytes
Home |
Main Index |
Thread Index |
Old Index