From 8dfa4160bd746ed1e0f70310531606e4a33484ea Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Sun, 20 Sep 2020 18:26:39 +0000 Subject: Updating liguros repo --- dev-python/pygobject/pygobject-3.34.0.ebuild | 18 +++++++++++++----- dev-python/pygobject/pygobject-3.36.1.ebuild | 18 +++++++++++++----- 2 files changed, 26 insertions(+), 10 deletions(-) (limited to 'dev-python/pygobject') 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}" } -- cgit v1.3