diff options
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r-- | dev-python/pycairo/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch | 71 | ||||
-rw-r--r-- | dev-python/pycairo/pycairo-1.16.3-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-python/pycairo/pycairo-1.17.0-r1.ebuild | 57 | ||||
-rw-r--r-- | dev-python/pycairo/pycairo-1.18.1.ebuild | 55 |
5 files changed, 0 insertions, 238 deletions
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 423c523fe413..9c67a4be0b51 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1,10 +1,3 @@ -AUX pycairo-1.17.0-pkgconfigdir.patch 2465 BLAKE2B ea288bb36d4096586d2384b3d25b95fc02747e0780c773bde768832893fbe7c87476ab57fa342d6ec15ff06c6cf123cad1b1e6461c79aa3e1c86369f5b96fc13 SHA512 716e55df7416f8bb6cf73e3576fac5a9967667019b05ae9dd13e4c9edacf9c07d1e29b6e67ac8bb158171d8d2d82d02a61f3d8fb77c3c1a28e288de1f352d163 -DIST pycairo-1.16.3.tar.gz 188610 BLAKE2B 71034891bae636e23379a3fdc49c9163cff61183fe46c4027bbad3206e72255e60081dbc3cb02808d5c3840b618f6c12f8106ca5a08ddb226a65917ba2da390c SHA512 d60978f85eb0430f2038b0e7d0bce23602e8c180a7611eea424fd8bc3cdd8ce249af364abd0e77ab3b7ab439761721cba5c2398f51af2a89add3fb7fda8aa5db -DIST pycairo-1.17.0.tar.gz 192182 BLAKE2B b7a4db8258b03b89878fca6b5e27bb9037b74b1792ded23edfe38a0aa5e9ba5003bbac2c8623a6ace8033960c3199b307dcb689650e21ba2df0d81a36a71b6cf SHA512 c073f04d92c9a577f7dcea8d46335751ebd896a65e682e99e4453877d8ba2cadad4437f4ceb1ce8c05eb87d5757a2bd78ac2549e63e38720f4c9276e6f70bdd5 -DIST pycairo-1.18.1.tar.gz 200610 BLAKE2B 47e707f3481d816e9fcd72d169d7ab9210f746396a45a6c9cdac946b4dca9529515ebe1a288d985eed659ff23488bec2cf3e0fb8d11c160349530871ed05881f SHA512 fef6b0d863d45a182a1ba671ddc4f6cb15745447cdaed3e1efeb05fad97f02aa0a56698517648a942bde263d74e06ad7781bcf487757aeb3b124ef64dc525024 DIST pycairo-1.18.2.tar.gz 200462 BLAKE2B 1f755dc90fe3ee50aa68273a0816752312f144831ff857709e1a4695a58646ffe6be518733480ed37231c213a11d4e5aaf8dfd1cfa68104873bc7d4192435b89 SHA512 279ea80413ba55d493d51455685da09afa1f5c45e2930c3fca3e417a8afe6645a0d8131201f79482de59e5ec56cfef62eac65ed88fe88866bfcc06503dcc59e0 -EBUILD pycairo-1.16.3-r1.ebuild 1088 BLAKE2B 5a49cd65ed9498006d35d95da1b0b11fa103ae6d6dce76b6a98432688e71c949cb716329ca0b518a39966232be62f79ae75cf5067b97ef61c4b42300071c0b85 SHA512 09a27fdb5023c0c9c22412db6f5ba4c1a67c6e283e477858e29083957b32b167970ed9273b82fa91a7d82b5a722cf316aa287dfe88f3d241fdf608fd022fb176 -EBUILD pycairo-1.17.0-r1.ebuild 1282 BLAKE2B 43bc3ce2a4a2f778de08a5402e652631646e924702f667ec934a6c1d9865b34a6ce64c3765da5fd24a5d6d80d834be9639dfbf8b846d2df1e0503368c88cff21 SHA512 9258c2f1c6230f572ca801f0231e1787a03fd3009b25ba877c19c410bf141d6a65062b707d1f11b67b11d50ae3a1914c234b68a71d80f1de8c135b311ed9c308 -EBUILD pycairo-1.18.1.ebuild 1274 BLAKE2B 242e5ab2d3d0a0fd73ccdca6555062c062af8ebde0e5595ac85a7300a78066e85035702b37cffe139ce5c93193e4b164d7c5365f9df616dc0cc9ffb0002e86f5 SHA512 5f8693df36a504cd006efd1442d3a0c8dd940f5164a52b4441f4e08ebef5e5a1de0dee604423ec62fe44ea0a1a9bf2d9de70fcd007ebb9c6494cde347ffb7c82 EBUILD pycairo-1.18.2.ebuild 1417 BLAKE2B 3b1687a28ad16c06eea5b88f409231aca22bbf1335dc4de5b2dd382e4bd088b9cacbc3f036f310f1280ece8e0098727190d44f9bc23b47a3c0d90c0fcbd2273e SHA512 0f0f60e5797d3c61eccf86c43299f3057a929843f7ad84a565ceb350ad6a1870bc82378e70a3cb97d5abacfb3ec5e4ae13f681338715b24fb955d7b6e4ed2c5b MISC metadata.xml 246 BLAKE2B 3a28b3bb42a0352827a446ea608867a7782fe682458527ef441a528a22c9f951dc203639934a69ffb520f63aadce3037df28bf8c5304b3a5921b336142f9f246 SHA512 3245fb694492b2f698fb63aac02e66fb8a94fe35eabda45df4790bec043a1ea552e112315334001902f070093bb73e7b741aa3004757404aed97ebdb86cc9fbc diff --git a/dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch b/dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch deleted file mode 100644 index d4d75a172d63..000000000000 --- a/dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 430c6ffb65cd839be5ba6266a89f645afa8f9442 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 14 Oct 2018 12:30:56 +0200 -Subject: [PATCH] setup.py: Support specifying custom --pkgconfigdir - -Support overriding --pkgconfigdir for whenever the autodetection -gives incorrect result (e.g. PyPy). Fixes #119. ---- - setup.py | 21 ++++++++++++++++++--- - 1 file changed, 18 insertions(+), 3 deletions(-) - -diff --git a/setup.py b/setup.py -index 36641d9..75c8888 100755 ---- a/setup.py -+++ b/setup.py -@@ -14,6 +14,7 @@ except ImportError: - from distutils.core import Extension, Command, Distribution - from distutils.ccompiler import new_compiler - from distutils.sysconfig import customize_compiler -+from distutils.util import change_root - from distutils import log - from distutils import sysconfig - -@@ -265,11 +266,15 @@ class test_cmd(Command): - - class install_pkgconfig(Command): - description = "install .pc file" -- user_options = [] -+ user_options = [ -+ ('pkgconfigdir=', None, 'pkg-config file install directory'), -+ ] - - def initialize_options(self): -+ self.root = None - self.install_base = None - self.install_data = None -+ self.pkgconfigdir = None - self.compiler_type = None - self.outfiles = [] - -@@ -280,6 +285,11 @@ class install_pkgconfig(Command): - ('install_data', 'install_data'), - ) - -+ self.set_undefined_options( -+ 'install', -+ ('root', 'root'), -+ ) -+ - self.set_undefined_options( - 'build_ext', - ('compiler_type', 'compiler_type'), -@@ -315,8 +325,13 @@ class install_pkgconfig(Command): - "Skipping install_pkgconfig, not supported with MSVC") - return - -- python_lib = sysconfig.get_python_lib(True, True, self.install_data) -- pkgconfig_dir = os.path.join(os.path.dirname(python_lib), 'pkgconfig') -+ if self.pkgconfigdir is None: -+ python_lib = sysconfig.get_python_lib(True, True, -+ self.install_data) -+ pkgconfig_dir = os.path.join(os.path.dirname(python_lib), -+ 'pkgconfig') -+ else: -+ pkgconfig_dir = change_root(self.root, self.pkgconfigdir) - self.mkpath(pkgconfig_dir) - - pcname = "py3cairo.pc" if sys.version_info[0] == 3 else "pycairo.pc" --- -2.19.1 - diff --git a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild deleted file mode 100644 index 2393563f129f..000000000000 --- a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) -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 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=x11-libs/cairo-1.13.1[svg] -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -python_compile_all() { - use doc && emake -C docs -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/. ) - - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild deleted file mode 100644 index de5dc8be4ae4..000000000000 --- a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) -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 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=x11-libs/cairo-1.13.1[svg] -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/pycairo-1.17.0-pkgconfigdir.patch -) - -python_compile_all() { - use doc && emake -C docs -} - -python_test() { - esetup.py test -} - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/. ) - - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pycairo/pycairo-1.18.1.ebuild b/dev-python/pycairo/pycairo-1.18.1.ebuild deleted file mode 100644 index ea83bd345307..000000000000 --- a/dev-python/pycairo/pycairo-1.18.1.ebuild +++ /dev/null @@ -1,55 +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,7} pypy3 ) -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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=x11-libs/cairo-1.13.1[svg] -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -python_compile_all() { - if use doc; then - sphinx-build docs -b html _build/html || die - fi -} - -python_test() { - esetup.py test -} - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - use doc && local HTML_DOCS=( _build/html/. ) - - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} |