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: Thu, 4 Nov 2021 09:25:29 +0000 (UTC) [thread overview]
Message-ID: <1636017925.64a11922bd011119371ae12d288df277da722a64.mgorny@gentoo> (raw)
commit: 64a11922bd011119371ae12d288df277da722a64
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 4 09:23:18 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 4 09:25:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a11922
dev-python/tomli: Install manually to avoid circular deps
Now that setuptools requires tomli as well, it is no longer possible
to cleanly bootstrap it. We could use plain distutils for the time
being but with its deprecation, this is only a short-term solution.
Instead, fetch the wheel to get dist-info and install it manually.
Closes: https://bugs.gentoo.org/821448
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tomli/Manifest | 1 +
dev-python/tomli/tomli-1.2.2-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/tomli/Manifest b/dev-python/tomli/Manifest
index cfc84879538..78558863025 100644
--- a/dev-python/tomli/Manifest
+++ b/dev-python/tomli/Manifest
@@ -1,2 +1,3 @@
DIST tomli-1.2.1.gh.tar.gz 122701 BLAKE2B d0280bb81a6e931a175c6ef2c58b4f36b1237f99a73331cbb95f98b9e68a98a4c6a635aa12751ac46492c2b1a06a821f1ae70cd0c36f268998488e824f3e577c SHA512 34f9529b137331b0ae03ac99170b3f6509847356594be14166bae306ea4fbbddff808ffe0c48d05434f72d223a2f35b511675217053029d287725b7142fbd089
+DIST tomli-1.2.2-py3-none-any.whl.zip 12118 BLAKE2B ae1dbc14e3c7c79240a327f3fb622c16aeba561274aedc93957549d838fcb2b6ed5889f8c28344a4cc9dbb52eacd6b9dc53aeff8f08642a8abeed2dd67c989a1 SHA512 fb9452663a46760ea442f2f06ad2f60b094368680dae315c2386457041f3ac5399c196ceec0524d432442ec72158c2d95bfa5d0cc288163b4eb1d6a07a62ae36
DIST tomli-1.2.2.gh.tar.gz 123150 BLAKE2B b07527a2a83615030037867c6011440a3814cbe265e8a760cca08e324954dbf7d1a393bc900559ddfc1bcbe1911f758948051823d9ef830ee05abb2539374dff SHA512 460ad8ae9a342d82ef12911c0d0e246c1434a5d40d898e91f6c05bf37b7bf9921da05e004c36907d623a797a7a215c1c3faf3f9a2b940f3867b142847a188605
diff --git a/dev-python/tomli/tomli-1.2.2-r1.ebuild b/dev-python/tomli/tomli-1.2.2-r1.ebuild
new file mode 100644
index 00000000000..d05ada7dc1a
--- /dev/null
+++ b/dev-python/tomli/tomli-1.2.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=manual
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="A lil' TOML parser"
+HOMEPAGE="
+ https://pypi.org/project/tomli/
+ https://github.com/hukkin/tomli/"
+SRC_URI="
+ https://github.com/hukkin/tomli/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl
+ -> ${P}-py3-none-any.whl.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+ app-arch/unzip
+ test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+# do not use any build system to avoid circular deps
+python_compile() { :; }
+
+python_install() {
+ python_domodule tomli "${WORKDIR}"/*.dist-info
+}
next reply other threads:[~2021-11-04 9:25 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 9:25 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-16 14:14 [gentoo-commits] repo/gentoo:master commit in: dev-python/tomli/ Michał Górny
2024-12-14 13:28 Michał Górny
2024-12-14 10:58 Arthur Zamarin
2024-11-28 6:43 Michał Górny
2024-11-12 5:35 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-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-08-04 19:35 Michał Górny
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=1636017925.64a11922bd011119371ae12d288df277da722a64.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