mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/pyalsa: Bump to version 1.1.6
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -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
|
||||
|
||||
27
dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch
Normal file
27
dev-python/pyalsa/files/pyalsa-1.1.6-no-build-symlinks.patch
Normal file
@@ -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)
|
||||
25
dev-python/pyalsa/pyalsa-1.1.6.ebuild
Normal file
25
dev-python/pyalsa/pyalsa-1.1.6.ebuild
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user