From: Justin Lecher Date: Wed, 2 Sep 2015 16:42:42 +0000 (+0200) Subject: dev-python/python-daap: Use append-cflags X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ce07a8c456354c7a9e1e8e6d8d626afa331fd46;p=gentoo.git dev-python/python-daap: Use append-cflags Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- diff --git a/dev-python/python-daap/python-daap-0.7.1-r1.ebuild b/dev-python/python-daap/python-daap-0.7.1-r1.ebuild index 3fc3cbb84be2..660608e3483e 100644 --- a/dev-python/python-daap/python-daap-0.7.1-r1.ebuild +++ b/dev-python/python-daap/python-daap-0.7.1-r1.ebuild @@ -3,9 +3,10 @@ # $Id$ EAPI=5 + PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic MY_P="PythonDaap-${PV}" @@ -18,12 +19,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" -DEPEND="" -RDEPEND="" - S="${WORKDIR}/${MY_P}" -CFLAGS="${CFLAGS} -fno-strict-aliasing" +python_prepare_all() { + distutils-r1_python_prepare_all + append-cflags -fno-strict-aliasing +} python_install_all() { use examples && local EXAMPLES=( examples/. )