summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-08-08 10:53:11 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-08-08 10:57:11 +0900
commitf406bc2fb432b0e1db46f1a513669abb88a51ce9 (patch)
tree1ecbc10afea519aef9a45fa20c03ac7a975da925 /app-portage
parentmedia-gfx/cura: replace eapply && eapply_user with default (diff)
downloadgentoo-f406bc2fb432b0e1db46f1a513669abb88a51ce9.tar.gz
gentoo-f406bc2fb432b0e1db46f1a513669abb88a51ce9.tar.bz2
gentoo-f406bc2fb432b0e1db46f1a513669abb88a51ce9.zip
app-portage/g-sorcery: Prefix support.
Bug: 589354 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild
index 5d35b251ca65..531f8be39952 100644
--- a/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild
+++ b/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
-inherit distutils-r1
+inherit distutils-r1 prefix
DESCRIPTION="framework for ebuild generators"
HOMEPAGE="https://github.com/jauhien/g-sorcery"
@@ -23,6 +23,11 @@ DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
RDEPEND="${DEPEND}"
PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
+src_prepare() {
+ hprefixify setup.py
+ default
+}
+
python_test() {
PYTHONPATH="." "${PYTHON}" scripts/run_tests.py
}