public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycups/
Date: Sat, 29 Jan 2022 21:19:26 +0000 (UTC)	[thread overview]
Message-ID: <1643490629.5344a32bb90b493c57bb834e7009d4516386773c.mgorny@gentoo> (raw)

commit:     5344a32bb90b493c57bb834e7009d4516386773c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 21:10:29 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 21:10:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5344a32b

dev-python/pycups: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pycups/pycups-2.0.1-r1.ebuild | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/pycups/pycups-2.0.1-r1.ebuild b/dev-python/pycups/pycups-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..5ee0c6ba6147
--- /dev/null
+++ b/dev-python/pycups/pycups-2.0.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the CUPS API"
+HOMEPAGE="https://github.com/OpenPrinting/pycups"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples"
+
+RDEPEND="net-print/cups"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	# https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
+	"${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
+}


             reply	other threads:[~2022-01-29 21:19 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 21:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30 19:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/pycups/ Sam James
2024-10-28 21:30 Sam James
2024-10-27  6:50 Arthur Zamarin
2024-10-27  3:05 Sam James
2024-10-26 14:47 Arthur Zamarin
2024-10-26 13:15 Michał Górny
2024-10-26 13:10 Michał Górny
2024-10-07  2:52 Sam James
2024-01-10 19:02 Mike Gilbert
2023-05-04 16:22 Michał Górny
2022-11-01  6:19 WANG Xuerui
2022-10-25 18:36 Andreas Sturmlechner
2022-03-18 11:41 Michał Górny
2022-03-18  9:30 Arthur Zamarin
2022-03-18  9:19 Arthur Zamarin
2022-03-16 23:53 Sam James
2022-03-16 23:53 Sam James
2022-03-15 18:16 Jakov Smolić
2022-03-15 17:56 Jakov Smolić
2021-10-03 14:22 Michał Górny
2021-10-02 18:39 Sam James
2021-09-30 18:18 Sam James
2021-09-26 17:52 Sam James
2021-09-26  5:01 Sam James
2021-09-25 19:56 Sam James
2021-09-25 19:53 Sam James
2021-09-25 19:53 Sam James
2021-08-22 15:15 Louis Sautier
2021-08-22 12:34 Louis Sautier
2020-10-14 10:51 Alexey Shvetsov
2020-04-18  8:47 David Seifert
2020-04-17 18:55 Andreas Sturmlechner
2020-04-15  2:49 Mike Gilbert
2020-03-28 17:21 Michał Górny
2020-02-05 19:37 Michał Górny
2019-12-31 20:09 Andreas Sturmlechner
2019-12-24 14:23 Mikle Kolyada
2019-12-15 13:59 Agostino Sarubbo
2019-12-15 13:53 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-12-15 13:24 Sergei Trofimovich
2019-12-04  6:48 Aaron Bauman
2019-06-02 14:05 Alexey Shvetsov
2017-11-28 20:48 Sergei Trofimovich
2017-09-30  6:31 Sergei Trofimovich
2017-09-24 12:10 Michael Palimaka
2017-09-12 23:02 Matt Turner
2017-09-12 23:02 Matt Turner
2017-09-02 15:04 Michael Palimaka
2017-08-06  8:41 Markus Meier
2017-07-31 10:49 Tobias Klausmann
2017-07-27  9:15 Sergei Trofimovich
2017-07-20 17:10 Alexis Ballier
2017-01-21 21:14 Patrice Clement
2016-10-02 10:02 Jeroen Roovers
2016-10-01 13:09 Jeroen Roovers
2016-05-28 11:06 Markus Meier
2016-05-24 10:18 Tobias Klausmann
2016-04-20 16:22 Michael Palimaka
2015-12-09 19:07 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1643490629.5344a32bb90b493c57bb834e7009d4516386773c.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox