Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 08:34:52 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130975: [NEW PORT]audio/py-pyliblo:A Python wrapper for the Liblo OSC Library
Message-ID:  <200901250834.n0P8YqF5094551@www.freebsd.org>
Resent-Message-ID: <200901250840.n0P8e15L093965@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130975
>Category:       ports
>Synopsis:       [NEW PORT]audio/py-pyliblo:A Python wrapper for the Liblo OSC Library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 25 08:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov  6 00:32:12 UTC 2008     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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.

WWW:    http://das.nasophon.de/pyliblo/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-pyliblo
#	py-pyliblo/files
#	py-pyliblo/files/patch-setup.py
#	py-pyliblo/pkg-plist
#	py-pyliblo/pkg-descr
#	py-pyliblo/distinfo
#	py-pyliblo/Makefile
#
echo c - py-pyliblo
mkdir -p py-pyliblo > /dev/null 2>&1
echo c - py-pyliblo/files
mkdir -p py-pyliblo/files > /dev/null 2>&1
echo x - py-pyliblo/files/patch-setup.py
sed 's/^X//' >py-pyliblo/files/patch-setup.py << 'ecc1cc56c1fb8010ecb9c22a10aae61b'
X--- setup.py.orig	2009-01-25 16:03:31.000000000 +0800
X+++ setup.py	2009-01-25 16:04:35.000000000 +0800
X@@ -34,7 +34,7 @@
X ext_modules = [
X     Extension('liblo',
X               [with_pyrex and 'src/liblo.pyx' or 'src/liblo.c'],
X-              extra_compile_args = ['-fno-strict-aliasing'],
X+              extra_compile_args = ['-fno-strict-aliasing','-I/usr/local/include'],
X               libraries = ['lo'])
X ]
X 
X@@ -54,12 +54,12 @@
X         'scripts/send_osc.py',
X         'scripts/dump_osc.py',
X     ],
X-    data_files = [
X-        ('share/man/man1', [
X-            'scripts/send_osc.1',
X-            'scripts/dump_osc.1',
X-        ]),
X-    ],
X+#    data_files = [
X+#        ('share/man/man1', [
X+#            'scripts/send_osc.1',
X+#            'scripts/dump_osc.1',
X+#        ]),
X+#    ],
X     cmdclass = cmdclass,
X     ext_modules = ext_modules
X )
ecc1cc56c1fb8010ecb9c22a10aae61b
echo x - py-pyliblo/pkg-plist
sed 's/^X//' >py-pyliblo/pkg-plist << 'd8d55573af2840d1fe415ee620fd6910'
Xbin/dump_osc
Xbin/send_osc
X%%PYTHON_SITELIBDIR%%/liblo.so
X%%PORTDOCS%%%%DOCSDIR%%/API.html
X%%PORTDOCS%%%%DOCSDIR%%/examples.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
d8d55573af2840d1fe415ee620fd6910
echo x - py-pyliblo/pkg-descr
sed 's/^X//' >py-pyliblo/pkg-descr << '0b5491a38666bdd7782351950f82e14b'
Xpyliblo is a Python wrapper for the liblo OSC library. It
Xsupports almost the complete functionality of liblo, allowing
Xyou to send and receive OSC messages using a nice and simple
XPython API.
X
XAlso included are the command line utilities send_osc and
Xdump_osc.
X
XWWW:	http://das.nasophon.de/pyliblo/
0b5491a38666bdd7782351950f82e14b
echo x - py-pyliblo/distinfo
sed 's/^X//' >py-pyliblo/distinfo << '2ee901746358f4a8bdbd23b90f054e76'
XMD5 (pyliblo-0.7.2.tar.gz) = 376bf8f0fbe6c8e44d431771e419519b
XSHA256 (pyliblo-0.7.2.tar.gz) = 2ab48f50761d472eaa52fcbcb90958d9b7f3797a74092d021b16c8377bac4d2c
XSIZE (pyliblo-0.7.2.tar.gz) = 41359
2ee901746358f4a8bdbd23b90f054e76
echo x - py-pyliblo/Makefile
sed 's/^X//' >py-pyliblo/Makefile << '19970837c57e0c0649e79c3f97de9fba'
X# New ports collection makefile for:	py-pyliblo
X# Date created:		2009-01-25
X# Whom:			Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pyliblo
XPORTVERSION=	0.7.2
XCATEGORIES=	audio python
XMASTER_SITES=	http://das.nasophon.de/download/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	A Python wrapper for the Liblo OSC Library
X
XBUILD_DEPENDS=	pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
XLIB_DEPENDS=	lo.6:${PORTSDIR}/audio/liblo
X
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
XMAKE_ENV+=		LDFLAGS="-L${LOCALBASE}/lib"
X
XMAN1=	dump_osc.1 send_osc.1
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${LOCALBASE}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${LOCALBASE}/man/man1
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
19970837c57e0c0649e79c3f97de9fba
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901250834.n0P8YqF5094551>