-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/jaraco-collections: new package required by setuptools
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
- Loading branch information
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/Manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST jaraco_collections-5.1.0.tar.gz 19026 BLAKE2B b0ecae5ddfabe22aca0fb0cb4ef6c07dd0c6b56cfd6920787779eb47631c3b4001f35a97f040a71495975fce40d5ec509799d19e23b81ccbf4afbae461cf0624 SHA512 b03b247657ad25df0b86ad125728e37c8123fdd1834adfc16c7e41fb9c31b9d4c1b168ed40614b965caafc7dd55fd14bba8c355648c8b5cca13b50736bc32883 |
42 changes: 42 additions & 0 deletions
42
.../third_party/portage-stable/dev-python/jaraco-collections/jaraco-collections-5.1.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 changes: 14 additions & 0 deletions
14
sdk_container/src/third_party/portage-stable/dev-python/jaraco-collections/metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |