diff options
author | wiz <wiz@pkgsrc.org> | 2020-07-31 19:52:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-07-31 19:52:00 +0000 |
commit | 78bdac2abe01db5e52de98b756aff7af095505df (patch) | |
tree | 4b3a784cc4bf99d4b05f73ea9ceb1d26fba9f21e /www | |
parent | 78c572bb77110d0f3324777f91c2bc649a7de301 (diff) | |
download | pkgsrc-78bdac2abe01db5e52de98b756aff7af095505df.tar.gz |
py-autobahn: fix self-conflict with other python versions
Use the ALTERNATIVES framework.
From Aleksej Lebedev on pkgsrc-users.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-autobahn/ALTERNATIVES | 1 | ||||
-rw-r--r-- | www/py-autobahn/Makefile | 6 | ||||
-rw-r--r-- | www/py-autobahn/PLIST | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/www/py-autobahn/ALTERNATIVES b/www/py-autobahn/ALTERNATIVES new file mode 100644 index 00000000000..d4abc4165fc --- /dev/null +++ b/www/py-autobahn/ALTERNATIVES @@ -0,0 +1 @@ +bin/wamp @PREFIX@/bin/wamp-@PYVERSSUFFIX@ diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile index 6ee00553976..3760a001c6b 100644 --- a/www/py-autobahn/Makefile +++ b/www/py-autobahn/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2020/01/23 14:33:18 adam Exp $ +# $NetBSD: Makefile,v 1.32 2020/07/31 19:52:00 wiz Exp $ DISTNAME= autobahn-20.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=a/autobahn/} @@ -22,5 +23,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +post-install: + cd ${DESTDIR}${PREFIX}/bin && ${MV} wamp wamp-${PYVERSSUFFIX} + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-autobahn/PLIST b/www/py-autobahn/PLIST index 88c88783b83..0fc89910e12 100644 --- a/www/py-autobahn/PLIST +++ b/www/py-autobahn/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.16 2020/01/23 14:33:18 adam Exp $ -bin/wamp +@comment $NetBSD: PLIST,v 1.17 2020/07/31 19:52:00 wiz Exp $ +bin/wamp-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt |