diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-22 15:56:03 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-22 15:56:03 +0000 |
commit | 2f14946db8ea28fb4aeaa3628c45d9d12b621d9a (patch) | |
tree | 2405bb95d6f6cc3109d3e64fb93db187a1625ed1 /audio/py-pyliblo | |
parent | 19f6ab69b912786e636937fa19fa87969c5bff2d (diff) | |
download | ports-2f14946db8ea28fb4aeaa3628c45d9d12b621d9a.tar.gz ports-2f14946db8ea28fb4aeaa3628c45d9d12b621d9a.zip |
Use USE_PYTHON=autoplist
- Change MASTER_SITES to CHEESESHOP
- Simplify Makefile and setup.py patch after r523104 and r523220
- Take maintainership
Notes
Notes:
svn path=/head/; revision=526791
Diffstat (limited to 'audio/py-pyliblo')
-rw-r--r-- | audio/py-pyliblo/Makefile | 14 | ||||
-rw-r--r-- | audio/py-pyliblo/files/patch-setup.py | 24 | ||||
-rw-r--r-- | audio/py-pyliblo/pkg-descr | 11 | ||||
-rw-r--r-- | audio/py-pyliblo/pkg-plist | 5 |
4 files changed, 9 insertions, 45 deletions
diff --git a/audio/py-pyliblo/Makefile b/audio/py-pyliblo/Makefile index 8092db17dcd8..f71e76b23a11 100644 --- a/audio/py-pyliblo/Makefile +++ b/audio/py-pyliblo/Makefile @@ -5,10 +5,10 @@ PORTNAME= pyliblo DISTVERSION= 0.10.0 PORTREVISION= 2 CATEGORIES= audio python -MASTER_SITES= http://das.nasophon.de/download/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python wrapper for the Liblo OSC Library LICENSE= LGPL21 @@ -16,16 +16,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblo.so:audio/liblo -USES= python -USE_PYTHON= distutils concurrent cython -MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} - -post-patch: - ${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py +USES= localbase python +USE_PYTHON= autoplist concurrent cython distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/liblo.so - ${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include <bsd.port.mk> diff --git a/audio/py-pyliblo/files/patch-setup.py b/audio/py-pyliblo/files/patch-setup.py deleted file mode 100644 index 693cd0ee4531..000000000000 --- a/audio/py-pyliblo/files/patch-setup.py +++ /dev/null @@ -1,24 +0,0 @@ ---- setup.py.orig 2015-04-14 07:23:17 UTC -+++ setup.py -@@ -45,6 +45,7 @@ ext_modules = [ - '-fno-strict-aliasing', - '-Werror-implicit-function-declaration', - '-Wfatal-errors', -+ '-I%%LOCALBASE%%/include/', - ], - libraries = ['lo'], - ) -@@ -63,12 +64,7 @@ setup( - 'scripts/send_osc.py', - 'scripts/dump_osc.py', - ], -- data_files = [ -- ('share/man/man1', [ -- 'scripts/send_osc.1', -- 'scripts/dump_osc.1', -- ]), -- ], -+ data_files = [], - cmdclass = cmdclass, - ext_modules = ext_modules, - **args diff --git a/audio/py-pyliblo/pkg-descr b/audio/py-pyliblo/pkg-descr index 17771bcbf371..e61bcef75760 100644 --- a/audio/py-pyliblo/pkg-descr +++ b/audio/py-pyliblo/pkg-descr @@ -1,9 +1,8 @@ -pyliblo is a Python wrapper for the liblo OSC library. It -supports almost the complete functionality of liblo, allowing -you to send and receive OSC messages using a nice and simple -Python API. +pyliblo is a Python wrapper for the liblo OSC library. It supports almost the +complete functionality of liblo, allowing you to send and receive OSC messages +using a nice and simple Python API. -Also included are the command line utilities send_osc and -dump_osc. +Also included are the command line utilities send_osc and dump_osc. WWW: http://das.nasophon.de/pyliblo/ +WWW: https://github.com/dsacre/pyliblo diff --git a/audio/py-pyliblo/pkg-plist b/audio/py-pyliblo/pkg-plist deleted file mode 100644 index 348279b00332..000000000000 --- a/audio/py-pyliblo/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/dump_osc -bin/send_osc -share/man/man1/dump_osc.1.gz -share/man/man1/send_osc.1.gz -%%PYTHON_SITELIBDIR%%/liblo.so |