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/importlib-resources/
Date: Sat,  8 Jul 2023 07:30:14 +0000 (UTC)	[thread overview]
Message-ID: <1688801403.80fa8eb106d936f6ee24f621a3c121632a0ce75b.mgorny@gentoo> (raw)

commit:     80fa8eb106d936f6ee24f621a3c121632a0ce75b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 06:08:21 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 07:30:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80fa8eb1

dev-python/importlib-resources: Bump to 6.0.0

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

 dev-python/importlib-resources/Manifest            |  1 +
 .../importlib-resources-6.0.0.ebuild               | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest
index 7cd8f9af9983..75ff8b79c797 100644
--- a/dev-python/importlib-resources/Manifest
+++ b/dev-python/importlib-resources/Manifest
@@ -1 +1,2 @@
 DIST importlib_resources-5.12.0.tar.gz 39894 BLAKE2B bbae92bd62b54afc0093f8daa8f0fabaf18da7b2c9c578a2e6b6b7cc3207384e4fd037762c4ac8bc862900ac2da112a3b8ae236b1d3ca072c739f2d1ad3edd36 SHA512 00875d82cf3d2103872079ee2882c4000cc65141d97988265721cc6861a64dfe480e5c2191a2b22d0b9b9e42de1fc06d54f6d8eb4f37aaf91a819ee9306dc06f
+DIST importlib_resources-6.0.0.tar.gz 35570 BLAKE2B c71f0dbfe49eebd63c0e56e25f019cb30d9fbddd6e4db8fa739bd44d5c00f429bf732a1e2f2be74ebc051c020c0fc0a678cf8eb6c2b9b52e340abe1a62144aae SHA512 c7475b0be67bf8655998df78d2683a733f20e85eb4b03f04508b3408a8751e0b4a8fcbe695feb83144c9b6de6e4ba93dd3419647d1db2ad8d92ff7dbbf6970c4

diff --git a/dev-python/importlib-resources/importlib-resources-6.0.0.ebuild b/dev-python/importlib-resources/importlib-resources-6.0.0.ebuild
new file mode 100644
index 000000000000..2bf49ea9e1e8
--- /dev/null
+++ b/dev-python/importlib-resources/importlib-resources-6.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517=flit
+# This is a backport of importlib.resources that's present since py3.9.
+# However, the version in 3.9 is buggy, so matplotlib needs it on 3.9
+# as well.
+PYTHON_COMPAT=( pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Read resources from Python packages"
+HOMEPAGE="
+	https://github.com/python/importlib_resources/
+	https://pypi.org/project/importlib-resources/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-python/zipp-3.7.0-r1[${PYTHON_USEDEP}]
+	' 3.8 3.9)
+"
+
+distutils_enable_tests unittest
+
+src_configure() {
+	grep -q 'build-backend = "setuptools' pyproject.toml ||
+		die "Upstream changed build-backend, recheck"
+	# write a custom pyproject.toml to ease setuptools bootstrap
+	cat > pyproject.toml <<-EOF || die
+		[build-system]
+		requires = ["flit_core >=3.2,<4"]
+		build-backend = "flit_core.buildapi"
+
+		[project]
+		name = "importlib_resources"
+		version = "${PV}"
+		description = "Read resources from Python packages"
+	EOF
+}


             reply	other threads:[~2023-07-08  7:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-08  7:30 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-25  4:43 [gentoo-commits] repo/gentoo:master commit in: dev-python/importlib-resources/ Michał Górny
2024-04-25 14:45 Sam James
2024-04-25 14:45 Sam James
2024-04-25 16:35 Arthur Zamarin
2024-04-26  1:35 Yixun Lan
2024-05-11  7:09 Arthur Zamarin
2024-05-11  7:28 Arthur Zamarin
2024-05-11  7:45 Arthur Zamarin
2024-05-11  9:49 Arthur Zamarin
2024-06-15 13:17 Michał Górny
2024-07-12  6:21 Ionen Wolkens
2024-07-12  6:21 Ionen Wolkens
2024-07-12  6:21 Ionen Wolkens
2024-07-12  6:21 Ionen Wolkens
2024-08-15  3:47 Michał Górny
2024-08-17 16:55 Michał Górny
2024-08-22  5:13 Michał Górny
2024-08-26 18:54 Arthur Zamarin
2024-08-31  8:01 Arthur Zamarin
2024-09-10  7:06 Michał Górny
2024-09-12 17:08 Arthur Zamarin
2024-09-12 18:23 Michał Górny
2024-09-14 13:33 Arthur Zamarin
2024-09-14 14:07 Michał Górny
2024-09-28 13:25 Arthur Zamarin
2024-09-28 13:35 Michał Górny
2025-01-04  9:30 Michał Górny
2025-01-25  9:20 Arthur Zamarin
2025-01-25 10:01 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=1688801403.80fa8eb106d936f6ee24f621a3c121632a0ce75b.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