pycups: remove, outdated

This commit is contained in:
Anton Bolshakov 2026-04-20 11:11:20 +08:00
parent 60708d3ef6
commit a971b48306
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 0 additions and 74 deletions

View file

@ -1 +0,0 @@
DIST pycups-2.0.1.tar.gz 62968 BLAKE2B c9d955b89f2e9746827721c875dfc97538bb4575ee3f78c41a94f06b361cd3d22c14d453bfbea210160026d33c6e161b1d14c4dffeaddd644c260779f56e1db7 SHA512 fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617

View file

@ -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>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>reavertm@gentoo.org</email>
<name>Maciej Mrozowski</name>
</maintainer>
<maintainer type="project">
<email>printing@gentoo.org</email>
<name>Gentoo Printing Project</name>
</maintainer>
<upstream>
<remote-id type="pypi">pycups</remote-id>
<remote-id type="github">OpenPrinting/pycups</remote-id>
<bugs-to>https://github.com/OpenPrinting/pycups/issues</bugs-to>
</upstream>
</pkgmetadata>

View file

@ -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
}