1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 ) # Still py2 only it appears
8 inherit distutils-r1 flag-o-matic
10 DESCRIPTION="Python bindings for ALSA library"
11 HOMEPAGE="https://alsa-project.org/"
12 SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2"
16 KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
19 RDEPEND="media-libs/alsa-lib"
21 dev-python/setuptools[${PYTHON_USEDEP}]"
23 PATCHES=( "${FILESDIR}/${P}-no-build-symlinks.patch" )
25 python_configure_all() {
26 # note: this needs changing when py3 becomes supported
27 append-flags -fno-strict-aliasing
29 # Testsuite appears to require installed state