From 65f700428e3ac361d6de13717c33b8142209ae5e Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sun, 20 Dec 2020 02:00:23 -0500 Subject: [PATCH] dev-python/pycairo: Punt USE=doc support. Docs can't be built anymore because of no python2-supporting sphinx in Gentoo repo. Not worth dealing with this problem, rather just remove doc generation. --- dev-python/pycairo/Manifest | 3 +- ...8.2-r1.ebuild => pycairo-1.18.2-r2.ebuild} | 2 - dev-python/pycairo/pycairo-1.18.2.ebuild | 59 ------------------- 3 files changed, 1 insertion(+), 63 deletions(-) rename dev-python/pycairo/{pycairo-1.18.2-r1.ebuild => pycairo-1.18.2-r2.ebuild} (96%) delete mode 100644 dev-python/pycairo/pycairo-1.18.2.ebuild diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index d592ffa..df91dea 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1,5 +1,4 @@ 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-r1.ebuild 1750 BLAKE2B 8c53d49cd8b810c371264bf9bf1eaddf63c3d29880fdc8936512c7f5980780a59b154977f4fc60ac60ff91777acdfbff18b0efd0fe24197362d493db7f232cd7 SHA512 833453edd35bfdef0bf41b4fddc9e55612bfb129288b3eada6989ae121287d0000c247fc428e936067060c6679f566f9091dcc6ed207806e8b488d66244b3532 -EBUILD pycairo-1.18.2.ebuild 1338 BLAKE2B 11805aacbe6c9779dcb6617ea7395e8a6fef2ed86a2fc4085fc5c73f94659405152754fde9aaf94bc2802615a1e1349e8170dbb50f604265bd68b4b1f818599c SHA512 ae1b95e7e12be835fdbed2ecf94a507cfd3df1181b12af3bed72f0644c61bfe465b43aee4ce0820046ef7bf691188eb217eb4933fa9acaa1842fca9603239171 +EBUILD pycairo-1.18.2-r2.ebuild 1690 BLAKE2B 9a5131ad3db9abc34162ededf21b91d6220d27da076e58a61bc3cae4b6f2be79c6ebe5452606f1dd5ab92fbc44e897f908897ab13f4b6d600f4da5b982ecc4f4 SHA512 2648f3ea1df1c918a972ce17c93e55b08d866b1a24f7e328d9a85a35b4bb7bfb7cef8216f33a6c6391fe6719f333e986717461f256b86ceaba8cf44995c4aa2b diff --git a/dev-python/pycairo/pycairo-1.18.2-r1.ebuild b/dev-python/pycairo/pycairo-1.18.2-r2.ebuild similarity index 96% rename from dev-python/pycairo/pycairo-1.18.2-r1.ebuild rename to dev-python/pycairo/pycairo-1.18.2-r2.ebuild index c596011..b775f06 100644 --- a/dev-python/pycairo/pycairo-1.18.2-r1.ebuild +++ b/dev-python/pycairo/pycairo-1.18.2-r2.ebuild @@ -39,8 +39,6 @@ PATCHES=( "$FILESDIR/$PN-1.19.1-py39.patch" ) -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme distutils_enable_tests setup.py python_test() { diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild deleted file mode 100644 index 253c565..0000000 --- a/dev-python/pycairo/pycairo-1.18.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 python3_{6..9} ) -PYTHON_REQ_USE="threads(+)" - -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="0" -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" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ' -3) - ) -" -RDEPEND=" - >=x11-libs/cairo-1.13.1[svg] -" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.19.1-py39.patch" ) - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme -distutils_enable_tests setup.py - -python_test() { - if ! python_is_python3; then - einfo "Skipping tests on Python 2 to unblock deps" - return - fi - - esetup.py test -} - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} -- 2.43.2