diff options
Diffstat (limited to 'dev-python/pycairo-python2')
| -rw-r--r-- | dev-python/pycairo-python2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycairo-python2/files/pycairo-1.19.1-py39.patch | 26 | ||||
| -rw-r--r-- | dev-python/pycairo-python2/metadata.xml | 8 | ||||
| -rw-r--r-- | dev-python/pycairo-python2/pycairo-python2-1.18.2-r1.ebuild | 46 |
4 files changed, 0 insertions, 81 deletions
diff --git a/dev-python/pycairo-python2/Manifest b/dev-python/pycairo-python2/Manifest deleted file mode 100644 index 131b894f4cab..000000000000 --- a/dev-python/pycairo-python2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pycairo-1.18.2.tar.gz 200462 BLAKE2B 1f755dc90fe3ee50aa68273a0816752312f144831ff857709e1a4695a58646ffe6be518733480ed37231c213a11d4e5aaf8dfd1cfa68104873bc7d4192435b89 SHA512 279ea80413ba55d493d51455685da09afa1f5c45e2930c3fca3e417a8afe6645a0d8131201f79482de59e5ec56cfef62eac65ed88fe88866bfcc06503dcc59e0 diff --git a/dev-python/pycairo-python2/files/pycairo-1.19.1-py39.patch b/dev-python/pycairo-python2/files/pycairo-1.19.1-py39.patch deleted file mode 100644 index 97b20227ce8b..000000000000 --- a/dev-python/pycairo-python2/files/pycairo-1.19.1-py39.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3ecf0a4060d6de3b92a77a393ece663455cf6add Mon Sep 17 00:00:00 2001 -From: Christoph Reiter <reiter.christoph@gmail.com> -Date: Sun, 10 May 2020 11:22:40 +0200 -Subject: [PATCH] tests: Fix syntax issue with Python 3.9 - -https://bugs.python.org/issue40246 - -I haven't actually tested with 3.9 yet, so this is just what I found -with grep. ---- - tests/test_enums.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_enums.py b/tests/test_enums.py -index 4bc2e3d..02756d0 100644 ---- a/tests/test_enums.py -+++ b/tests/test_enums.py -@@ -79,7 +79,7 @@ def get_prefix(t): - # special case.. - if name == "PathDataType": - name = "Path" -- return"_".join([s.upper() for s in re.findall('[A-Z][^A-Z]*', name)]) -+ return "_".join([s.upper() for s in re.findall('[A-Z][^A-Z]*', name)]) - - for t in types_: - for name in dir(t): diff --git a/dev-python/pycairo-python2/metadata.xml b/dev-python/pycairo-python2/metadata.xml deleted file mode 100644 index 738be6193a4f..000000000000 --- a/dev-python/pycairo-python2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <herd>maintainer-wanted</herd> - </maintainer> - <origin>calculatelinux-overlay</origin> -</pkgmetadata> diff --git a/dev-python/pycairo-python2/pycairo-python2-1.18.2-r1.ebuild b/dev-python/pycairo-python2/pycairo-python2-1.18.2-r1.ebuild deleted file mode 100644 index 7dad17d7d500..000000000000 --- a/dev-python/pycairo-python2/pycairo-python2-1.18.2-r1.ebuild +++ /dev/null @@ -1,46 +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,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -DISTUTILS_USE_SETUPTOOLS=manual -inherit distutils-r1 - -MY_PN=pycairo -MY_P=$MY_PN-$PV -DESCRIPTION="Python bindings for the cairo library" -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" -SRC_URI="https://github.com/pygobject/${MY_PN}/releases/download/v${PV}/${MY_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="" -RESTRICT="test" - -RDEPEND=" - !dev-python/${MY_PN}[python_targets_python2_7] - dev-python/setuptools-python2[${PYTHON_USEDEP}] - >=x11-libs/cairo-1.13.1[svg] -" -DEPEND="${RDEPEND}" -S="${WORKDIR}/${MY_PN}-${PV}" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme -distutils_enable_tests setup.py - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - distutils-r1_python_install_all - rm -r ${D}/usr/share - rm -r ${D}/usr/lib*/pkgconfig - rm -r ${D}/usr/include -} |
