pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-autobahn



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jul 31 19:52:00 UTC 2020

Modified Files:
        pkgsrc/www/py-autobahn: Makefile PLIST
Added Files:
        pkgsrc/www/py-autobahn: ALTERNATIVES

Log Message:
py-autobahn: fix self-conflict with other python versions

Use the ALTERNATIVES framework.

>From Aleksej Lebedev on pkgsrc-users.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-autobahn/ALTERNATIVES
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/py-autobahn/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-autobahn/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-autobahn/Makefile
diff -u pkgsrc/www/py-autobahn/Makefile:1.31 pkgsrc/www/py-autobahn/Makefile:1.32
--- pkgsrc/www/py-autobahn/Makefile:1.31        Thu Jan 23 14:33:18 2020
+++ pkgsrc/www/py-autobahn/Makefile     Fri Jul 31 19:52:00 2020
@@ -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"

Index: pkgsrc/www/py-autobahn/PLIST
diff -u pkgsrc/www/py-autobahn/PLIST:1.16 pkgsrc/www/py-autobahn/PLIST:1.17
--- pkgsrc/www/py-autobahn/PLIST:1.16   Thu Jan 23 14:33:18 2020
+++ pkgsrc/www/py-autobahn/PLIST        Fri Jul 31 19:52:00 2020
@@ -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

Added files:

Index: pkgsrc/www/py-autobahn/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-autobahn/ALTERNATIVES:1.1
--- /dev/null   Fri Jul 31 19:52:00 2020
+++ pkgsrc/www/py-autobahn/ALTERNATIVES Fri Jul 31 19:52:00 2020
@@ -0,0 +1 @@
+bin/wamp @PREFIX@/bin/wamp-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index