mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
dev-python/jaraco-collections: new package required by setuptools
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
2c05938934
commit
bba5590493
@ -314,6 +314,7 @@ dev-python/hatchling
|
||||
dev-python/hatch-vcs
|
||||
dev-python/idna
|
||||
dev-python/installer
|
||||
dev-python/jaraco-collections
|
||||
dev-python/jaraco-context
|
||||
dev-python/jaraco-functools
|
||||
dev-python/jaraco-text
|
||||
|
||||
1
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST jaraco_collections-5.1.0.tar.gz 19026 BLAKE2B b0ecae5ddfabe22aca0fb0cb4ef6c07dd0c6b56cfd6920787779eb47631c3b4001f35a97f040a71495975fce40d5ec509799d19e23b81ccbf4afbae461cf0624 SHA512 b03b247657ad25df0b86ad125728e37c8123fdd1834adfc16c7e41fb9c31b9d4c1b168ed40614b965caafc7dd55fd14bba8c355648c8b5cca13b50736bc32883
|
||||
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYPI_PN=${PN/-/.}
|
||||
PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Models and classes to supplement the stdlib collections module"
|
||||
HOMEPAGE="
|
||||
https://github.com/jaraco/jaraco.collections/
|
||||
https://pypi.org/project/jaraco.collections/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jaraco-text[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||
sed -i -e \
|
||||
's/build-backend = .*/build-backend = "flit_core.buildapi"/' \
|
||||
-e '/^name = /a\' -e "version = \"${PV}\"" \
|
||||
-e '/^dynamic =/d' \
|
||||
pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
14
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/metadata.xml
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/metadata.xml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">jaraco.collections</remote-id>
|
||||
<remote-id type="github">jaraco/jaraco.collections</remote-id>
|
||||
<bugs-to>https://github.com/jaraco/jaraco.collections/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user