Index: head/MOVED =================================================================== --- head/MOVED +++ head/MOVED @@ -9502,3 +9502,4 @@ textproc/hs-citeproc-hs||2017-08-08|Upstream is unmaintained, use pandoc-citeproc instead sysutils/chvt||2017-08-10|Functionality available in base, using vidcontrol(1) graphics/rawtherapee-devel|graphics/rawtherapee|2017-08-12|Removed test release in favor of the newer stable release +audio/py-jack|audio/py-py-jack|2017-08-20|Renamed to py-py-jack to match PyPI package name. Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -648,7 +648,6 @@ SUBDIR += py-gmusicproxy SUBDIR += py-hsaudiotag SUBDIR += py-id3 - SUBDIR += py-jack SUBDIR += py-karaoke SUBDIR += py-mad SUBDIR += py-mpd @@ -658,6 +657,7 @@ SUBDIR += py-mutagen SUBDIR += py-ogg SUBDIR += py-openal + SUBDIR += py-py-jack SUBDIR += py-pyacoustid SUBDIR += py-pyaudio SUBDIR += py-pylast Index: head/audio/py-jack/Makefile =================================================================== --- head/audio/py-jack/Makefile +++ head/audio/py-jack/Makefile @@ -1,31 +0,0 @@ -# Created by: Yuri Victorovich -# $FreeBSD$ - -PORTNAME= jack -PORTVERSION= 0.5.2 -CATEGORIES= audio python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= py-${PORTNAME}-${PORTVERSION} - -MAINTAINER= yuri@rawbw.com -COMMENT= PyJack is a Python bindings for the Jack Audio Server - -LICENSE= GPLv2 - -LIB_DEPENDS= libjack.so:audio/jack -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy - -USES= python:-2.7 localbase -USE_PYTHON= distutils autoplist - -post-patch: - @${REINPLACE_CMD} -e \ - 's|"/usr/local/|"${LOCALBASE}/|; \ - s|"jack", "dl"|"jack"|; \ - s|os.system.*|pass|' \ - ${WRKSRC}/setup.py -post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jack.so - -.include Index: head/audio/py-jack/distinfo =================================================================== --- head/audio/py-jack/distinfo +++ head/audio/py-jack/distinfo @@ -1,3 +0,0 @@ -TIMESTAMP = 1500938413 -SHA256 (py-jack-0.5.2.tar.gz) = 67951f7b78ded52f3191a5267cd917f1270a6abe28341ccb3575bdd482488590 -SIZE (py-jack-0.5.2.tar.gz) = 13490 Index: head/audio/py-jack/files/patch-pyjack.c =================================================================== --- head/audio/py-jack/files/patch-pyjack.c +++ head/audio/py-jack/files/patch-pyjack.c @@ -1,10 +0,0 @@ ---- pyjack.c.orig 2017-07-24 23:24:04 UTC -+++ pyjack.c -@@ -40,7 +40,6 @@ TODO's: - // Global shared data for jack - - /* Uncomment the next line if you have Jack2 */ --#define JACK2 1 - - - #define PYJACK_MAX_PORTS 256 Index: head/audio/py-jack/pkg-descr =================================================================== --- head/audio/py-jack/pkg-descr +++ head/audio/py-jack/pkg-descr @@ -1,6 +0,0 @@ -PyJack is a module written in C which exposes the Jack API to Python. -For information about Jack see http://jackit.sourceforge.net. This -enables a Python program to connect to and interact with pro-audio -applications which use the Jack Audio Server. - -WWW: https://pypi.python.org/pypi/py-jack Index: head/audio/py-py-jack/Makefile =================================================================== --- head/audio/py-py-jack/Makefile +++ head/audio/py-py-jack/Makefile @@ -0,0 +1,30 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= py-jack +PORTVERSION= 0.5.2 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@rawbw.com +COMMENT= Python bindings for the Jack Audio Server + +LICENSE= GPLv2 + +LIB_DEPENDS= libjack.so:audio/jack +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy + +USES= python:-2.7 localbase +USE_PYTHON= distutils autoplist + +post-patch: + @${REINPLACE_CMD} -e \ + 's|"/usr/local/|"${LOCALBASE}/|; \ + s|"jack", "dl"|"jack"|; \ + s|os.system.*|pass|' \ + ${WRKSRC}/setup.py +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jack.so + +.include Index: head/audio/py-py-jack/distinfo =================================================================== --- head/audio/py-py-jack/distinfo +++ head/audio/py-py-jack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500938413 +SHA256 (py-jack-0.5.2.tar.gz) = 67951f7b78ded52f3191a5267cd917f1270a6abe28341ccb3575bdd482488590 +SIZE (py-jack-0.5.2.tar.gz) = 13490 Index: head/audio/py-py-jack/files/patch-pyjack.c =================================================================== --- head/audio/py-py-jack/files/patch-pyjack.c +++ head/audio/py-py-jack/files/patch-pyjack.c @@ -0,0 +1,10 @@ +--- pyjack.c.orig 2017-07-24 23:24:04 UTC ++++ pyjack.c +@@ -40,7 +40,6 @@ TODO's: + // Global shared data for jack + + /* Uncomment the next line if you have Jack2 */ +-#define JACK2 1 + + + #define PYJACK_MAX_PORTS 256 Index: head/audio/py-py-jack/pkg-descr =================================================================== --- head/audio/py-py-jack/pkg-descr +++ head/audio/py-py-jack/pkg-descr @@ -0,0 +1,6 @@ +PyJack is a module written in C which exposes the Jack API to Python. +For information about Jack see http://jackit.sourceforge.net. This +enables a Python program to connect to and interact with pro-audio +applications which use the Jack Audio Server. + +WWW: https://pypi.python.org/pypi/py-jack