mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/oslo*: fixing seds and prepare statements
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user