summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-13 21:08:44 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-13 21:08:44 +0000
commit78054985d9a1a925e01b4a2f9f5f38364b898b49 (patch)
tree078b7e60d04aef07247f818d0647d50deabc9336 /dev-python/pyopenal
parentBug 136205, disabling tests for now. (diff)
downloadhistorical-78054985d9a1a925e01b4a2f9f5f38364b898b49.tar.gz
historical-78054985d9a1a925e01b4a2f9f5f38364b898b49.tar.bz2
historical-78054985d9a1a925e01b4a2f9f5f38364b898b49.zip
Version bump to work with split openal/freealut and closing bug #132823.
Package-Manager: portage-2.1
Diffstat (limited to 'dev-python/pyopenal')
-rw-r--r--dev-python/pyopenal/ChangeLog8
-rw-r--r--dev-python/pyopenal/files/digest-pyopenal-0.1.63
-rw-r--r--dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch20
-rw-r--r--dev-python/pyopenal/pyopenal-0.1.6.ebuild39
4 files changed, 69 insertions, 1 deletions
diff --git a/dev-python/pyopenal/ChangeLog b/dev-python/pyopenal/ChangeLog
index e063553abe6b..830bcf5f4853 100644
--- a/dev-python/pyopenal/ChangeLog
+++ b/dev-python/pyopenal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyopenal
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/ChangeLog,v 1.13 2006/05/09 21:09:09 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/ChangeLog,v 1.14 2006/06/13 21:08:44 wolf31o2 Exp $
+
+*pyopenal-0.1.6 (13 Jun 2006)
+
+ 13 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/pyopenal-0.1.6-setup.patch, +pyopenal-0.1.6.ebuild:
+ Version bump to work with split openal/freealut and closing bug #132823.
09 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> pyopenal-0.1.2.ebuild,
pyopenal-0.1.3.ebuild, pyopenal-0.1.4.ebuild:
diff --git a/dev-python/pyopenal/files/digest-pyopenal-0.1.6 b/dev-python/pyopenal/files/digest-pyopenal-0.1.6
new file mode 100644
index 000000000000..072019e24de1
--- /dev/null
+++ b/dev-python/pyopenal/files/digest-pyopenal-0.1.6
@@ -0,0 +1,3 @@
+MD5 51992fc62df474614ea6eb724061f392 PyOpenAL-0.1.6.tar.gz 27698
+RMD160 1fe0e07c9f3828ecc46d710ae320245a121497fb PyOpenAL-0.1.6.tar.gz 27698
+SHA256 94b69cc57fe5e5abe2876865a6e2264d180892e82ac2ed684dc8eaf2cbf1ec5e PyOpenAL-0.1.6.tar.gz 27698
diff --git a/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch b/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch
new file mode 100644
index 000000000000..f9ef9f3c0330
--- /dev/null
+++ b/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch
@@ -0,0 +1,20 @@
+diff -urN PyOpenAL-0.1.6.orig/setup.py PyOpenAL-0.1.6/setup.py
+--- PyOpenAL-0.1.6.orig/setup.py 2006-04-30 11:23:44.000000000 -0400
++++ PyOpenAL-0.1.6/setup.py 2006-06-13 12:15:46.000000000 -0400
+@@ -4,16 +4,6 @@
+ LIBDIRS = ["/usr/lib", "/usr/local/lib"]
+ LIBS = ["openal", "alut"]
+
+-try:
+- openal_version = os.popen("openal-config --version").read()
+- if openal_version[0] == "0":
+- LIBDIRS = ["/usr/lib", "/usr/local/lib"]
+- LIBS = ["openal"]
+-
+-except:
+- print "Warning: error while running 'openal-config --version', using default values..."
+-
+-
+ setup(
+ name = "PyOpenAL",
+ version = "0.1.6",
diff --git a/dev-python/pyopenal/pyopenal-0.1.6.ebuild b/dev-python/pyopenal/pyopenal-0.1.6.ebuild
new file mode 100644
index 000000000000..c632092d495f
--- /dev/null
+++ b/dev-python/pyopenal/pyopenal-0.1.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/pyopenal-0.1.6.ebuild,v 1.1 2006/06/13 21:08:44 wolf31o2 Exp $
+
+inherit distutils eutils
+
+MY_P=${P/pyopenal/PyOpenAL}
+
+DESCRIPTION="OpenAL library port for Python"
+HOMEPAGE="http://home.gna.org/oomadness/en/pyopenal/"
+SRC_URI="http://download.gna.org/pyopenal/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.2.2
+ >=dev-python/pyvorbis-1.1
+ >=dev-python/pyogg-1.1
+ || (
+ (
+ || (
+ ~media-libs/openal-0.0.8
+ ~media-libs/openal-20051024 )
+ media-libs/freealut )
+ ~media-libs/openal-20050504 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-setup.patch || die "patching"
+ if has_version ~media-libs/openal-20050504
+ then
+ sed -i 's/, "alut"//' setup.py || die "sed"
+ fi
+}