summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-02 18:52:44 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-02 18:53:46 +0200
commit1866e7063bae2aba278602e1a2bc9fe9eea987b4 (patch)
tree9834b7182020ce379dac3acc45a55effc7d94155 /dev-python/python-nss/python-nss-0.16.0.ebuild
parentdev-python/python-fastcgi: Use append-cflags (diff)
downloadgentoo-1866e7063bae2aba278602e1a2bc9fe9eea987b4.tar.gz
gentoo-1866e7063bae2aba278602e1a2bc9fe9eea987b4.tar.bz2
gentoo-1866e7063bae2aba278602e1a2bc9fe9eea987b4.zip
dev-python/python-nss: Use append-cflags
remove buildtime deps from RDEPEND drop old Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/python-nss/python-nss-0.16.0.ebuild')
-rw-r--r--dev-python/python-nss/python-nss-0.16.0.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/dev-python/python-nss/python-nss-0.16.0.ebuild b/dev-python/python-nss/python-nss-0.16.0.ebuild
index 5ffc04a8889c..2b5431a27721 100644
--- a/dev-python/python-nss/python-nss-0.16.0.ebuild
+++ b/dev-python/python-nss/python-nss-0.16.0.ebuild
@@ -3,9 +3,10 @@
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 ) # still only supports py2
-inherit distutils-r1 versionator
+inherit distutils-r1 flag-o-matic versionator
MY_PV="$(replace_all_version_separators '_' )"
DESCRIPTION="Python bindings for Network Security Services (NSS)"
@@ -17,16 +18,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
-DEPEND="dev-libs/nss
+RDEPEND="
dev-libs/nspr
- doc? ( dev-python/docutils[${PYTHON_USEDEP}]
- dev-python/epydoc[${PYTHON_USEDEP}] )"
-RDEPEND="${DEPEND}"
+ dev-libs/nss
+"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/epydoc[${PYTHON_USEDEP}]
+ )"
-CFLAGS="${CFLAGS} -fno-strict-aliasing"
DOCS="README doc/ChangeLog"
python_prepare_all() {
+ append-cflags -fno-strict-aliasing
# Remove test file using a dep, called nss-tools, unavailable in portage
rm -f test/test_pkcs12.py || die
sed -e '/import test_pkcs12/d' \