summaryrefslogtreecommitdiff
path: root/dev-python/pycups
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pycups')
-rw-r--r--dev-python/pycups/Manifest5
-rw-r--r--dev-python/pycups/files/pycups-2.0.1-py3.10.patch24
-rw-r--r--dev-python/pycups/pycups-2.0.1-r1.ebuild32
-rw-r--r--dev-python/pycups/pycups-2.0.4.ebuild2
4 files changed, 2 insertions, 61 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest
index c12452806747..9e6ddd13eb75 100644
--- a/dev-python/pycups/Manifest
+++ b/dev-python/pycups/Manifest
@@ -1,6 +1,3 @@
-AUX pycups-2.0.1-py3.10.patch 576 BLAKE2B de0c617d24d18290c23fa7938a62db451dff69075ef180a781c285a7b6a6b4c6fdeb4010a0994c56dcff5c21cc902a59cede52aadc523b9d642c49cde0272a89 SHA512 31f025e9ee09530836a6efac6d7cbb39d2311fe4264dc245dc8f80314a3d03416395f66759f505d63119975a443a286b703b6e21f68dd0eedf320595d8ce68c4
-DIST pycups-2.0.1.tar.gz 62968 BLAKE2B c9d955b89f2e9746827721c875dfc97538bb4575ee3f78c41a94f06b361cd3d22c14d453bfbea210160026d33c6e161b1d14c4dffeaddd644c260779f56e1db7 SHA512 fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617
DIST pycups-2.0.4.tar.gz 65105 BLAKE2B bda49346d59fde52c6725a27df02fe55922db461f14d8f0f7886bd90530c7ca52df9ccb173bca5b5031a7dbb2517741654a8a663c958a27285431197724a4f8c SHA512 d22148856c8cff4f30e6b7ab0d32d184e8b48358158f28735f0efe4c6e80fd0ea2a5ece87db3eada152f05435fb64c05f1c066bc7bda0649fbddcf5221d66161
-EBUILD pycups-2.0.1-r1.ebuild 769 BLAKE2B 8b3ee8a4da6947647f1c5dcc6acb27ef337f0e5364f99eae21edb16b8ce952b14231ca9d5bed555f335b7b531a61f968d46ed5a76893c1e5e1962014d0174ee8 SHA512 adf3d4eea5ac2aaf69e47c3ec41e8a36948e206d3276fab16e274db5ccf08b3605bc870b016fec4c79e6a9ee5baf4638cf99d5253e0b2c799fe9b27d148a1c6d
-EBUILD pycups-2.0.4.ebuild 636 BLAKE2B aa6f0f773bc0d0b6497c1884975adb5f0387862d69038e7417efc8b51ec9f9f12a2cb72969c3da05554f626158ada88dbccc9803d945ea17b872bc52c58b0e00 SHA512 7a98a1f49a0b4120a464db408847c8d43f5691287f61831b7b56b00183a1ff205ff849630d9bd5a818044a41994763e2bd7989db457f97332d00536c0072545b
+EBUILD pycups-2.0.4.ebuild 635 BLAKE2B 7c03877ec5a012f1486aab35672e47aaed6677095ce90cb9020490fad75fa2a663dd55d29e955eecfe0518e5adf6fdbeab5cb1a36a82262da6c72f85dc916689 SHA512 e0bb66a4ed4cf15b804b61ac2f6f4503e7035cfc3983e467a336bd6a778e4ee76354b84d4efb79315b935e9b22f105604c16b50034ff7d5c6d520fa40ac7adba
MISC metadata.xml 567 BLAKE2B e0f8590318ffd3bf0963973f947ade6be086cf99f5f09b49cbc6ecef7ce397aecffd3cb534339a3a86ae98b88da8c60619a610bb8eac9ec1ccebfdcbc329408b SHA512 63e388902a77c052d0944b84805ec0905598e7f0126eb67813e4c75f3a11a51c2ba8ae46e0f8c3bd64f5c96806e0784c23b2b3e35d3261aba65b267fd28f6c71
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
-}
diff --git a/dev-python/pycups/pycups-2.0.4.ebuild b/dev-python/pycups/pycups-2.0.4.ebuild
index 9f70eced6210..308150037c12 100644
--- a/dev-python/pycups/pycups-2.0.4.ebuild
+++ b/dev-python/pycups/pycups-2.0.4.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/OpenPrinting/pycups"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
IUSE="examples"
RDEPEND="net-print/cups"