pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-pint: added ALTERNATIVES
Module Name: pkgsrc-wip
Committed By: Aleksej Lebedev <root%zta.lk@localhost>
Pushed By: zhtw
Date: Sat Feb 4 14:23:36 2023 +0100
Changeset: 9aa04a963e6b683890042e4bda23d727d46d1a6d
Modified Files:
py-pint/Makefile
py-pint/PLIST
Added Files:
py-pint/ALTERNATIVES
Log Message:
py-pint: added ALTERNATIVES
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9aa04a963e6b683890042e4bda23d727d46d1a6d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-pint/ALTERNATIVES | 1 +
py-pint/Makefile | 4 ++++
py-pint/PLIST | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-pint/ALTERNATIVES b/py-pint/ALTERNATIVES
new file mode 100644
index 0000000000..b28231b781
--- /dev/null
+++ b/py-pint/ALTERNATIVES
@@ -0,0 +1 @@
+bin/pint-convert @PREFIX@/bin/pint-convert-@PYVERSSUFFIX@
diff --git a/py-pint/Makefile b/py-pint/Makefile
index 9e97e66a1e..30d2ccf777 100644
--- a/py-pint/Makefile
+++ b/py-pint/Makefile
@@ -1,6 +1,7 @@
# $NetBSD$
DISTNAME= Pint-0.20.1
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pint/}
@@ -14,6 +15,9 @@ DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=7.0.5:../../devel/py-setuptools_scm
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} pint-convert pint-convert-${PYVERSSUFFIX}
+
PYTHON_VERSIONS_INCOMPATIBLE= 27 # devel/py-setuptools_scm
.include "../../lang/python/egg.mk"
diff --git a/py-pint/PLIST b/py-pint/PLIST
index 8ab287d60e..7142264ece 100644
--- a/py-pint/PLIST
+++ b/py-pint/PLIST
@@ -1,5 +1,5 @@
@comment $NetBSD$
-bin/pint-convert
+bin/pint-convert-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index