From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-python/pyopenal/Manifest | 1 + .../pyopenal/files/pyopenal-0.1.6-setup.patch | 20 ++++++++++++ dev-python/pyopenal/metadata.xml | 5 +++ dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild | 36 ++++++++++++++++++++++ 4 files changed, 62 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..104649ccd67b --- /dev/null +++ b/dev-python/pyopenal/Manifest @@ -0,0 +1 @@ +DIST PyOpenAL-0.1.6.tar.gz 27698 SHA256 94b69cc57fe5e5abe2876865a6e2264d180892e82ac2ed684dc8eaf2cbf1ec5e SHA512 b617781d8253e4ec81fb806709fa5cb0ca3815d11c2fe1b9a74043909bbc3fa57eb8cb0375ad5999c1a7105c5468a75cb7893e186f48e2c440d8b56bb6a87f7b WHIRLPOOL 238f4e65c31972a131858fda02a0858e85af187318a09d5bc5b48d6b68943de1c1eeec5de1715d4124aa49dc2c5efb445bbddadb6cc02c3214e00c23e3d76275 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..de483c53568f --- /dev/null +++ b/dev-python/pyopenal/metadata.xml @@ -0,0 +1,5 @@ + + + +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..027803fa9437 --- /dev/null +++ b/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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-65-gdbad