From a971b483060693414ed8d3e7f2047152a348a209 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Mon, 20 Apr 2026 11:11:20 +0800 Subject: [PATCH] pycups: remove, outdated --- dev-python/pycups/Manifest | 1 - .../pycups/files/pycups-2.0.1-py3.10.patch | 24 -------------- dev-python/pycups/metadata.xml | 17 ---------- dev-python/pycups/pycups-2.0.1-r1.ebuild | 32 ------------------- 4 files changed, 74 deletions(-) delete mode 100644 dev-python/pycups/Manifest delete mode 100644 dev-python/pycups/files/pycups-2.0.1-py3.10.patch delete mode 100644 dev-python/pycups/metadata.xml delete mode 100644 dev-python/pycups/pycups-2.0.1-r1.ebuild diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest deleted file mode 100644 index 2c1d3dd31..000000000 --- a/dev-python/pycups/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pycups-2.0.1.tar.gz 62968 BLAKE2B c9d955b89f2e9746827721c875dfc97538bb4575ee3f78c41a94f06b361cd3d22c14d453bfbea210160026d33c6e161b1d14c4dffeaddd644c260779f56e1db7 SHA512 fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617 diff --git a/dev-python/pycups/files/pycups-2.0.1-py3.10.patch b/dev-python/pycups/files/pycups-2.0.1-py3.10.patch deleted file mode 100644 index 557b485fb..000000000 --- a/dev-python/pycups/files/pycups-2.0.1-py3.10.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 8cbf6d40a0132764ad51e7416aa7034966875091 Mon Sep 17 00:00:00 2001 -From: Zdenek Dohnal -Date: Mon, 28 Jun 2021 13:17:45 +0200 -Subject: [PATCH] cupsipp.h: define PY_SSIZE_T_CLEAN - -Fixes traceback during IPPRequest.writeIO with Python 3.10 ---- - NEWS | 2 ++ - cupsipp.h | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/cupsipp.h b/cupsipp.h -index 2a15ce6..b890198 100644 ---- a/cupsipp.h -+++ b/cupsipp.h -@@ -21,6 +21,8 @@ - #ifndef HAVE_CUPSIPP_H - #define HAVE_CUPSIPP_H - -+#define PY_SSIZE_T_CLEAN -+ - #include - #include - diff --git a/dev-python/pycups/metadata.xml b/dev-python/pycups/metadata.xml deleted file mode 100644 index 7ae4baef6..000000000 --- a/dev-python/pycups/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - reavertm@gentoo.org - Maciej Mrozowski - - - printing@gentoo.org - Gentoo Printing Project - - - pycups - OpenPrinting/pycups - https://github.com/OpenPrinting/pycups/issues - - diff --git a/dev-python/pycups/pycups-2.0.1-r1.ebuild b/dev-python/pycups/pycups-2.0.1-r1.ebuild deleted file mode 100644 index 45549a255..000000000 --- a/dev-python/pycups/pycups-2.0.1-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{12..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the CUPS API" -HOMEPAGE="https://github.com/OpenPrinting/pycups" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" -IUSE="examples" - -RDEPEND="net-print/cups" -DEPEND="${RDEPEND}" - -# https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091 -PATCHES=( "${FILESDIR}/${P}-py3.10.patch" ) - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -}