From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tomli/
Date: Wed, 4 Aug 2021 19:35:04 +0000 (UTC) [thread overview]
Message-ID: <1628105700.363c9acaad279261010253c3fe3b58b871d95a96.mgorny@gentoo> (raw)
commit: 363c9acaad279261010253c3fe3b58b871d95a96
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 4 19:17:44 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 4 19:35:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363c9aca
dev-python/tomli: Fix circular dep with pyproject2setuppy
Write a trivial setup.py to avoid the circular dependency between
dev-python/tomli and dev-python/pyproject2setuppy.
Closes: https://bugs.gentoo.org/806396
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tomli/tomli-1.0.4.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-python/tomli/tomli-1.0.4.ebuild b/dev-python/tomli/tomli-1.0.4.ebuild
index b35f22cf0cf..7ad7d69a48f 100644
--- a/dev-python/tomli/tomli-1.0.4.ebuild
+++ b/dev-python/tomli/tomli-1.0.4.ebuild
@@ -3,7 +3,6 @@
EAPI=8
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
@@ -23,3 +22,13 @@ BDEPEND="
test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
+
+src_prepare() {
+ # we don't use pyproject.toml to avoid circular deps
+ cat > setup.py <<-EOF || die
+ from setuptools import setup
+ setup(name="tomli", version="${PV}", packages=["tomli"], package_data={"": ["*"]})
+ EOF
+
+ distutils-r1_src_prepare
+}
next reply other threads:[~2021-08-04 19:35 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 19:35 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-12 5:35 [gentoo-commits] repo/gentoo:master commit in: dev-python/tomli/ Michał Górny
2024-10-19 8:42 Michał Górny
2024-10-19 8:14 Arthur Zamarin
2024-10-03 3:31 Michał Górny
2024-05-09 17:32 Michał Górny
2023-05-23 15:42 Michał Górny
2023-05-03 10:47 Fabian Groffen
2023-02-07 14:31 Michał Górny
2022-08-02 4:08 Michał Górny
2022-07-10 18:50 Michał Górny
2022-07-10 16:56 Sam James
2022-06-08 7:54 Michał Górny
2022-06-07 14:38 Michał Górny
2022-06-07 6:54 Michał Górny
2022-04-10 12:32 Fabian Groffen
2022-03-15 14:26 Michał Górny
2022-03-15 13:31 Jakov Smolić
2022-02-08 20:14 Michał Górny
2022-02-04 10:27 Michał Górny
2022-02-04 9:29 Jakov Smolić
2022-02-01 2:03 Mike Frysinger
2022-01-13 19:26 Arthur Zamarin
2021-12-14 10:21 Michał Górny
2021-12-14 10:21 Michał Górny
2021-12-07 10:57 Fabian Groffen
2021-11-26 20:32 Michał Górny
2021-11-26 20:25 Arthur Zamarin
2021-11-04 9:25 Michał Górny
2021-10-25 22:39 Michał Górny
2021-10-10 16:22 Michał Górny
2021-10-10 15:33 Agostino Sarubbo
2021-10-09 19:35 Michał Górny
2021-10-09 19:22 Sam James
2021-10-09 19:22 Sam James
2021-10-09 19:18 Sam James
2021-09-27 6:59 Michał Górny
2021-09-25 13:09 James Le Cuirot
2021-09-12 16:03 Aaron Bauman
2021-09-08 23:47 Joshua Kinard
2021-09-07 4:40 Sam James
2021-09-03 14:41 Arthur Zamarin
2021-08-26 14:55 Sam James
2021-08-26 4:41 Agostino Sarubbo
2021-08-26 3:00 Sam James
2021-08-26 3:00 Sam James
2021-08-26 3:00 Sam James
2021-08-09 1:18 Sam James
2021-07-25 19:44 Sam James
2021-07-25 15:26 Sergei Trofimovich
2021-07-25 3:23 Sam James
2021-07-25 3:16 Matt Turner
2021-07-23 11:05 Marek Szuba
2021-07-23 8:11 Georgy Yakovlev
2021-07-21 21:36 Sergei Trofimovich
2021-07-20 20:36 Sergei Trofimovich
2021-07-17 7:03 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=1628105700.363c9acaad279261010253c3fe3b58b871d95a96.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