diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-10-30 21:30:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-10-30 21:30:07 +0100 |
commit | 0c9441c09ab85a39b63cc18e15e320ab421373e4 (patch) | |
tree | feaab7c68ea4603825eb903c5c3e2c71a6dfa40b /dev-python/pycups | |
parent | dev-python/twisted: Remove old (diff) | |
download | gentoo-0c9441c09ab85a39b63cc18e15e320ab421373e4.tar.gz gentoo-0c9441c09ab85a39b63cc18e15e320ab421373e4.tar.bz2 gentoo-0c9441c09ab85a39b63cc18e15e320ab421373e4.zip |
dev-python/pycups: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pycups')
-rw-r--r-- | dev-python/pycups/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pycups/files/pycups-2.0.1-py3.10.patch | 24 | ||||
-rw-r--r-- | dev-python/pycups/pycups-2.0.1-r1.ebuild | 32 |
3 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest index 4861ad60fb21..91d1d5b0b1d2 100644 --- a/dev-python/pycups/Manifest +++ b/dev-python/pycups/Manifest @@ -1,2 +1 @@ -DIST pycups-2.0.1.tar.gz 62968 BLAKE2B c9d955b89f2e9746827721c875dfc97538bb4575ee3f78c41a94f06b361cd3d22c14d453bfbea210160026d33c6e161b1d14c4dffeaddd644c260779f56e1db7 SHA512 fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617 DIST pycups-2.0.4.tar.gz 65105 BLAKE2B bda49346d59fde52c6725a27df02fe55922db461f14d8f0f7886bd90530c7ca52df9ccb173bca5b5031a7dbb2517741654a8a663c958a27285431197724a4f8c SHA512 d22148856c8cff4f30e6b7ab0d32d184e8b48358158f28735f0efe4c6e80fd0ea2a5ece87db3eada152f05435fb64c05f1c066bc7bda0649fbddcf5221d66161 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 557b485fbafe..000000000000 --- 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 <zdohnal@redhat.com> -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 <Python.h> - #include <cups/ipp.h> - 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 870323324ee8..000000000000 --- a/dev-python/pycups/pycups-2.0.1-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 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_{10..12} ) - -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 -} |