AUX pycairo-1.18.2-no-setuptools.patch 390 BLAKE2B 2e96d663534447de9aadd2a688dd6277a35ff2f9f3ea3f8a9bd060d4fffca36c565ac0ba4dff2b1fe470ac55cace671b7875a387d85fcaf307a289727f922190 SHA512 31775030b33a756a5075b793f5a4b6c3998f42b6a98f612aa991a2c8ed72263363aaf2dcf43bbd2357adb8897f372e3cd88526fe1b14f3ed645cde53386127f0
AUX pycairo-1.19.1-py39.patch 890 BLAKE2B 8ee84005e17fd485f568213e751dd30bcb904806d4016088d0c6882958ce7edeba2517f3ab4b8139a8f923e3baec435bc9a21cf3546b60f4459c5cc9ad7a54d6 SHA512 607d6f2cf6bcaec394b755f452d3c4bc0f6edb39bea185a18258c1ee0db11a99d84c7605dbe9db83906518d41baf065b2b8d9261db3736f8a737a2a8f7dff266
DIST pycairo-1.18.2.tar.gz 200462 BLAKE2B 1f755dc90fe3ee50aa68273a0816752312f144831ff857709e1a4695a58646ffe6be518733480ed37231c213a11d4e5aaf8dfd1cfa68104873bc7d4192435b89 SHA512 279ea80413ba55d493d51455685da09afa1f5c45e2930c3fca3e417a8afe6645a0d8131201f79482de59e5ec56cfef62eac65ed88fe88866bfcc06503dcc59e0
-EBUILD pycairo-1.18.2-r4.ebuild 2139 BLAKE2B 6b8f628e7a9a7365e422bc41a31f6549573da69a74f7d518ef94d1403b7d139133120495fd434d56d92bfcf611f6bea7a302040bb4e3e2346625d1d172b30cb1 SHA512 be4f76c1143c4558dafd5008c6930dd3d9018287c12b3ca21d00f4a662a264cdb4890b46456af74716da1555b962a6f0eddfa663bf78ed1b4740abfbc16df0f7
+EBUILD pycairo-1.18.2-r5.ebuild 1682 BLAKE2B 59a0c23da0ec07272173b1b19b89400738eaf2374b50130a03846e311cd47200094f0fbdd14d76ebd6e5b2fb21d9cfaff283ff1f5d89a1976d6b7de163291e01 SHA512 7d26fc5e17f0fdb2b205ddcd6db4819cd05e150a8e61ee0ff0871fecdac7a6ced4d4428e072155ffb5ea587919d860d3385ca513a82e3dd3224f7c2a6aa29643
#
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+#
+# The modifications are:
+#
+# * Resurrect python2 version installable alongside newer version (2020-11)
+# * Avoid python eclasses as there is no more python2 support (2022-12)
EAPI=7
-_PYTHON_ALLOW_PY27=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="threads(+)"
-DISTUTILS_OPTIONAL=yes
-
-inherit distutils-r1
-
DESCRIPTION="Python bindings for the cairo library"
HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo"
SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="2"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="examples +python_targets_python2_7"
+IUSE="examples"
# Strong block on old pycairo w/ python2 support because the merge will
# otherwise not work properly due to replacing a directory with a file.
DEPEND=">=x11-libs/cairo-1.13.1[svg]
!!dev-python/pycairo:0[python_targets_python2_7]"
RDEPEND="$DEPEND
- dev-lang/python:2.7"
+ dev-lang/python:2.7[threads(+)]"
BDEPEND="dev-lang/python:2.7"
-REQUIRED_USE=$PYTHON_REQUIRED_USE
-
PATCHES=(
"$FILESDIR/$P-no-setuptools.patch"
"$FILESDIR/$PN-1.19.1-py39.patch"
)
-distutils_enable_tests setup.py
-
-src_prepare () { default; distutils-r1_src_prepare; }
-
-python_compile () {
- _distutils-r1_copy_egg_info
- esetup.py build "$@"
+src_compile () {
+ python2.7 setup.py build || die
}
-src_configure () { distutils-r1_src_configure; }
-src_compile () { distutils-r1_src_compile; }
-src_test () { distutils-r1_src_test; }
-src_install () { distutils-r1_src_install; }
-
-python_test() {
- einfo "Skipping tests on Python 2 to unblock deps"
-}
-
-python_install() {
- distutils-r1_python_install \
- install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
-}
+src_install () {
+ default
-python_install_all() {
if use examples; then
dodoc -r examples
fi
- distutils-r1_python_install_all
+ python2.7 setup.py install --skip-build --root="$D" || die
}
AUX pygobject-2.28.6-set_qdata.patch 847 BLAKE2B 696aa6c48ee900db738f8a92265a625a3ab7b59afece84157bf0b9abd0aca5ae68b7ac8cc627a47a5b1a688029d592abcc38e403543a4144e055bcdac68285e4 SHA512 19025af51a8387061276ec9d6c8eb0ecadb5124bba2c4ab3755ab653df467896d19c366d80ce9313fd46e43b493b7c536f780014cf18a6ac47f4b1d2ad4bedb4
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
-EBUILD pygobject-2.28.6-r58.ebuild 3189 BLAKE2B 8b5b3d4927d17f69011236b6da32f162c94ec7a20840e5feb1bd241c4cb73ac9296dadfbdebbfac4d21d4b3d5b10a4143bd7f55236ef45ee1bc81befd70a63ee SHA512 312db297d7f1d0634d61888c42cf46633b3fe2b909fc3673efd0897ced92eae5cec7cf0f6e19b0e3adab27f3788173ac94cbe59d85f2a6b811a936c844cea313
+EBUILD pygobject-2.28.6-r59.ebuild 3047 BLAKE2B 9971f1a4da79749d123e09da659da9260ca472f2d154f86dba97b613eb55d2488c7f7a7e1f93f99b5aeee044b6e3b08ff7ed65887af2616ab7ea1f045f7c2eb4 SHA512 595db674cbe4f5347c254016df7704d11153283757fbfff55e8812b89abc543db81fb332fed26957b57b7700e88c74d994cc34af2b43ee678e1035ea52c3173c
-# Copyright © 2020-2021 Nick Bowler
+# Copyright © 2020-2022 Nick Bowler
#
# License GPLv2+: GNU General Public License version 2 or any later version.
# This is free software: you are free to change and redistribute it.
#
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+#
+# The modifications are:
+#
+# * Resurrect python2 version installable alongside newer version (2020-11)
+# * Avoid python eclasses as there is no more python2 support (2022-12)
EAPI=7
GNOME2_LA_PUNT=yes
GNOME2_EAUTORECONF=yes
-_PYTHON_ALLOW_PY27=1
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools eutils gnome2 python-r1 virtualx
+inherit autotools eutils virtualx gnome2
DESCRIPTION="GLib's GObject library bindings for Python 2"
HOMEPAGE="http://www.pygtk.org/"
LICENSE="LGPL-2.1+"
SLOT="2"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples libffi test +python_targets_python2_7"
-RESTRICT="!test? ( test )"
-REQUIRED_USE=$PYTHON_REQUIRED_USE
+IUSE="examples libffi test"
+
+# Tests seem to require network access which can't work.
+RESTRICT="test"
BDEPEND="virtual/pkgconfig
dev-util/gtk-doc-am"
configure.ac || die
gnome2_src_prepare
-
- python_copy_sources
}
src_configure() {
--disable-introspection
--disable-cairo
$(use_with libffi ffi)
+ PYTHON=python2.7
)
- python_foreach_impl run_in_build_dir gnome2_src_configure "${myconf[@]}"
-}
-
-src_compile() {
- python_foreach_impl run_in_build_dir gnome2_src_compile
+ gnome2_src_configure "${myconf[@]}"
}
# FIXME: With python multiple ABI support, tests return 1 even when they pass
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
+ export XDG_CACHE_HOME="${T}/${EPYTHON}"
+
+ virtx emake -j1 check
- testing() {
- export XDG_CACHE_HOME="${T}/${EPYTHON}"
- run_in_build_dir Xemake -j1 check
- unset XDG_CACHE_HOME
- }
- python_foreach_impl testing
- unset GIO_USE_VFS
+ unset XDG_CACHE_HOME GIO_USE_VFS
}
src_install() {
- python_foreach_impl run_in_build_dir gnome2_src_install
+ gnome2_src_install
if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
+ dodoc -r examples
fi
}
AUX pygtk-2.24.0-test-fail.patch 252 BLAKE2B 9d808e50d9e64f481cd8d83e4693a60f472d4cf75b3d356c49d73056939b25d48842a1a64becbb17220ac74adb466deec0d1a42081144c7f853a5f5d1c7fddfa SHA512 22965a5ccc14ba842551ca07ca31d3a26f246354e35a7a24f66c34ace41fa1ee51a46ab404a103a8824957d5a197469ff6762eb829e236269420ba1842cb351b
AUX pygtk-2.24.0-test_dialog.patch 961 BLAKE2B 035021b5a4a94e487f8e4fdd69b83e54d2baea1891ce1bf8378e7375749de4a45477acdfe2a07e259d907bb182c2951bb512e7ded0ffdeed138ab4fce81f81b7 SHA512 13254063895412641b51cb536892f2c4b9bb76ac1ffa92f8d82fa20b80f5c7748392a968315af3731def20392de917a0ae2b4ac0607cee9e2f38911283d33ca9
DIST pygtk-2.24.0.tar.bz2 2361097 BLAKE2B 35b8ad94f242dcfb5d0593762eaa5480928e63bfbf8d030dd199200daa1dd6fd1769c878517cbb56e3beeaeecedb554b06b04cc35f9b2eefd2d8ec4381daf707 SHA512 64f4344fcf7636e0b2016ffd5310250b5c02a1bf87e44aef39b5d4cf4a5fc50d27cb4f030d4c6802cff61fffb88dee7752821e3d8a4cd1c34dc3745d9ff2f0da
-EBUILD pygtk-2.24.0-r7.ebuild 3180 BLAKE2B f16cd0f83bc8105b6b184e491332920b673801687809fc6b89052ad3a16de27280a19268e84da3536a075f1165904c95816ca26153bd1960e58459e4d3efcb2a SHA512 caacf72817028094a37ac4401e1abaabd2f65db0dc14d2be736bede4bb163b9ae5186a3de9e65f9784ffc8f1e4e5099346b5a749cb61b83968f8c0f876a43db0
+EBUILD pygtk-2.24.0-r8.ebuild 2902 BLAKE2B 0528958d1fe1ce4235607569e8c515755848f264f5b8787af4dbdde43231884709805449b0db3799c77a7c81f2f8234cd335ac7724f6c49fe4db0c016f92ec03 SHA512 ba340123b039c74c401b18098da9a60fd8f95205dafb9ae42ed17f918b1ad8fc856dceac0aafba5454601f91e94a379ca80dcd7421d64ff677981f7a425faa7e
#
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+#
+# The modifications are:
+#
+# * Resurrect python2 version (2020-11)
+# * Avoid python eclasses as there is no more python2 support (2022-12)
EAPI=7
GNOME_TARBALL_SUFFIX="bz2"
-_PYTHON_ALLOW_PY27=1
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools flag-o-matic gnome2 python-r1 virtualx
+inherit autotools flag-o-matic virtualx gnome2
DESCRIPTION="GTK+2 bindings for Python"
HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc examples test +python_targets_python2_7"
-REQUIRED_USE=$PYTHON_REQUIRED_USE
+IUSE="doc examples test"
RESTRICT="!test? ( test )"
>=x11-libs/pango-1.16
>=dev-libs/atk-1.12
>=x11-libs/gtk+-2.24:2
- >=dev-python/pycairo-1.0.2:2[$PYTHON_USEDEP]
- >=dev-python/pygobject-2.26.8-r53:2[$PYTHON_USEDEP]
+ >=dev-python/pycairo-1.0.2:2[python_targets_python2_7(+)]
+ >=dev-python/pygobject-2.26.8-r53:2[python_targets_python2_7(+)]
>=gnome-base/libglade-2.5:2.0"
RDEPEND="$DEPEND
dev-lang/python:2.7"
-i configure.ac || die #466968
AT_M4DIR="m4" eautoreconf
-
- prepare_pygtk() {
- mkdir -p "${BUILD_DIR}" || die
- }
- python_foreach_impl prepare_pygtk
}
src_configure() {
use hppa && append-flags -ffunction-sections
- configure_pygtk() {
- ECONF_SOURCE="${S}" gnome2_src_configure \
- $(use_enable doc docs) \
- --disable-numpy \
- --with-glade \
- --enable-thread
- }
- python_foreach_impl run_in_build_dir configure_pygtk
-}
-
-src_compile() {
- python_foreach_impl run_in_build_dir gnome2_src_compile
+ myconf=(
+ $(use_enable doc docs)
+ --disable-numpy
+ --with-glade
+ --enable-thread
+ PYTHON=python2.7
+ )
+
+ gnome2_src_configure "${myconf[@]}"
}
src_test() {
gnome2_environment_reset
unset DBUS_SESSION_BUS_ADDRESS
- testing() {
- cd tests
- virtx emake check-local
- }
- python_foreach_impl run_in_build_dir testing
+ cd tests && virtx emake check-local
}
src_install() {
dodoc -r examples
fi
- python_foreach_impl run_in_build_dir gnome2_src_install
+ gnome2_src_install
find "${D}" -name '*.la' -type f -delete || die
}
+++ /dev/null
-DIST gimp-resynthesizer-2.0.3.tar.gz 11097693 BLAKE2B 51e064ed1a5d31dc3162a27b76c8b68d7652e3efdf2acad1844f4c76b47a6485b4e43788993c344a7154cddd8d2ac1ebda7c24f871ea8d6af332b1f15759f396 SHA512 de18fa41f5c3feaeff3365cc57b49f404f20439c6f84b212bc5cc76ee21f34566b8d093bebef1e6f27dbe3df6a23570dc091d23044a0967957ec0e97a16fa7c4
-EBUILD gimp-resynthesizer-2.0.3-r6.ebuild 1130 BLAKE2B 19ed67c2599ffcb42dc040905a6c62f541c411a40f519eb537acd86c803512120b5c88dc89fa5e56792043d30c1442b9863591d70bf269d36ffe5f0bd81dea00 SHA512 2f0b0a8f77086769ef5958f1e3cc251c6eaebd2b72f26e384bfdbd9ff2af4c5c493c4044cf2cb904fef6ce4473823d7c5b6a75591fb6ea0d4dcb12ab2e577ff0
-MISC metadata.xml 651 BLAKE2B fce88379f37caa26affce3b55ab152952ab8ca7578b5f2cc19daf93228ec11211c32e278b194c2f9d55ed330c4de94abfdfdf0b99f2612bb85e1bf5187f431f9 SHA512 ee4c49df50d6e834d27093eaf2c6639749b625402003fd3a2575ad514a73cb0e71a3a0d8dbed807660ad0011a4fa6fac7c5d7e0899bcd137cc43749197f93501
+++ /dev/null
-# Copyright © 2020-2021 Nick Bowler
-#
-# License GPLv2+: GNU General Public License version 2 or any later version.
-# This is free software: you are free to change and redistribute it.
-# There is NO WARRANTY, to the extent permitted by law.
-#
-# This is a modified version of the original ebuild from Gentoo GNU/Linux,
-# covered by the following copyright and permission notice:
-#
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-_PYTHON_ALLOW_PY27=1
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools python-single-r1
-
-MY_PN=${PN#gimp-}
-MY_P=$MY_PN-$PV
-
-DESCRIPTION="Suite of GIMP plugins for texture synthesis"
-HOMEPAGE="https://github.com/bootchk/resynthesizer"
-SRC_URI="https://github.com/bootchk/$MY_PN/archive/v$PV.tar.gz -> $P.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="|| (
- media-plugins/gimp-python[$PYTHON_SINGLE_USEDEP]
- media-gfx/gimp[python(-),$PYTHON_SINGLE_USEDEP] )"
-RDEPEND="$DEPEND
- dev-lang/python:2.7"
-REQUIRED_USE=$PYTHON_REQUIRED_USE
-
-S=$WORKDIR/$MY_P
-
-src_prepare() {
- default
- eautoreconf
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <longdescription lang="en">
- This is a suite of GIMP plugins known as the 'Resynthesizer'.
- The most commonly used is 'Heal selection' but all use the plugin
- whose full interface is found at 'Filters>Map>Resynthesize.'
- </longdescription>
- <upstream>
- <maintainer status="active">
- <email>bootch@nc.rr.com</email>
- <name>Lloyd Konneker</name>
- </maintainer>
- <remote-id type="github">bootchk/resynthesizer</remote-id>
- <bugs-to>https://github.com/bootchk/resynthesizer/issues</bugs-to>
- </upstream>
-</pkgmetadata>