diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-20 18:26:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-20 18:26:39 +0000 |
| commit | 8dfa4160bd746ed1e0f70310531606e4a33484ea (patch) | |
| tree | ceae711c5023203ed35799a8810d68f6b534fadc /dev-python/pycairo | |
| parent | 2ac6366d92f666627bfef883713e84f652192f4f (diff) | |
| download | baldeagleos-repo-8dfa4160bd746ed1e0f70310531606e4a33484ea.tar.gz baldeagleos-repo-8dfa4160bd746ed1e0f70310531606e4a33484ea.tar.xz baldeagleos-repo-8dfa4160bd746ed1e0f70310531606e4a33484ea.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pycairo')
| -rw-r--r-- | dev-python/pycairo/pycairo-1.18.2.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild index 7698579d3626..2344fcf4ec0a 100644 --- a/dev-python/pycairo/pycairo-1.18.2.ebuild +++ b/dev-python/pycairo/pycairo-1.18.2.ebuild @@ -19,8 +19,10 @@ IUSE="examples" BDEPEND=" test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ' -3) ) " RDEPEND=" @@ -34,6 +36,15 @@ distutils_enable_sphinx docs \ dev-python/sphinx_rtd_theme distutils_enable_tests setup.py +python_test() { + if ! python_is_python3; then + einfo "Skipping tests on Python 2 to unblock deps" + return + fi + + esetup.py test +} + python_install() { distutils-r1_python_install \ install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" |
