summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2019-06-17 18:50:55 +0100
committerAndrey Utkin <andrey_utkin@gentoo.org>2019-06-24 09:27:59 +0100
commit933cc89e4d1f948c99aba8781b156fd27e42ca3a (patch)
tree4879a3ac602e6a013e2fe6a9838133e28327d597 /dev-python/ruamel-yaml
parentdev-python/ruamel-yaml: add new version 0.15.97 (diff)
downloadgentoo-933cc89e4d1f948c99aba8781b156fd27e42ca3a.tar.gz
gentoo-933cc89e4d1f948c99aba8781b156fd27e42ca3a.tar.bz2
gentoo-933cc89e4d1f948c99aba8781b156fd27e42ca3a.zip
dev-python/ruamel-yaml: put test stage functions before install ones
Suggested-by: David Seifert <soap@gentoo.org> Link: https://bugs.gentoo.org/683078#c5 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'dev-python/ruamel-yaml')
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
index 156a753c41eb..88cc2c54a463 100644
--- a/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
@@ -30,11 +30,6 @@ DEPEND="
)
"
-python_install() {
- distutils-r1_python_install --single-version-externally-managed
- find "${ED}" -name '*.pth' -delete || die
-}
-
python_test() {
# This file produced by setup.py breaks finding system-wide installed
# ruamel.std.pathlib due to shared namespace
@@ -42,3 +37,8 @@ python_test() {
py.test -v _test/test_*.py || die
}
+
+python_install() {
+ distutils-r1_python_install --single-version-externally-managed
+ find "${ED}" -name '*.pth' -delete || die
+}