diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-04 10:45:27 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-04 10:46:05 +0200 |
commit | 3ab12576789c056542667339518f2846f839094c (patch) | |
tree | 58db919fed6d8311f14a7aeabf26f245e17067f9 /dev-python | |
parent | media-libs/alsa-oss: Bump to version 1.1.6 (diff) | |
download | gentoo-3ab12576789c056542667339518f2846f839094c.tar.gz gentoo-3ab12576789c056542667339518f2846f839094c.tar.bz2 gentoo-3ab12576789c056542667339518f2846f839094c.zip |
dev-python/pyalsa: Bump to version 1.1.6
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyalsa/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch | 27 | ||||
-rw-r--r-- | dev-python/pyalsa/pyalsa-1.1.6.ebuild | 25 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest index 1f3d56b8f4c8..6fc8736733f4 100644 --- a/dev-python/pyalsa/Manifest +++ b/dev-python/pyalsa/Manifest @@ -1 +1,2 @@ DIST pyalsa-1.0.29.tar.bz2 39481 BLAKE2B 12644bad27c06ce4782ef3396e883bf1aab521a39d813f11d25f910c99d899b14b618f21568bdc1422a3ed448e7421c8b8129dc19c8fcd0f9c0b595f9fbae370 SHA512 cc885094b020ea6e1735391cfc73a11e29f7d59b1e24a766908d57bec0fae4f490616c59f04eb74648f8ee610e76295a9501ab31a2513e921bcd8b4fdb104683 +DIST pyalsa-1.1.6.tar.bz2 39797 BLAKE2B 3a23dde67ec807d09b2e9ef0f893b8ec2f5902b0fa88f0f02f8127b7a5a8bdf3fa09397dd01ae1cafbce6b9c733a0eca65fda3cd6fd18e533dd4fbace284caa3 SHA512 6c6aee1ad32c2208ab3f91defee5651cca8bb414479ff80e8a1bd6791ec1df2218a61dd8e7c01f95bd5d51807776034ff96cca2b935e9e4e23d13b6c3c40a0dd diff --git a/dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch b/dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch new file mode 100644 index 000000000000..7f8cf6815d03 --- /dev/null +++ b/dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch @@ -0,0 +1,27 @@ +--- pyalsa-1.1.6/setup.py ++++ pyalsa-1.1.6/setup.py +@@ -70,24 +70,3 @@ + 'alsamixer', + 'alsaseq' + ] +- +-uname = os.uname() +-dir = 'build/lib.%s-%s-%s/pyalsa' % (uname[0].lower(), uname[4], sys.version[:3]) +-files = os.path.exists(dir) and os.listdir(dir) or [] +-for f in SOFILES: +- path = '' +- for f2 in files: +- if f2.startswith(f + '.') and f2.endswith('.so'): +- path = dir + '/' + f2 +- break +- if not path or not os.path.exists(path): +- continue +- p = 'pyalsa/%s.so' % f +- print("%s -> %s" % (p, path)) +- try: +- st = os.lstat(p) +- if stat.S_ISLNK(st.st_mode): +- os.remove(p) +- except: +- pass +- os.symlink('../' + path, 'pyalsa/%s.so' % f) diff --git a/dev-python/pyalsa/pyalsa-1.1.6.ebuild b/dev-python/pyalsa/pyalsa-1.1.6.ebuild new file mode 100644 index 000000000000..9f25f2ab8f50 --- /dev/null +++ b/dev-python/pyalsa/pyalsa-1.1.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Python bindings for ALSA library" +HOMEPAGE="https://alsa-project.org/" +SRC_URI="mirror://alsaproject/pyalsa/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="media-libs/alsa-lib" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}/${PN}-1.1.6-no-build-symlinks.patch" ) + +# Testsuite appears to require installed state |