Hi,
attached is a patch that I applied to get to install wip/py-wheel both
with python27 and python34, appending -${PYVERSSUFFIX} to the installed
command.
I wouldn't mind if somebody applied that in the repo … or explained to
me what is broken in my cargo-cult pkgsrc hacking and how it should be
done. At least folks on #python meant that renaming bin/wheel is the
thing to do.
Alrighty then,
Thomas
--
Dr. Thomas Orgis
Universität Hamburg
RRZ / Zentrale Dienste / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270
diff -ruN a/pkgsrc-wip-6b2263a/py-wheel/Makefile b/wip/py-wheel/Makefile
--- a/pkgsrc-wip-6b2263a/py-wheel/Makefile 2016-01-19 00:52:17.000000000 +0100
+++ b/wip/py-wheel/Makefile 2016-01-24 09:47:47.762752083 +0100
@@ -13,5 +13,12 @@
WRKSRC= ${WRKDIR}/wheel-0.26.0
USE_LANGUAGES= # none
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/wheel \
+ ${DESTDIR}${PREFIX}/bin/wheel-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -ruN a/pkgsrc-wip-6b2263a/py-wheel/PLIST b/wip/py-wheel/PLIST
--- a/pkgsrc-wip-6b2263a/py-wheel/PLIST 2016-01-19 00:52:17.000000000 +0100
+++ b/wip/py-wheel/PLIST 2016-01-24 09:37:33.052333415 +0100
@@ -1,5 +1,5 @@
@comment $NetBSD$
-bin/wheel
+bin/wheel-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Attachment:
smime.p7s
Description: S/MIME cryptographic signature