pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc
Module Name: pkgsrc
Committed By: adam
Date: Fri Aug 25 21:55:53 UTC 2023
Modified Files:
pkgsrc/misc: Makefile
Added Files:
pkgsrc/misc/py-pep440: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
py-pep440: added version 0.1.2
A simple package with utils to check whether versions number match PEP 440.
To generate a diff of this commit:
cvs rdiff -u -r1.624 -r1.625 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-pep440/ALTERNATIVES \
pkgsrc/misc/py-pep440/DESCR pkgsrc/misc/py-pep440/Makefile \
pkgsrc/misc/py-pep440/PLIST pkgsrc/misc/py-pep440/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.624 pkgsrc/misc/Makefile:1.625
--- pkgsrc/misc/Makefile:1.624 Wed Aug 16 22:35:08 2023
+++ pkgsrc/misc/Makefile Fri Aug 25 21:55:53 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.624 2023/08/16 22:35:08 markd Exp $
+# $NetBSD: Makefile,v 1.625 2023/08/25 21:55:53 adam Exp $
#
COMMENT= Miscellaneous utilities
@@ -284,6 +284,7 @@ SUBDIR+= py-icecream
SUBDIR+= py-immutables
SUBDIR+= py-installer
SUBDIR+= py-lazy_loader
+SUBDIR+= py-pep440
SUBDIR+= py-platformdirs
SUBDIR+= py-shellingham
SUBDIR+= py-sniffio
Added files:
Index: pkgsrc/misc/py-pep440/ALTERNATIVES
diff -u /dev/null pkgsrc/misc/py-pep440/ALTERNATIVES:1.1
--- /dev/null Fri Aug 25 21:55:53 2023
+++ pkgsrc/misc/py-pep440/ALTERNATIVES Fri Aug 25 21:55:53 2023
@@ -0,0 +1 @@
+bin/pep440 @PREFIX@/bin/pep440-@PYVERSSUFFIX@
Index: pkgsrc/misc/py-pep440/DESCR
diff -u /dev/null pkgsrc/misc/py-pep440/DESCR:1.1
--- /dev/null Fri Aug 25 21:55:53 2023
+++ pkgsrc/misc/py-pep440/DESCR Fri Aug 25 21:55:53 2023
@@ -0,0 +1 @@
+A simple package with utils to check whether versions number match PEP 440.
Index: pkgsrc/misc/py-pep440/Makefile
diff -u /dev/null pkgsrc/misc/py-pep440/Makefile:1.1
--- /dev/null Fri Aug 25 21:55:53 2023
+++ pkgsrc/misc/py-pep440/Makefile Fri Aug 25 21:55:53 2023
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2023/08/25 21:55:53 adam Exp $
+
+DISTNAME= pep440-0.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= misc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pep440/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Carreau/pep440
+COMMENT= Check whether versions number match PEP 440
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-console-scripts-[0-9]*:../../devel/py-test-console-scripts
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pep440 pep440-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-pep440/PLIST
diff -u /dev/null pkgsrc/misc/py-pep440/PLIST:1.1
--- /dev/null Fri Aug 25 21:55:53 2023
+++ pkgsrc/misc/py-pep440/PLIST Fri Aug 25 21:55:53 2023
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2023/08/25 21:55:53 adam Exp $
+bin/pep440-${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}/pep440/__init__.py
+${PYSITELIB}/pep440/__init__.pyc
+${PYSITELIB}/pep440/__main__.py
+${PYSITELIB}/pep440/__main__.pyc
+${PYSITELIB}/pep440/core.py
+${PYSITELIB}/pep440/core.pyc
+${PYSITELIB}/pep440/py.typed
Index: pkgsrc/misc/py-pep440/distinfo
diff -u /dev/null pkgsrc/misc/py-pep440/distinfo:1.1
--- /dev/null Fri Aug 25 21:55:53 2023
+++ pkgsrc/misc/py-pep440/distinfo Fri Aug 25 21:55:53 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/08/25 21:55:53 adam Exp $
+
+BLAKE2s (pep440-0.1.2.tar.gz) = 7c6b4d29d6f110686a8d4ee3cab9f9d14aba05957d8be530235ca439c9edc48f
+SHA512 (pep440-0.1.2.tar.gz) = df1ed3ec28e32337489a4fa3e2e0493ca1022a2f693a25c7e56146349877cba1fb780e365d310ff3cf1c9b881a13ebf077303829525b49a62fb2461849b18eac
+Size (pep440-0.1.2.tar.gz) = 4378 bytes
Home |
Main Index |
Thread Index |
Old Index