summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-05 08:08:49 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-05 08:08:49 +0200
commit016e6cbe2a88cbf71a17df970c1b46ad97c79b65 (patch)
tree8bdf091f442a24715951027d91e11fe147073114 /dev-python/pycairo
parentdev-python/notebook: Bump to 7.0.2 (diff)
downloadgentoo-016e6cbe2a88cbf71a17df970c1b46ad97c79b65.tar.gz
gentoo-016e6cbe2a88cbf71a17df970c1b46ad97c79b65.tar.bz2
gentoo-016e6cbe2a88cbf71a17df970c1b46ad97c79b65.zip
dev-python/pycairo: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r--dev-python/pycairo/Manifest1
-rw-r--r--dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch28
-rw-r--r--dev-python/pycairo/pycairo-1.23.0.ebuild65
3 files changed, 0 insertions, 94 deletions
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
index 1a63b4186149..7d7dc567ee93 100644
--- a/dev-python/pycairo/Manifest
+++ b/dev-python/pycairo/Manifest
@@ -1,2 +1 @@
-DIST pycairo-1.23.0.tar.gz 344623 BLAKE2B e0551e2d4259d509f3165682b11852f28f0df93e6befcd398ef95bc5f0eed0818dc72a05a9b085148d4369e9b3283bc4d91ce032c6c88a3b15962c83eb03db57 SHA512 fc0cc878cc716a6a2baf89a193facfcd89970c884afd3bb9d7fbecf42894ddd191988a8f0fe79100786509f17fbe4f1990eca33a5299414b2df2539d66de5abf
DIST pycairo-1.24.0.tar.gz 344850 BLAKE2B f1469254ccfcb96ee5e39af49fcae575717e2f0e9a3dc74a13408306b5c94f4557a9c6d6a448541cb1f6dd27781e484b37d5ea9f230dc87f9d3370fac31dfdba SHA512 bbc160bc9c3c9365018c680f6a69347bc222cdaec10ea48d18aedd0341048df74973d3299d783662adf02b414874824660da10943d88f64c30451d3fdccc63fb
diff --git a/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch b/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch
deleted file mode 100644
index a86dd935e482..000000000000
--- a/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://bugs.gentoo.org/890411
-https://github.com/pygobject/pycairo/pull/318
-
-From 9e78bd1acbaef6659dbe3076934ed779eac27a96 Mon Sep 17 00:00:00 2001
-From: Chris Mayo <aklhfex@gmail.com>
-Date: Sun, 23 Apr 2023 19:44:26 +0100
-Subject: [PATCH] docs: Fix build failure due to extlinks with Sphinx 6
-
-extlinks caption must be None or contain one %s.
-
-Compatible with Sphinx >= 4.0.
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -48,10 +48,10 @@ def exec_module(path):
- ]
-
- extlinks = {
-- 'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-'),
-- 'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#'),
-- 'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-'),
-- 'user': ('https://github.com/%s', ''),
-+ 'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-%s'),
-+ 'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#%s'),
-+ 'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-%s'),
-+ 'user': ('https://github.com/%s', '%s'),
- }
- suppress_warnings = ["image.nonlocal_uri"]
-
diff --git a/dev-python/pycairo/pycairo-1.23.0.ebuild b/dev-python/pycairo/pycairo-1.23.0.ebuild
deleted file mode 100644
index 365a807bab8c..000000000000
--- a/dev-python/pycairo/pycairo-1.23.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} 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/
- https://pypi.org/project/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 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples"
-
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-python/hypothesis[${PYTHON_USEDEP}]
- )
-"
-RDEPEND="
- >=x11-libs/cairo-1.15.10[svg(+)]
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.23.0-fix-sphinx.patch
-)
-
-distutils_enable_sphinx docs \
- dev-python/sphinx-rtd-theme
-distutils_enable_tests pytest
-
-python_test() {
- esetup.py build_tests
- epytest
-}
-
-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
-}