From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pyalsa/Manifest | 1 + .../files/pyalsa-1.1.6-no-build-symlinks.patch | 27 ++++++++++++++++++++++ dev-python/pyalsa/metadata.xml | 13 +++++++++++ dev-python/pyalsa/pyalsa-1.1.6-r1.ebuild | 25 ++++++++++++++++++++ dev-python/pyalsa/pyalsa-1.1.6.ebuild | 25 ++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 dev-python/pyalsa/Manifest create mode 100644 dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch create mode 100644 dev-python/pyalsa/metadata.xml create mode 100644 dev-python/pyalsa/pyalsa-1.1.6-r1.ebuild create mode 100644 dev-python/pyalsa/pyalsa-1.1.6.ebuild (limited to 'dev-python/pyalsa') diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest new file mode 100644 index 000000000000..e0b87cb157e0 --- /dev/null +++ b/dev-python/pyalsa/Manifest @@ -0,0 +1 @@ +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/metadata.xml b/dev-python/pyalsa/metadata.xml new file mode 100644 index 000000000000..0af7094acbf5 --- /dev/null +++ b/dev-python/pyalsa/metadata.xml @@ -0,0 +1,13 @@ + + + + + alsa-bugs@gentoo.org + Gentoo ALSA Project + + + python@gentoo.org + Python + + gentoo-staging + diff --git a/dev-python/pyalsa/pyalsa-1.1.6-r1.ebuild b/dev-python/pyalsa/pyalsa-1.1.6-r1.ebuild new file mode 100644 index 000000000000..c3ac63d15799 --- /dev/null +++ b/dev-python/pyalsa/pyalsa-1.1.6-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Python bindings for ALSA library" +HOMEPAGE="https://alsa-project.org/" +SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~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 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..ec712e155458 --- /dev/null +++ b/dev-python/pyalsa/pyalsa-1.1.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_6} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Python bindings for ALSA library" +HOMEPAGE="https://alsa-project.org/" +SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~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 -- cgit v1.3.1