dev-python/jaraco-functools: new package, add 3.9.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 16:09:13 +01:00 committed by Andreas Billmeier
parent 122df1f8f3
commit 61184d8c07
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 81 additions and 3 deletions

View File

@ -612,12 +612,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1762 Ebuilds in total, 1751 of them have in total 1772 (43 different) licenses assigned.
There are 1764 Ebuilds in total, 1753 of them have in total 1774 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1029|
|Apache-2.0|369|
|MIT|1030|
|Apache-2.0|370|
|GPL-3|106|
|BSD|100|
|GPL-2|24|

View File

@ -0,0 +1,3 @@
DIST jaraco.functools-3.9.0.tar.gz 17221 BLAKE2B 2476e7cc9440ac21abf4c7d4d5af5d98f7a48c6fb55ef93428936265843a0e9bd02b22e8a2a748e7844015c530bc46ad67be8447b0eddb9b7ddcc1522b53c42b SHA512 5ec081aa07e736b6cacc1f6213e3212b4828824e86033b440d4fc630b0a9cf8e67497b37a239e167e421c41852ea6c0c65a4ccd39d73cc7f1cb831f605b86f00
EBUILD jaraco-functools-3.9.0.ebuild 1434 BLAKE2B 2494ed86e6fd49e26c9db9e449f33413ecb364f2e4d512c450285717ab89afaf398065cbf49763f3252145b61f3bce0f3dff9efc4f05821af72aea80ac3f7947 SHA512 25255fda6d055d613328f6fcd00a573f89129525544c7cd354f14be79b778d7c3f78ba62e521103f1f92bba0fa8b973f28549bf072e14c2487a56db17ce09bb9
MISC metadata.xml 526 BLAKE2B 0decdae1153c58866484de53317285bb2ebcd04e0269d17983ccb5efb777a8ee95e29059a7b1dc7ad14ee91cdb9c88bfc1282cfce77ec1b771f242cec1afd9cb SHA512 9ee5bac06ad6435c2df22affc8982abd3fdb40a0816fa89841d169e113828d1650243e7bac1dbf9a24ea63fbe967bd6b9e7e9817971727f801d19b25fda7fc18

View File

@ -0,0 +1,59 @@
# 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
PYPI_NO_NORMALIZE=1
PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Additional functions used by other projects by developer jaraco"
HOMEPAGE="
https://github.com/jaraco/jaraco.functools/
https://pypi.org/project/jaraco.functools/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/more-itertools-0.12.0-r1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/typing-extensions[${PYTHON_USEDEP}]
' 3.10)
"
BDEPEND="
test? (
dev-python/jaraco-classes[${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
cat > pyproject.toml <<-EOF || die
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "jaraco.functools"
version = "${PV}"
description = "Functools like those found in stdlib"
EOF
}
python_install() {
distutils-r1_python_install
# rename to workaround a bug in pkg_resources
# https://bugs.gentoo.org/834522
mv "${D}$(python_get_sitedir)"/jaraco{_,.}functools-${PV}.dist-info || die
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">jaraco.functools</remote-id>
<remote-id type="github">jaraco/jaraco.functools</remote-id>
<maintainer status="unknown">
<email>jaraco@jaraco.com</email>
<name>Jason R. Coombs</name>
</maintainer>
</upstream>
</pkgmetadata>