From: Matthew Thode Date: Tue, 1 Sep 2015 15:35:40 +0000 (-0500) Subject: dev-python/oslo*: fixing seds and prepare statements X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c209fcd3e3f3de9877bd1a7284de820b5da197d0;p=gentoo.git dev-python/oslo*: fixing seds and prepare statements --- diff --git a/dev-python/debtcollector/debtcollector-0.7.0.ebuild b/dev-python/debtcollector/debtcollector-0.7.0.ebuild index fae6fae78057..7baebb512837 100644 --- a/dev-python/debtcollector/debtcollector-0.7.0.ebuild +++ b/dev-python/debtcollector/debtcollector-0.7.0.ebuild @@ -44,8 +44,12 @@ RDEPEND=" >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] " -python_compile_all() { +python_prepare_all() { sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { use doc && esetup.py build_sphinx } diff --git a/dev-python/oslo-config/oslo-config-2.3.0.ebuild b/dev-python/oslo-config/oslo-config-2.3.0.ebuild index 3d4c587e4969..b275cba27006 100644 --- a/dev-python/oslo-config/oslo-config-2.3.0.ebuild +++ b/dev-python/oslo-config/oslo-config-2.3.0.ebuild @@ -47,9 +47,10 @@ RDEPEND=" " python_prepare_all() { - sed -i '/^hacking/d' test-requirements.txt - sed -i '/^argparse/d' requirements.txt + sed -i '/^hacking/d' test-requirements.txt || die + sed -i '/^argparse/d' requirements.txt || die use doc && esetup.py build_sphinx + distutils-r1_python_prepare_all } python_test() { diff --git a/dev-python/oslotest/oslotest-1.10.0.ebuild b/dev-python/oslotest/oslotest-1.10.0.ebuild index 7af4e9bd8ee5..a5967d08a10a 100644 --- a/dev-python/oslotest/oslotest-1.10.0.ebuild +++ b/dev-python/oslotest/oslotest-1.10.0.ebuild @@ -40,7 +40,7 @@ RDEPEND=" " python_prepare() { - sed -i '/^hacking/d' test-requirements.txt + sed -i '/^hacking/d' test-requirements.txt || die distutils-r1_python_prepare }