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 11128158013 for ; Sat, 2 Dec 2023 07:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A02A32BC04A; Sat, 2 Dec 2023 07:09:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8A0F92BC04A for ; Sat, 2 Dec 2023 07:09:37 +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 35E64335DC2 for ; Sat, 2 Dec 2023 07:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7951D1451 for ; Sat, 2 Dec 2023 07:09:33 +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: <1701500388.3f9be66bce904b4727e06e5620f3750a5bc020c8.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-6.9.0.ebuild X-VCS-Directories: dev-python/importlib-metadata/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3f9be66bce904b4727e06e5620f3750a5bc020c8 X-VCS-Branch: master Date: Sat, 2 Dec 2023 07:09:33 +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: 493ca657-989f-4c0b-a028-e4d4afd9bfe2 X-Archives-Hash: 0f4202bf66049081cbba05450bf9a416 commit: 3f9be66bce904b4727e06e5620f3750a5bc020c8 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 2 06:52:21 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 2 06:59:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9be66b dev-python/importlib-metadata: Bump to 6.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/importlib-metadata/Manifest | 1 + .../importlib-metadata-6.9.0.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest index c1bd543536c0..c53a18f4a245 100644 --- a/dev-python/importlib-metadata/Manifest +++ b/dev-python/importlib-metadata/Manifest @@ -1 +1,2 @@ DIST importlib_metadata-6.8.0.tar.gz 53494 BLAKE2B b4bb1b423cb470f5aa26d763e459f40a49b3163fc74d2d0e1883e1308c775393ebcbd369bbc4233398e38190ba683ffd7e14c0b355a289daa81eaeddbb7d1414 SHA512 04746aac8278f2fb0064df36a558890a0c9de7c8e61c31d7548ff8ad27091e3dcbda79903eb01053f7ad85b91274d92ded40b730c095ad56672427ab17e3f921 +DIST importlib_metadata-6.9.0.tar.gz 53933 BLAKE2B 741f42f675d13ed619f3e0fff22186f6946d380898cb899a065238c3c9be45c7b790fcddf086400468766346e6b3769e268f8905d02a3d55c9a6534e53415515 SHA512 e3ed9a9a7c7b4170ca5ef25e4dcd12d7a7c6f7eea88682a9ce19632362849ddb46cc76b3431a6df3ea7a24da2e1530ead02b0404ec163137498afaaa86b58a19 diff --git a/dev-python/importlib-metadata/importlib-metadata-6.9.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.9.0.ebuild new file mode 100644 index 000000000000..b944433689b4 --- /dev/null +++ b/dev-python/importlib-metadata/importlib-metadata-6.9.0.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 +}