From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DB2A158015 for ; Sat, 23 Dec 2023 05:12:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 736CA2BC05C; Sat, 23 Dec 2023 05:12:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DC8C2BC03C for ; Sat, 23 Dec 2023 05:12:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64E25342FF9 for ; Sat, 23 Dec 2023 05:12:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82E1414B1 for ; Sat, 23 Dec 2023 05:12:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1703308351.01620ad161bd2989003f73a5a160474d7db1aacf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/importlib-metadata/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/importlib-metadata/Manifest dev-python/importlib-metadata/importlib-metadata-7.0.1.ebuild X-VCS-Directories: dev-python/importlib-metadata/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 01620ad161bd2989003f73a5a160474d7db1aacf X-VCS-Branch: master Date: Sat, 23 Dec 2023 05:12:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13ddb9f7-f9da-4744-a6ea-a7a3f0a9c271 X-Archives-Hash: e4f8d1f6f910812f83109b3f0be71978 commit: 01620ad161bd2989003f73a5a160474d7db1aacf Author: Michał Górny gentoo org> AuthorDate: Sat Dec 23 04:41:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 23 05:12:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01620ad1 dev-python/importlib-metadata: Bump to 7.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/importlib-metadata/Manifest | 1 + .../importlib-metadata-7.0.1.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest index 47e6218fe1c1..a73f7bf7f0d1 100644 --- a/dev-python/importlib-metadata/Manifest +++ b/dev-python/importlib-metadata/Manifest @@ -1 +1,2 @@ DIST importlib_metadata-7.0.0.tar.gz 54280 BLAKE2B 56da8260ad1eb785577bbb0db1695652eb4d09d2fb48c8770e8fba22be92c2f9a4f89727ada53a1bf83f17128078bffe424636dc4ed805288bef1b74e162729b SHA512 2b71f9f14cb2bed74184fea23f1111588753c6054c308cd33fc79d0ea297219025bbea2af996535f69b63832c546145cabaeb18850bfe843251788f3f74418d6 +DIST importlib_metadata-7.0.1.tar.gz 50537 BLAKE2B 791a5d11e7b52f1563f69e4c6014ca8d29995a673d9f55b5ab809215f8e1f3410ed52e80443d28fa944f460a2d55c6e857bf34533376a05ae677186cfd3916dd SHA512 73cdd72e0e39c34beb357bafd0ece2ebdf7def4c9c34f434f4be6da53c70206e5bc9ec3e6ddf0282e1511ddf14a9a562b09cab822483733802bed19e23716023 diff --git a/dev-python/importlib-metadata/importlib-metadata-7.0.1.ebuild b/dev-python/importlib-metadata/importlib-metadata-7.0.1.ebuild new file mode 100644 index 000000000000..b944433689b4 --- /dev/null +++ b/dev-python/importlib-metadata/importlib-metadata-7.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +# NB: this package extends beyond built-in importlib stuff in py3.8+ +# new entry_point API not yet included in cpython release +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Read metadata from Python packages" +HOMEPAGE=" + https://github.com/python/importlib_metadata/ + https://pypi.org/project/importlib-metadata/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +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_metadata" + version = "${PV}" + description = "Read metadata from Python packages" + EOF +}