From 033495262f9aae1ddce956885eb01afcc1c67fe8 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Mon, 7 Oct 2002 13:27:50 +0000 Subject: [PATCH] Add py-ao 0.8, a python wrapper for ao, an audio device abstraction library. --- audio/Makefile | 1 + audio/py-ao/Makefile | 25 +++++++++++++++++++++++++ audio/py-ao/distinfo | 1 + audio/py-ao/files/patch-setup.py | 11 +++++++++++ audio/py-ao/pkg-comment | 1 + audio/py-ao/pkg-descr | 6 ++++++ audio/py-ao/pkg-plist | 1 + 7 files changed, 46 insertions(+) create mode 100644 audio/py-ao/Makefile create mode 100644 audio/py-ao/distinfo create mode 100644 audio/py-ao/files/patch-setup.py create mode 100644 audio/py-ao/pkg-comment create mode 100644 audio/py-ao/pkg-descr create mode 100644 audio/py-ao/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 125ccf338095..12bcb38e5531 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -185,6 +185,7 @@ SUBDIR += pimp3 SUBDIR += play SUBDIR += playmidi + SUBDIR += py-ao SUBDIR += py-xmms SUBDIR += pysol-sound-server SUBDIR += quelcom diff --git a/audio/py-ao/Makefile b/audio/py-ao/Makefile new file mode 100644 index 000000000000..751c2a747df1 --- /dev/null +++ b/audio/py-ao/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: pyao +# Date created: 23 Sep 2002 +# Whom: nbm +# +# $FreeBSD$ +# + +PORTNAME= ao +PORTVERSION= 0.8 +CATEGORIES= audio +MASTER_SITES= http://www.andrewchatham.com/pyogg/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyao-${PORTVERSION} + +MAINTAINER= nbm@FreeBSD.org + +LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +do-configure: + @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py + +.include diff --git a/audio/py-ao/distinfo b/audio/py-ao/distinfo new file mode 100644 index 000000000000..f879d523ff0c --- /dev/null +++ b/audio/py-ao/distinfo @@ -0,0 +1 @@ +MD5 (pyao-0.8.tar.gz) = c5e861e15f3cb7ddf12fd191e9752b2d diff --git a/audio/py-ao/files/patch-setup.py b/audio/py-ao/files/patch-setup.py new file mode 100644 index 000000000000..1c7c514b0b22 --- /dev/null +++ b/audio/py-ao/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Sun Sep 2 21:14:39 2001 ++++ setup.py Mon Sep 23 16:14:54 2002 +@@ -11,7 +11,7 @@ + + def get_setup(): + data = {} +- r = re.compile(r'(\S+)\s*?=\s*?(.+)') ++ r = re.compile(r'(\S+)\s*=\s*(.+)') + + if not os.path.isfile('Setup'): + print "No 'Setup' file. Perhaps you need to run the configure script." diff --git a/audio/py-ao/pkg-comment b/audio/py-ao/pkg-comment new file mode 100644 index 000000000000..16fed096d580 --- /dev/null +++ b/audio/py-ao/pkg-comment @@ -0,0 +1 @@ +A python wrapper for ao, an audio device abstraction library diff --git a/audio/py-ao/pkg-descr b/audio/py-ao/pkg-descr new file mode 100644 index 000000000000..4ed3f6305113 --- /dev/null +++ b/audio/py-ao/pkg-descr @@ -0,0 +1,6 @@ +pyao - a Python wrapper module for the ao library + +Ao is an audio abstraction library that lets you output to different +devices using the same interface. + +WWW: http://www.andrewchatham.com/pyogg/ diff --git a/audio/py-ao/pkg-plist b/audio/py-ao/pkg-plist new file mode 100644 index 000000000000..d56e328ee4a9 --- /dev/null +++ b/audio/py-ao/pkg-plist @@ -0,0 +1 @@ +lib/%%PYTHON_VERSION%%/site-packages/aomodule.so