diff options
Diffstat (limited to 'audio/py-pyliblo')
-rw-r--r-- | audio/py-pyliblo/Makefile | 19 | ||||
-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, 11 insertions, 48 deletions
diff --git a/audio/py-pyliblo/Makefile b/audio/py-pyliblo/Makefile index 06814b98d5e2..f3bfec06d911 100644 --- a/audio/py-pyliblo/Makefile +++ b/audio/py-pyliblo/Makefile @@ -1,14 +1,13 @@ # Created by: Wen Heping <wenheping@gmail.com> -# $FreeBSD$ PORTNAME= pyliblo DISTVERSION= 0.10.0 -PORTREVISION= 1 +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 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblo.so:audio/liblo -USES= python -USE_PYTHON= distutils cython -MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} - -post-patch: - ${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py +USES= localbase python:3.6+ +USE_PYTHON= autoplist concurrent cython distutils post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/liblo.so - ${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/liblo*.so .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 d323ad6a0e91..000000000000 --- a/audio/py-pyliblo/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/dump_osc -bin/send_osc -man/man1/dump_osc.1.gz -man/man1/send_osc.1.gz -%%PYTHON_SITELIBDIR%%/liblo.so |