public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgusb/
Date: Wed, 25 Mar 2020 20:33:06 +0000 (UTC)	[thread overview]
Message-ID: <1585168370.115cc90adfb3176abb9096fcaa06a0978e639470.mattst88@gentoo> (raw)

commit:     115cc90adfb3176abb9096fcaa06a0978e639470
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 20:29:56 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 20:32:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115cc90a

dev-libs/libgusb: Depend on setuptools

A new build-time script was added in 0.3.4 that imports pkg_resources
and xml.etree.ElementTree.

Closes: https://bugs.gentoo.org/714670
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/libgusb/libgusb-0.3.4.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libgusb/libgusb-0.3.4.ebuild b/dev-libs/libgusb/libgusb-0.3.4.ebuild
index f7b99287e23..c38c2990d9a 100644
--- a/dev-libs/libgusb/libgusb-0.3.4.ebuild
+++ b/dev-libs/libgusb/libgusb-0.3.4.ebuild
@@ -4,7 +4,10 @@
 EAPI=7
 VALA_USE_DEPEND="vapigen"
 
-inherit meson multilib-minimal vala
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit meson multilib-minimal python-any-r1 vala
 
 DESCRIPTION="GObject wrapper for libusb"
 HOMEPAGE="https://github.com/hughsie/libgusb"
@@ -25,6 +28,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
+	$(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
 	gtk-doc? (
 		app-text/docbook-xml-dtd:4.1.2
 		app-text/docbook-xml-dtd:4.4
@@ -36,6 +40,10 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
+python_check_deps() {
+	has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
+}
+
 src_prepare() {
 	use vala && vala_src_prepare
 	default


             reply	other threads:[~2020-03-25 20:33 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 20:33 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-21 17:16 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgusb/ Arthur Zamarin
2024-10-21 10:54 Sam James
2024-04-20 11:42 Mart Raudsepp
2024-04-17 22:01 Sam James
2024-04-17  4:42 Sam James
2024-04-09 22:46 Sam James
2024-04-07 10:11 Arthur Zamarin
2024-04-07  9:14 Arthur Zamarin
2024-04-07  6:51 Arthur Zamarin
2024-03-13 22:55 Mart Raudsepp
2024-03-12 21:50 Arthur Zamarin
2024-03-12 21:50 Arthur Zamarin
2024-03-12 21:49 Arthur Zamarin
2024-02-22 20:47 Arthur Zamarin
2024-02-22 20:47 Arthur Zamarin
2024-02-17 21:53 Mart Raudsepp
2024-02-10 18:53 Arthur Zamarin
2023-10-20 13:14 Pacho Ramos
2023-07-15 11:43 Arthur Zamarin
2023-07-02 11:18 Sam James
2023-07-02  8:34 Sam James
2023-07-02  8:33 Sam James
2023-07-02  8:33 Sam James
2023-07-02  8:04 Sam James
2023-07-02  8:04 Sam James
2023-06-11 16:17 Matt Turner
2023-04-01 19:03 Arthur Zamarin
2023-04-01 19:01 Arthur Zamarin
2023-03-31 12:04 Arthur Zamarin
2023-03-30 17:44 Arthur Zamarin
2023-02-17  8:23 Arthur Zamarin
2023-02-16 18:39 Arthur Zamarin
2023-02-16 18:39 Arthur Zamarin
2023-02-08 17:08 Matt Turner
2023-01-30 17:10 Matt Turner
2022-12-21 15:05 Matt Turner
2022-11-11 19:46 Matt Turner
2022-11-05 18:58 Arthur Zamarin
2022-11-05  9:58 Arthur Zamarin
2022-11-05  9:44 Arthur Zamarin
2022-10-19  1:44 Matt Turner
2022-10-03  3:03 Matt Turner
2022-09-13 20:11 Matt Turner
2022-05-17 13:07 WANG Xuerui
2022-04-17 18:36 Arthur Zamarin
2022-01-10 21:30 Matt Turner
2021-12-25  0:02 Mike Gilbert
2021-12-18  3:47 Matt Turner
2021-12-07 20:29 Sam James
2021-11-28 20:08 Mike Gilbert
2021-08-02 12:33 Marek Szuba
2021-05-25 18:51 Matt Turner
2021-04-15  1:33 Sam James
2021-04-15  0:13 Sam James
2021-04-14 22:07 Sam James
2021-04-12 21:59 Matt Turner
2021-03-13  3:51 Matt Turner
2021-02-24 13:55 Ben Kohler
2021-01-25  0:43 Sam James
2020-12-13 12:16 Sergei Trofimovich
2020-08-30 18:28 Sam James
2020-07-31  1:11 Matt Turner
2020-06-26 21:16 Mart Raudsepp
2020-06-07 21:28 Mart Raudsepp
2020-05-13 17:35 Sergei Trofimovich
2020-03-25  2:20 Matt Turner
2020-02-19 22:39 Mart Raudsepp
2020-02-08 19:59 Matt Turner
2020-01-27  9:45 Mikle Kolyada
2020-01-26 22:39 Thomas Deutschmann
2020-01-08 20:10 Mart Raudsepp
2019-12-18 15:07 Jason A. Donenfeld
2019-05-10 21:36 Aaron Bauman
2017-12-20 20:23 Mart Raudsepp
2017-11-23 20:47 Sergei Trofimovich
2017-11-06 20:49 Tobias Klausmann
2017-08-27 17:57 Gilles Dartiguelongue
2017-07-07 10:33 Alexis Ballier
2016-07-30  9:34 Jeroen Roovers
2016-03-06 16:43 Mikle Kolyada
2015-12-28 23:09 Gilles Dartiguelongue
2015-11-18  9:09 Agostino Sarubbo
2015-11-18  5:47 Jeroen Roovers
2015-11-07 11:39 Pacho Ramos
2015-11-07 11:39 Pacho Ramos
2015-09-05 16:16 Pacho Ramos
2015-09-05 16:16 Pacho Ramos

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=1585168370.115cc90adfb3176abb9096fcaa06a0978e639470.mattst88@gentoo \
    --to=mattst88@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