pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-atpublic



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 30 15:24:05 UTC 2023

Modified Files:
        pkgsrc/devel/py-atpublic: Makefile PLIST distinfo

Log Message:
py-atpublic: updated to 4.0

4.0 (2023-06-05)
Drop Python 3.7 support
Remove public.install() which was used to inject the public and private functions into the builtins namespace. This isn’t very helpful and could be actively harmful. Explicit is better than implicit.
The functional form of public() now returns the argument values in the order they are given. This allows you to explicitly bind those values to names in the global namespace. While this is redundant, 
it does solve some linter problems.
Switch from flake8 and isort to ruff for code quality.
Bump dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-atpublic/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-atpublic/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-atpublic/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-atpublic/Makefile
diff -u pkgsrc/devel/py-atpublic/Makefile:1.9 pkgsrc/devel/py-atpublic/Makefile:1.10
--- pkgsrc/devel/py-atpublic/Makefile:1.9       Wed Mar 29 09:34:05 2023
+++ pkgsrc/devel/py-atpublic/Makefile   Sun Jul 30 15:24:05 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:05 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2023/07/30 15:24:05 adam Exp $
 
-DISTNAME=      atpublic-2.3
+DISTNAME=      atpublic-4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/atpublic/}
 
@@ -11,15 +10,11 @@ HOMEPAGE=   https://public.readthedocs.io/
 COMMENT=       @public decorator for Python
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} < 308
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
-.endif
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-atpublic/PLIST
diff -u pkgsrc/devel/py-atpublic/PLIST:1.3 pkgsrc/devel/py-atpublic/PLIST:1.4
--- pkgsrc/devel/py-atpublic/PLIST:1.3  Fri Apr 16 05:40:25 2021
+++ pkgsrc/devel/py-atpublic/PLIST      Sun Jul 30 15:24:05 2023
@@ -1,20 +1,17 @@
-@comment $NetBSD: PLIST,v 1.3 2021/04/16 05:40:25 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2023/07/30 15:24:05 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${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}/licenses/LICENSE
 ${PYSITELIB}/public/__init__.py
 ${PYSITELIB}/public/__init__.pyc
-${PYSITELIB}/public/__init__.pyo
 ${PYSITELIB}/public/private.py
 ${PYSITELIB}/public/private.pyc
-${PYSITELIB}/public/private.pyo
 ${PYSITELIB}/public/public.py
 ${PYSITELIB}/public/public.pyc
-${PYSITELIB}/public/public.pyo
 ${PYSITELIB}/public/py.typed
 ${PYSITELIB}/public/types.py
 ${PYSITELIB}/public/types.pyc
-${PYSITELIB}/public/types.pyo

Index: pkgsrc/devel/py-atpublic/distinfo
diff -u pkgsrc/devel/py-atpublic/distinfo:1.8 pkgsrc/devel/py-atpublic/distinfo:1.9
--- pkgsrc/devel/py-atpublic/distinfo:1.8       Tue Oct 26 10:18:11 2021
+++ pkgsrc/devel/py-atpublic/distinfo   Sun Jul 30 15:24:05 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:18:11 nia Exp $
+$NetBSD: distinfo,v 1.9 2023/07/30 15:24:05 adam Exp $
 
-BLAKE2s (atpublic-2.3.tar.gz) = 8eb7110182200316a1882a20970eba702c0a5ae0bc05ebfa4ca080c1bed15cdd
-SHA512 (atpublic-2.3.tar.gz) = 88c140c7ca0cfe3db791fd43a97f9fc63de979191a026df4d9f7a34a347b657d7d7b6fb7e31a231ac3adbc5e5d014b8e3c3606b93515a6ad42ea3d101b480329
-Size (atpublic-2.3.tar.gz) = 16746 bytes
+BLAKE2s (atpublic-4.0.tar.gz) = f92a2cb7b288a4f0342e05e9c94f011f9b435baa298d2d90c82b5b5e902d0ee6
+SHA512 (atpublic-4.0.tar.gz) = 2f338d3ae11d15e9ffe26881fab1c183154b9a0a7a66532a5eb39d1d48d41548078826875247c94f3853925bc1df2b8f86f4ed94533a8e58aa98de148cf5639c
+Size (atpublic-4.0.tar.gz) = 14684 bytes



Home | Main Index | Thread Index | Old Index