mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 08:38:07 -07:00
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>
This commit is contained in:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user