dev-python/yarl: add 1.17.1

Closes: #4148
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2025-02-19 22:52:35 +01:00
parent c1821b3acf
commit 1e37d7445b
3 changed files with 70 additions and 2 deletions

View File

@@ -606,12 +606,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 2357 Ebuilds in total, 2343 of them have in total 2384 (43 different) licenses assigned.
There are 2358 Ebuilds in total, 2344 of them have in total 2385 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1338|
|Apache-2.0|558|
|Apache-2.0|559|
|GPL-3|145|
|BSD|125|
|GPL-2|27|

View File

@@ -1,5 +1,7 @@
DIST yarl-1.13.1.tar.gz 165912 BLAKE2B dfe4f9ac09c66d05b6d072cd6676d1753f97224d556dbd22601e544569d5e852b073c1a89e4ba471177c530ec580fb74700b9e6e21730c548e434ef75933b6bf SHA512 8fccb36dbb019d02fc50f006a3a59decd413abfc6387fd7c1220444f4f79412be1d5119c32fd668b3d553fbaf4de64b9135345e8300c7fa025d892c847955f88
DIST yarl-1.17.1.tar.gz 178163 BLAKE2B 88d864944829e4b69ae346b0c6eb205969e9f9d2326d46f1eb4ed0506516f71730731763daf56e8230b699d5775c053c4750f6a770422cad392199ba5c099074 SHA512 5c1c25a8b828694a6538e7a07d01fc5d14238b279f8db4d76ee247a4f043b3e836c292cf6a77bb5ba544ec43dee449f2417eb0a5aaed6954449043a0fea3f811
DIST yarl-1.9.7.tar.gz 153261 BLAKE2B 745145258d9a3ceb7d41f46b07c56418c2f294537544c310eea49752e7f9d83cd9cdb44c74fa4b2aa8e95ed72f12113ce634af745116100d9599c06b5fa873d4 SHA512 ffb07f1170a483e9018f0b497a44c7e086e41e76067a0ff9ad9941d422656fdb8ad0be04702d221767798233cf5f2c0e849226c8e82f1a64ff6e84eeb1ed6c5e
EBUILD yarl-1.13.1.ebuild 735 BLAKE2B 4581c91a0623cd08c12912016c9b592f329b1438ec5e1e0f245bbd8772afede2fe5df335a84ed82eb17e3d2bd57d1fd8fadf35f9a99c9f966ce1f64d0111e28a SHA512 4d2534016f63f6007eafdf4885731c5ca793a91da725d666fb7d2739d2619b7660f28a3ec0d0cfadd44d9b1df87d81004cb9ef7ae896e2ac5e51a5094fc0bea3
EBUILD yarl-1.17.1.ebuild 1413 BLAKE2B 7e77bf851bc566e9c2ba3667073953c9855402a5ca8380403e958c2522079d7bd6890a906905781d9e917bf6773d00cb34ecd7bffafbab7c8931e9f419a9f7a8 SHA512 b7969977bcd98d98f288d7a8a84f28fe5b4ba86ccb91b95a6b0231321b3de8b1e78cbb36b39d366e231788ef2f990da5ae4b18c6674bcb3d47203a9278138e46
EBUILD yarl-1.9.7.ebuild 735 BLAKE2B 4581c91a0623cd08c12912016c9b592f329b1438ec5e1e0f245bbd8772afede2fe5df335a84ed82eb17e3d2bd57d1fd8fadf35f9a99c9f966ce1f64d0111e28a SHA512 4d2534016f63f6007eafdf4885731c5ca793a91da725d666fb7d2739d2619b7660f28a3ec0d0cfadd44d9b1df87d81004cb9ef7ae896e2ac5e51a5094fc0bea3
MISC metadata.xml 510 BLAKE2B b71d4ef6572b9b92c69edb95ca9db8c207ad5f98a7e9c6efc594406d2166700ea248472ba0940ec831c92337f1941d630b4852fcbd824d4b769a5add93c7803d SHA512 b6aa9af1d899f091ba0e8d7aa7a3f778d0e195d769c42c4a40ef9badd568241f0e0c682493ecdd5989af75e3f7774f6a4530df513cdbc96659960ae7f1da1873

View File

@@ -0,0 +1,66 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Yet another URL library"
HOMEPAGE="
https://github.com/aio-libs/yarl/
https://pypi.org/project/yarl/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="+native-extensions"
RDEPEND="
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
>=dev-python/multidict-4.0[${PYTHON_USEDEP}]
>=dev-python/propcache-0.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
native-extensions? (
dev-python/cython[${PYTHON_USEDEP}]
)
dev-python/expandvars[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_compile() {
local -x YARL_NO_EXTENSIONS=0
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
YARL_NO_EXTENSIONS=1
fi
distutils-r1_python_compile
}
python_test() {
local EPYTEST_IGNORE=(
# benchmarks
tests/test_quoting_benchmarks.py
tests/test_url_benchmarks.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local opts=()
# note different boolean logic than for backend (sigh)
local -x YARL_NO_EXTENSIONS=
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
YARL_NO_EXTENSIONS=1
fi
rm -rf yarl || die
epytest -o addopts= "${opts[@]}"
}