From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/pyopenal/Manifest | 6 ++++ .../pyopenal/files/pyopenal-0.1.6-setup.patch | 20 +++++++++++++ dev-python/pyopenal/metadata.xml | 8 +++++ dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild | 35 ++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 dev-python/pyopenal/Manifest create mode 100644 dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch create mode 100644 dev-python/pyopenal/metadata.xml create mode 100644 dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild (limited to 'dev-python/pyopenal') diff --git a/dev-python/pyopenal/Manifest b/dev-python/pyopenal/Manifest new file mode 100644 index 000000000000..aef85877177b --- /dev/null +++ b/dev-python/pyopenal/Manifest @@ -0,0 +1,6 @@ +AUX pyopenal-0.1.6-setup.patch 635 SHA256 8453234e33bf57b62dfb150a9924a984897680a3775381d4a67ecc2f4d3d492f SHA512 8169b55b387eadc70df6b6c9c850a010660b10410d15540d6a3e960811573b7409122b476cc58bc223df49663fe8fa14ede27b1c7a67f0c42ac4b11e990ec0b2 WHIRLPOOL 353f88bd2041485f0d4d2e8bd12ab4948136380ca00905fe7645cb3bf02b2bb99629cf5da9acbf6e0754f9c1b7ea97b771479d81cf0e1264aa51fb6d30792940 +DIST PyOpenAL-0.1.6.tar.gz 27698 SHA256 94b69cc57fe5e5abe2876865a6e2264d180892e82ac2ed684dc8eaf2cbf1ec5e SHA512 b617781d8253e4ec81fb806709fa5cb0ca3815d11c2fe1b9a74043909bbc3fa57eb8cb0375ad5999c1a7105c5468a75cb7893e186f48e2c440d8b56bb6a87f7b WHIRLPOOL 238f4e65c31972a131858fda02a0858e85af187318a09d5bc5b48d6b68943de1c1eeec5de1715d4124aa49dc2c5efb445bbddadb6cc02c3214e00c23e3d76275 +EBUILD pyopenal-0.1.6-r1.ebuild 791 SHA256 7c886e7469a499e68ed643c0a91fa9e817bfbad002bbdd9dcbdb7c6f4e4fec05 SHA512 877a9d1204f5b8ad9d2dee132ad24f8aee912d0a003840d83a38b381d3c681dda231de88c2ad489e2c1d974c3730928911696db2f0f79fc3c62143333632cb38 WHIRLPOOL ca145ae7a92430da54c4d3fe26d5b0da97578f5e81d8c3e3c525e6a3add8b82e2c305fb5858db05aa068165d68fdad85a270093820f983f4bec428df36d4532a +MISC ChangeLog 2473 SHA256 e8ab1618519dc1fda3d94c27b1f25080ef23efa869058efe776bc68879fe6f49 SHA512 c23dab996f914698b26916fe4d189fdf70542bc2a84b02025148788a764b3e219ee751e3749b723d9bab3e2ca2e77d21ca5fb75949999ce21ed070dc2b9c814c WHIRLPOOL 801365f135fe728c7cbcc8f7cace34ae472528b33b76a73cc107eed06747d2416f3eb31be87f0baa4b0dfd229fe82b226bb853d9bfd217815aad9494a0fb498a +MISC ChangeLog-2015 4070 SHA256 98161fbbc607097e632c5480147617079aaecd56411f277819653c2b75b3b5d5 SHA512 85a20cdcda0d57dd96df055fcefe8af40eb8a69426dcd4195e4e0b5646a37f97375865d78fad8f0dd431ca2687899f2f2e905a38d84ac80f2b07fdf51b8e8972 WHIRLPOOL b4d5fcf52bedac735c9356d8177045ebece2beb322d421c08af9b243fdaa1817c6aaa67dd2383d72cfa2f7d55b3d5ae1f12e69bca5f325272bfc97186e77eafe +MISC metadata.xml 236 SHA256 4709fa7f17a11d5eae6dd884b488d3c6eb8f85e9b63fe3684b4f234d3b9b14a9 SHA512 0f2c2a0401b53543eac90eafdd4d11c5913be07f47b968e2892ca92c265adbd9564f02a491ff2607d7031194ba3e50c7720851537341b1541120821c487147a3 WHIRLPOOL d73790bb41c2cefb5e2f7b163fc95a79b9674d9808ca34cef58fbc8c5a765023a0be285508a2e7f5f70eadc5725cf8d63553d599e4b367f52fac3374de347abb 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/metadata.xml b/dev-python/pyopenal/metadata.xml new file mode 100644 index 000000000000..9e5274c5b4ae --- /dev/null +++ b/dev-python/pyopenal/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + + diff --git a/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild b/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild new file mode 100644 index 000000000000..21ef78fdc08b --- /dev/null +++ b/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 flag-o-matic + +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="" + +DEPEND=">=dev-python/pyogg-1.1[${PYTHON_USEDEP}] + >=dev-python/pyvorbis-1.1[${PYTHON_USEDEP}] + media-libs/freealut + media-libs/openal" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS CHANGES ) +PATCHES=( "${FILESDIR}/${P}-setup.patch" ) + +python_compile() { + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + distutils-r1_python_compile +} -- cgit v1.2.3