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/pygobject | |
| 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/pygobject')
| -rw-r--r-- | dev-python/pygobject/pygobject-3.34.0.ebuild | 18 | ||||
| -rw-r--r-- | dev-python/pygobject/pygobject-3.36.1.ebuild | 18 |
2 files changed, 26 insertions, 10 deletions
diff --git a/dev-python/pygobject/pygobject-3.34.0.ebuild b/dev-python/pygobject/pygobject-3.34.0.ebuild index b756e4398359..74e55ee33725 100644 --- a/dev-python/pygobject/pygobject-3.34.0.ebuild +++ b/dev-python/pygobject/pygobject-3.34.0.ebuild @@ -27,11 +27,14 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} test? ( - dev-libs/atk[introspection] - dev-python/pytest[${PYTHON_USEDEP}] - x11-libs/gdk-pixbuf:2[introspection,jpeg] - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] ) + $(python_gen_cond_dep ' + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ' -3) + ) " BDEPEND=" virtual/pkgconfig @@ -59,6 +62,11 @@ src_test() { local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 testing() { + if ! python_is_python3; then + einfo "Skipping tests on Python 2 to unblock deps" + return + fi + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" meson_src_test || die "test failed for ${EPYTHON}" } diff --git a/dev-python/pygobject/pygobject-3.36.1.ebuild b/dev-python/pygobject/pygobject-3.36.1.ebuild index 0ce2c4e42eb4..6d67db65b916 100644 --- a/dev-python/pygobject/pygobject-3.36.1.ebuild +++ b/dev-python/pygobject/pygobject-3.36.1.ebuild @@ -27,11 +27,14 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} test? ( - dev-libs/atk[introspection] - dev-python/pytest[${PYTHON_USEDEP}] - x11-libs/gdk-pixbuf:2[introspection,jpeg] - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] ) + $(python_gen_cond_dep ' + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ' -3) + ) " BDEPEND=" virtual/pkgconfig @@ -59,6 +62,11 @@ src_test() { local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 testing() { + if ! python_is_python3; then + einfo "Skipping tests on Python 2 to unblock deps" + return + fi + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" meson_src_test || die "test failed for ${EPYTHON}" } |
