commit: 761e0e4f1f0f8fbe4fbe8be852c78b60e46ec603 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Nov 18 07:56:47 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Nov 28 09:14:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=761e0e4f
dev-python/clang-python: Utilize partial checkout dev-python/clang-python/clang-python-5.0.9999.ebuild | 5 +++++ dev-python/clang-python/clang-python-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-python/clang-python/clang-python-5.0.9999.ebuild b/dev-python/clang-python/clang-python-5.0.9999.ebuild index 3310c5b2e31..6741f963680 100644 --- a/dev-python/clang-python/clang-python-5.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-5.0.9999.ebuild @@ -31,6 +31,11 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}/bindings/python +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' bindings/python +} + src_test() { python_foreach_impl nosetests -v || die } diff --git a/dev-python/clang-python/clang-python-9999.ebuild b/dev-python/clang-python/clang-python-9999.ebuild index 854d44c3f77..d59b5b98bb8 100644 --- a/dev-python/clang-python/clang-python-9999.ebuild +++ b/dev-python/clang-python/clang-python-9999.ebuild @@ -29,6 +29,11 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${P}/bindings/python +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' bindings/python +} + src_test() { python_foreach_impl python -m unittest discover -v || die }