public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/unicorn/
Date: Mon, 31 Jan 2022 03:19:10 +0000 (UTC)	[thread overview]
Message-ID: <1643599142.3c7c7194dcd4b12cfeed0aae4222974015a97e6e.sam@gentoo> (raw)

commit:     3c7c7194dcd4b12cfeed0aae4222974015a97e6e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 03:18:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 03:19:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7c7194

dev-util/unicorn: fix Python dependencies (BDEPEND)

I'm not sure there's anything distutils-r1.eclass can do for us here, so
it is what it is, but we need to inline the deps from the eclass as we've
set DISTUTILS_OPTIONAL to only do the Python parts w/ USE=python.

Closes: https://bugs.gentoo.org/832337
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/unicorn/unicorn-2.0.0_rc5.ebuild |  9 ++++++++-
 dev-util/unicorn/unicorn-9999.ebuild      | 10 +++++++++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/dev-util/unicorn/unicorn-2.0.0_rc5.ebuild b/dev-util/unicorn/unicorn-2.0.0_rc5.ebuild
index 1a1090444ff1..8687e522b5a0 100644
--- a/dev-util/unicorn/unicorn-2.0.0_rc5.ebuild
+++ b/dev-util/unicorn/unicorn-2.0.0_rc5.ebuild
@@ -31,7 +31,14 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 DEPEND="${PYTHON_DEPS}
 	dev-libs/glib:2"
 RDEPEND="python? ( ${PYTHON_DEPS} )"
-BDEPEND="virtual/pkgconfig"
+# See bug #832337 re Python deps
+BDEPEND="virtual/pkgconfig
+	python? (
+		>=dev-python/installer-0.4.0_p20220124[${PYTHON_USEDEP}]
+		dev-python/tomli[${PYTHON_USEDEP}]
+		>=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}]
+		dev-python/wheel[${PYTHON_USEDEP}]
+	)"
 
 UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc"
 

diff --git a/dev-util/unicorn/unicorn-9999.ebuild b/dev-util/unicorn/unicorn-9999.ebuild
index 0c2d81bebca9..8687e522b5a0 100644
--- a/dev-util/unicorn/unicorn-9999.ebuild
+++ b/dev-util/unicorn/unicorn-9999.ebuild
@@ -5,6 +5,7 @@ EAPI=8
 
 MY_PV=${PV/_/-}
 
+DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_OPTIONAL=1
 PYTHON_COMPAT=( python3_{9..10} )
 inherit cmake distutils-r1
@@ -30,7 +31,14 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 DEPEND="${PYTHON_DEPS}
 	dev-libs/glib:2"
 RDEPEND="python? ( ${PYTHON_DEPS} )"
-BDEPEND="virtual/pkgconfig"
+# See bug #832337 re Python deps
+BDEPEND="virtual/pkgconfig
+	python? (
+		>=dev-python/installer-0.4.0_p20220124[${PYTHON_USEDEP}]
+		dev-python/tomli[${PYTHON_USEDEP}]
+		>=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}]
+		dev-python/wheel[${PYTHON_USEDEP}]
+	)"
 
 UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc"
 


             reply	other threads:[~2022-01-31  3:19 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31  3:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28 16:58 [gentoo-commits] repo/gentoo:master commit in: dev-util/unicorn/ Arthur Zamarin
2025-03-22 19:46 Sam James
2025-03-22  9:40 Arthur Zamarin
2025-03-19  2:42 Sam James
2025-03-19  2:42 Sam James
2025-03-10  2:18 Sam James
2025-03-10  2:18 Sam James
2025-02-16 12:47 Sam James
2025-02-16 12:47 Sam James
2025-02-16  6:32 Sam James
2025-02-16  6:32 Sam James
2025-02-16  6:32 Sam James
2024-10-03  9:47 Sam James
2023-09-17 14:58 Arthur Zamarin
2023-09-17 14:58 Arthur Zamarin
2023-04-14 19:43 Sam James
2023-04-14  4:04 Sam James
2023-02-25  5:47 Arthur Zamarin
2023-02-10  8:45 Yixun Lan
2023-02-10  8:45 Yixun Lan
2023-01-14 10:00 Arthur Zamarin
2022-12-27  7:29 Sam James
2022-12-27  7:29 Sam James
2022-11-06  5:43 Sam James
2022-08-04 22:53 Sam James
2022-08-04 22:53 Sam James
2022-07-26  4:26 Sam James
2022-07-09 10:16 Sam James
2022-07-09 10:16 Sam James
2022-07-09 10:15 Sam James
2022-06-03  7:10 Michał Górny
2022-05-16  5:26 Sam James
2022-05-16  5:26 Sam James
2022-04-17 16:44 Sam James
2022-03-13  9:23 Matthew Smith
2022-03-13  9:23 Matthew Smith
2022-02-02  1:04 Sam James
2022-01-28  8:22 Sam James
2022-01-28  5:18 Sam James
2022-01-28  5:18 Sam James

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=1643599142.3c7c7194dcd4b12cfeed0aae4222974015a97e6e.sam@gentoo \
    --to=sam@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