Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycups/
Date: Sun, 22 Aug 2021 15:15:57
Message-Id: 1629645341.9a706014773eda5057cc0d219385af702a03773c.sbraz@gentoo
1 commit: 9a706014773eda5057cc0d219385af702a03773c
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 15:14:54 2021 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 15:15:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a706014
7
8 dev-python/pycups: tidy up ebuild
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11
12 dev-python/pycups/pycups-2.0.1.ebuild | 12 ++++++------
13 1 file changed, 6 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/pycups/pycups-2.0.1.ebuild b/dev-python/pycups/pycups-2.0.1.ebuild
16 index b14f8c18b45..46c50c1509f 100644
17 --- a/dev-python/pycups/pycups-2.0.1.ebuild
18 +++ b/dev-python/pycups/pycups-2.0.1.ebuild
19 @@ -13,13 +13,18 @@ HOMEPAGE="https://github.com/OpenPrinting/pycups"
20 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
21
22 LICENSE="GPL-2"
23 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
24 SLOT="0"
25 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
26 IUSE="examples"
27
28 RDEPEND="net-print/cups"
29 DEPEND="${RDEPEND}"
30
31 +PATCHES=(
32 + # https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
33 + "${FILESDIR}/${P}-py3.10.patch"
34 +)
35 +
36 python_install_all() {
37 if use examples; then
38 dodoc -r examples
39 @@ -27,8 +32,3 @@ python_install_all() {
40 fi
41 distutils-r1_python_install_all
42 }
43 -
44 -PATCHES=(
45 - # https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
46 - "${FILESDIR}/${P}-py3.10.patch"
47 -)