pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pypi-cli
Module Name: pkgsrc
Committed By: wiz
Date: Fri Feb 23 12:17:49 UTC 2024
Modified Files:
pkgsrc/devel/py-pypi-cli: Makefile
Added Files:
pkgsrc/devel/py-pypi-cli: ALTERNATIVES
Log Message:
py-pypi-cli: add missing tools, add ALTERNATIVES
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pypi-cli/ALTERNATIVES
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-pypi-cli/Makefile
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-pypi-cli/Makefile
diff -u pkgsrc/devel/py-pypi-cli/Makefile:1.2 pkgsrc/devel/py-pypi-cli/Makefile:1.3
--- pkgsrc/devel/py-pypi-cli/Makefile:1.2 Fri Feb 23 11:37:58 2024
+++ pkgsrc/devel/py-pypi-cli/Makefile Fri Feb 23 12:17:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2024/02/23 11:37:58 mef Exp $
+# $NetBSD: Makefile,v 1.3 2024/02/23 12:17:49 wiz Exp $
DISTNAME= pypi-cli-0.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/sloria/pypi
COMMENT= Command-line interface to the Python Package Index
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-click>=3.3:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4.0:../../time/py-dateutil
@@ -17,12 +19,6 @@ DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4.0
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-# 1) use wheel.mk (needs appropriate TOOL_DEPENDS)
-# 2) add "python" to CATEGORIES
-# 3) add PYTHON_VERSIONS_INCOMPATIBLE=27
-# 4) bin/pypi should be named pypi-${PYVERSSUFFIX}
-# 5) add ALTERNATIVE
-
post-install:
(cd ${DESTDIR}${PREFIX};\
${MV} bin/pypi bin/pypi-${PYVERSSUFFIX} \
Added files:
Index: pkgsrc/devel/py-pypi-cli/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-pypi-cli/ALTERNATIVES:1.1
--- /dev/null Fri Feb 23 12:17:49 2024
+++ pkgsrc/devel/py-pypi-cli/ALTERNATIVES Fri Feb 23 12:17:49 2024
@@ -0,0 +1 @@
+bin/pypi @PREFIX@/bin/pypi-@PYVERSSUFFIX@
Home |
Main Index |
Thread Index |
Old Index