mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/pygobject: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pygobject-3.42.2.tar.xz 558724 BLAKE2B 3e98cf52e818eff42beb8b6120ee8eb4cbe3a6f49670d355e1081b71d411bc93fc701cc37108a321cfcc19698c39b8b61cce5a9369d871da58fd2a2c0455fb96 SHA512 eb604f839e0702e8aeff0f19665e44c05c56cae02ce892e9ab8a95ddb0d5d0216182d0c9a0059fc8e05990c0d5707f2f7456d8924bbfb95ce1d9a42908ac0119
|
||||
DIST pygobject-3.43.1.tar.xz 559504 BLAKE2B d8424b34a7945d2ef98bcaff009e5a5555281c187cb8d28cffdcddbec5b16b20619cbb64c3e1ccf23128c4ff4f8187151ca75044977ffb563506085816d886f4 SHA512 e12e53368a94f49daacf24519d9bd65ca11481d6a3059635bebaec43a84d2620fb619c2eac36f7f6b0202a6268b1990f9452355e13b114a4988de18fe30ce66e
|
||||
DIST pygobject-3.44.0.tar.xz 559572 BLAKE2B ff94b38879d5955a3ef1845b5a2c65ec61e058ea54e0a696093c95d68eb39ca131601cdfbc165d120df6fd81404d096b7164941775354a43b878fb1d08e5b973 SHA512 d6b54b85a130e0d23ec41d6e3c2d5ef7a141193f5ae8cadcea939ad37389109f43900debd51d66611699b653e5af5ee8e4c500e08cf3ea16dcdac109e819cd2a
|
||||
DIST pygobject-3.44.1.tar.xz 559432 BLAKE2B 7edfe91ac1b7301befaf8ef17078b517666467f446bfbe25850336cd365d314153d444d29ecf028ce44a12cef1c94f139d110ac6784c8a2c6077730d4836f6cc SHA512 5f2ff4a068e7e24dcc32f8c43ba58660c85a0fabdd9ff0bac4ddf1ca82bd0fc962ce5cb3ab25b991c212d45e5e89dac67c3259c5423a7d7fd70b2ac1f56e5327
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=no
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
|
||||
inherit gnome.org meson virtualx xdg distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for GObject Introspection"
|
||||
HOMEPAGE="https://pygobject.readthedocs.io/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/gobject-introspection-1.56:=
|
||||
dev-libs/libffi:=
|
||||
cairo? (
|
||||
>=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo[glib]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=app-accessibility/at-spi2-core-2.46.0[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"
|
||||
|
||||
python_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature cairo pycairo)
|
||||
$(meson_use test tests)
|
||||
-Dpython="${EPYTHON}"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_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
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use examples && dodoc -r examples
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=no
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
|
||||
inherit gnome.org meson virtualx xdg distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for GObject Introspection"
|
||||
HOMEPAGE="https://pygobject.readthedocs.io/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/gobject-introspection-1.56:=
|
||||
dev-libs/libffi:=
|
||||
cairo? (
|
||||
>=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo[glib]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=app-accessibility/at-spi2-core-2.46.0[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"
|
||||
|
||||
python_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature cairo pycairo)
|
||||
$(meson_use test tests)
|
||||
-Dpython="${EPYTHON}"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_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
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use examples && dodoc -r examples
|
||||
}
|
||||
Reference in New Issue
Block a user