pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-websocket-client



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 11 06:35:50 UTC 2017

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

Log Message:
py-websocket-client: pkgsrc fixes

Sorted PLIST
Added ALTERNATIVES
Removed underscore (_) from PKGNAME


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-websocket-client/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-websocket-client/Makefile \
    pkgsrc/www/py-websocket-client/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-websocket-client/Makefile
diff -u pkgsrc/www/py-websocket-client/Makefile:1.1 pkgsrc/www/py-websocket-client/Makefile:1.2
--- pkgsrc/www/py-websocket-client/Makefile:1.1 Sat Oct  7 17:24:03 2017
+++ pkgsrc/www/py-websocket-client/Makefile     Wed Oct 11 06:35:50 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/10/07 17:24:03 maya Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/11 06:35:50 adam Exp $
 
 DISTNAME=      websocket_client-0.44.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websocket-client/}
 
@@ -14,5 +14,10 @@ PYTHON_VERSIONS_ACCEPTED=    36 35 34
 
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
+USE_LANGUAGES=         # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} wsdump.py wsdump${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-websocket-client/PLIST
diff -u pkgsrc/www/py-websocket-client/PLIST:1.1 pkgsrc/www/py-websocket-client/PLIST:1.2
--- pkgsrc/www/py-websocket-client/PLIST:1.1    Sat Oct  7 17:24:03 2017
+++ pkgsrc/www/py-websocket-client/PLIST        Wed Oct 11 06:35:50 2017
@@ -1,58 +1,58 @@
-@comment $NetBSD: PLIST,v 1.1 2017/10/07 17:24:03 maya Exp $
-bin/wsdump.py
+@comment $NetBSD: PLIST,v 1.2 2017/10/11 06:35:50 adam Exp $
+bin/wsdump${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/websocket/__init__.py
-${PYSITELIB}/websocket/__init__.pyo
 ${PYSITELIB}/websocket/__init__.pyc
-${PYSITELIB}/websocket/_abnf.pyo
-${PYSITELIB}/websocket/_abnf.pyc
-${PYSITELIB}/websocket/_app.pyo
-${PYSITELIB}/websocket/_app.pyc
-${PYSITELIB}/websocket/_cookiejar.pyo
-${PYSITELIB}/websocket/_cookiejar.pyc
-${PYSITELIB}/websocket/_core.pyo
-${PYSITELIB}/websocket/_core.pyc
-${PYSITELIB}/websocket/_exceptions.pyo
-${PYSITELIB}/websocket/_exceptions.pyc
-${PYSITELIB}/websocket/_handshake.pyo
-${PYSITELIB}/websocket/_handshake.pyc
-${PYSITELIB}/websocket/_http.pyo
-${PYSITELIB}/websocket/_http.pyc
-${PYSITELIB}/websocket/_logging.pyo
-${PYSITELIB}/websocket/_logging.pyc
-${PYSITELIB}/websocket/_socket.pyo
-${PYSITELIB}/websocket/_socket.pyc
-${PYSITELIB}/websocket/_ssl_compat.pyo
-${PYSITELIB}/websocket/_ssl_compat.pyc
-${PYSITELIB}/websocket/_url.pyo
-${PYSITELIB}/websocket/_url.pyc
-${PYSITELIB}/websocket/_utils.pyo
-${PYSITELIB}/websocket/_utils.pyc
+${PYSITELIB}/websocket/__init__.pyo
 ${PYSITELIB}/websocket/_abnf.py
+${PYSITELIB}/websocket/_abnf.pyc
+${PYSITELIB}/websocket/_abnf.pyo
 ${PYSITELIB}/websocket/_app.py
+${PYSITELIB}/websocket/_app.pyc
+${PYSITELIB}/websocket/_app.pyo
 ${PYSITELIB}/websocket/_cookiejar.py
+${PYSITELIB}/websocket/_cookiejar.pyc
+${PYSITELIB}/websocket/_cookiejar.pyo
 ${PYSITELIB}/websocket/_core.py
+${PYSITELIB}/websocket/_core.pyc
+${PYSITELIB}/websocket/_core.pyo
 ${PYSITELIB}/websocket/_exceptions.py
+${PYSITELIB}/websocket/_exceptions.pyc
+${PYSITELIB}/websocket/_exceptions.pyo
 ${PYSITELIB}/websocket/_handshake.py
+${PYSITELIB}/websocket/_handshake.pyc
+${PYSITELIB}/websocket/_handshake.pyo
 ${PYSITELIB}/websocket/_http.py
+${PYSITELIB}/websocket/_http.pyc
+${PYSITELIB}/websocket/_http.pyo
 ${PYSITELIB}/websocket/_logging.py
+${PYSITELIB}/websocket/_logging.pyc
+${PYSITELIB}/websocket/_logging.pyo
 ${PYSITELIB}/websocket/_socket.py
+${PYSITELIB}/websocket/_socket.pyc
+${PYSITELIB}/websocket/_socket.pyo
 ${PYSITELIB}/websocket/_ssl_compat.py
+${PYSITELIB}/websocket/_ssl_compat.pyc
+${PYSITELIB}/websocket/_ssl_compat.pyo
 ${PYSITELIB}/websocket/_url.py
+${PYSITELIB}/websocket/_url.pyc
+${PYSITELIB}/websocket/_url.pyo
 ${PYSITELIB}/websocket/_utils.py
+${PYSITELIB}/websocket/_utils.pyc
+${PYSITELIB}/websocket/_utils.pyo
 ${PYSITELIB}/websocket/cacert.pem
 ${PYSITELIB}/websocket/tests/__init__.py
-${PYSITELIB}/websocket/tests/__init__.pyo
 ${PYSITELIB}/websocket/tests/__init__.pyc
-${PYSITELIB}/websocket/tests/test_cookiejar.pyo
-${PYSITELIB}/websocket/tests/test_cookiejar.pyc
-${PYSITELIB}/websocket/tests/test_websocket.pyo
-${PYSITELIB}/websocket/tests/test_websocket.pyc
+${PYSITELIB}/websocket/tests/__init__.pyo
 ${PYSITELIB}/websocket/tests/data/header01.txt
 ${PYSITELIB}/websocket/tests/data/header02.txt
 ${PYSITELIB}/websocket/tests/test_cookiejar.py
+${PYSITELIB}/websocket/tests/test_cookiejar.pyc
+${PYSITELIB}/websocket/tests/test_cookiejar.pyo
 ${PYSITELIB}/websocket/tests/test_websocket.py
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/websocket/tests/test_websocket.pyc
+${PYSITELIB}/websocket/tests/test_websocket.pyo

Added files:

Index: pkgsrc/www/py-websocket-client/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-websocket-client/ALTERNATIVES:1.1
--- /dev/null   Wed Oct 11 06:35:50 2017
+++ pkgsrc/www/py-websocket-client/ALTERNATIVES Wed Oct 11 06:35:50 2017
@@ -0,0 +1 @@
+bin/wsdump @PREFIX@/bin/wsdump@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index