commit: 0ce07a8c456354c7a9e1e8e6d8d626afa331fd46
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 2 16:42:42 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 2 16:53:45 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce07a8c
dev-python/python-daap: Use append-cflags
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/python-daap/python-daap-0.7.1-r1.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
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 3fc3cbb..660608e 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/. )