diff options
Diffstat (limited to 'dev-python/pygobject')
-rw-r--r-- | dev-python/pygobject/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.28.6-r55.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-3.32.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-3.34.0.ebuild | 75 |
4 files changed, 81 insertions, 4 deletions
diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 23050d67dcc4..9663cf21e4f3 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -8,6 +8,8 @@ AUX pygobject-2.28.6-set_qdata.patch 847 BLAKE2B 696aa6c48ee900db738f8a92265a625 AUX pygobject-2.28.6-tests-no-introspection.patch 1257 BLAKE2B 7ff0587b4b40a1519927f8837b5487847ad0d0aa25f57dbaa4b10eaed2eff79f52d6581ca29f1688ebdbe71db231aba56de06c3aa8b246fdd1799320d9a15cc3 SHA512 7d57cb9bbd0b16f4fb0ed9d5eca310c47daf86b89daefa41fb0cf5dd470a6f6a31d0dad31dd261332c039d39bd778f9de8de7260c5856f1b718f72b9aabc01b4 DIST pygobject-2.28.6.tar.xz 747248 BLAKE2B 5f92794034b2d0559a623db4a7d273a7dc3f099cae87ede91b17e81acac085a9298c6b81b45b4b8540b6a75ced97e474a993437dbfcfc2133d3321d6a979b541 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c DIST pygobject-3.32.1.tar.xz 551708 BLAKE2B ba7c34e4747d6a11424a23195f71877ecbd69b463b3c8aae7634a320cc8ec723e24301c0674b9ffbfdcb6d798fddddb5b772a723afc7ac28c23461e84cf7485a SHA512 5b325d0caf4f34f783fc2c664a795809f048eb1639d2f2e375fc147c852d6e29a8ab119438cac76786fb20220c72d5859cc06d6f70c29f976f6a5914e0169915 -EBUILD pygobject-2.28.6-r55.ebuild 3541 BLAKE2B d6d227ec9cf7d2797de5986fdf88ce2311dea6412abb0b67390f387aeaad6179a4c0d4c81d29b83204e668ea7f7432cdc20627c55179b341a56697b0d1bea6dd SHA512 cc3f51e95721b0d7d6b9f188dc6f648e6f325037f2eb902c563be92a88aafc3a73d493e566020e59bca979f5468cf3ba177bc0a4ef66dda58497830259efa9f8 -EBUILD pygobject-3.32.1.ebuild 1775 BLAKE2B 32c55680370a5789a73cd3cec4008e890f11c71cd9452bad8cb63da1a1187722490116d98942e08bc36c0f46c1b34206b9b8d9443eda9a6ec54d3330d7aa4127 SHA512 fd8e8fe1f8b0ae21d286eb61d9d1802422c656e5f340714770f1e9be2549527a1f42bd95bbfb4493dcffbeccb4e00bc55781429f9e9f82e17230a703991e5dd0 +DIST pygobject-3.34.0.tar.xz 552268 BLAKE2B a9cbeb644e0aa1b23067b591fe5c6299741395656631d39782a8c183a5d3a8e5e7f1a81acdefee186b7cc2bc34dda9271468b1828d5b9613ddc1256e24f1ecb8 SHA512 782195d22e564b88dea8d43469f0111f398b44b51a63df2fe7d07650af94d5cd037f322a5d7e405338823be3419fcdbf0113fe50b220ab1cfd07d4d01dbc4766 +EBUILD pygobject-2.28.6-r55.ebuild 3542 BLAKE2B 534eafe4cbd21c550b60ffac41dd01a155b504cd33afb0bcf31052c9b113ec5583780c0b979618940aaec715540345a761e6522e061a0cf0493ef666a6e7a7e1 SHA512 d61bd1ae6bf86a53831a5f795370e6adc8c6276cb050bcc6247b953d622636df5cff512a92ae850d3ac4753d139eaee771020cb664fc51483f32d2a934978159 +EBUILD pygobject-3.32.1.ebuild 1776 BLAKE2B 56469675d852c953f726b4f2a449f710eb4459536c1148c55b142b6e4cae37fd74da75eb24b0608c42b684fb0ee9a7d4eabb6c34cc18e23db3ab6474677235bd SHA512 c282e29f7a24e563c0b2fe6580762c663782cbb137bd665c457bf8096b5d1492031bdd8dc377ca20d3c98dc558060f4584ace8e55a56c2d6e54be955e11133e7 +EBUILD pygobject-3.34.0.ebuild 1778 BLAKE2B 89ec5e3f8d2fc869554998d5e89889ad58e61c43b78907c5ab07d472d371aaf1bb698a443e3685210c57d6823eeb3dc02f12b3db68bda4aa306f8a673c23616f SHA512 ff4202b2d9eb30f3cee9433a0f25e379a64cb0570eac0b29121dd9406927c5b745fe70cdfdb077ac1437d8dec1645276b285e569c90e9127756fef1d77905e87 MISC metadata.xml 1220 BLAKE2B 4f2d4f1091eef503e2ca7457418888071d70509e346ded7c5e77839c8e5e6dd1c27957e6645a7f32bc7ba0810aff8a55874e7225f7a9e7674e4c1bfccee2ce1d SHA512 991d11e7aba9fc7d6ccd6971a150d50ebcd397968a9a2c2c901093f598acfa70eb8719a3a590c10433147fde97603012862fe1fc613f766ccaa2a159705a6ae6 diff --git a/dev-python/pygobject/pygobject-2.28.6-r55.ebuild b/dev-python/pygobject/pygobject-2.28.6-r55.ebuild index b816713167bf..35c389e27290 100644 --- a/dev-python/pygobject/pygobject-2.28.6-r55.ebuild +++ b/dev-python/pygobject/pygobject-2.28.6-r55.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="http://www.pygtk.org/" LICENSE="LGPL-2.1+" SLOT="2" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="examples libffi test" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/pygobject/pygobject-3.32.1.ebuild b/dev-python/pygobject/pygobject-3.32.1.ebuild index 9dc9cab0b0bb..e146b2002947 100644 --- a/dev-python/pygobject/pygobject-3.32.1.ebuild +++ b/dev-python/pygobject/pygobject-3.32.1.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" LICENSE="LGPL-2.1+" SLOT="3" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="+cairo examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/pygobject/pygobject-3.34.0.ebuild b/dev-python/pygobject/pygobject-3.34.0.ebuild new file mode 100644 index 000000000000..ddac6151afb8 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.34.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit gnome.org meson python-r1 virtualx xdg + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://pygobject.readthedocs.io/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.48:2 + >=dev-libs/gobject-introspection-1.54:= + virtual/libffi:= + cairo? ( + >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] + x11-libs/cairo[glib] ) +" +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] ) +" +BDEPEND=" + virtual/pkgconfig +" + +RESTRICT="!test? ( test )" + +src_configure() { + configuring() { + meson_src_configure \ + $(meson_use cairo pycairo) \ + $(meson_use test tests) \ + -Dpython="${EPYTHON}" + } + + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + + testing() { + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test || die "test failed for ${EPYTHON}" + } + virtx python_foreach_impl testing +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing + use examples && dodoc -r examples +} |