summaryrefslogtreecommitdiff
path: root/dev-python/yarl
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-02 07:10:59 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-02 07:10:59 +0000
commitc0656c8d2536fafb7b43a5c83288b99f600ca54b (patch)
treeeaec9e8b3ef59931427d76ec6a95cab7a889b4a9 /dev-python/yarl
parent0afa2e4c11accc0b2f071494ec4dc1f81b8d1a75 (diff)
downloadbaldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.tar.gz
baldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.tar.xz
baldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.zip
Adding metadata
Diffstat (limited to 'dev-python/yarl')
-rw-r--r--dev-python/yarl/Manifest4
-rw-r--r--dev-python/yarl/yarl-1.20.1.ebuild66
-rw-r--r--dev-python/yarl/yarl-1.23.0.ebuild (renamed from dev-python/yarl/yarl-1.21.0.ebuild)14
3 files changed, 15 insertions, 69 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest
index 143dc9bad2d2..f0f4f3cd6a5e 100644
--- a/dev-python/yarl/Manifest
+++ b/dev-python/yarl/Manifest
@@ -1,3 +1,3 @@
-DIST yarl-1.20.1.tar.gz 186428 BLAKE2B 904bc2fba743d7cc0f313166477ff93288816853d7831ed25b3589749878b78c5c10ccb0bb8d11cbad66cea8c5c8eab4fa32ff0542351cf1351a7de5c235ebd6 SHA512 2e7d2c69ddf07f04468b40dc929f5c54bcc3026386fa5fe98bc7f8b8f8aafee05d1df00a42377767e8a9e839f76b8cf569b8e373b3e94af6a954e68a4031fcc1
-DIST yarl-1.21.0.tar.gz 187069 BLAKE2B cab583d33154cacb73bc0297a0a53e220dbde17f9d4812b8a6a4b1e69d8589c102710a2f6694f802b6ee944fc21a69a941bb8ce333a9c5bafecda9d11c4c4050 SHA512 e37316deae6e503b7cdb8b01c767d725776cedbb189735575d18376480a6de875307b436fcbe2dba46095b4ca340c57e51d6247b452c00a9f9dd54477b70d483
DIST yarl-1.22.0.tar.gz 187169 BLAKE2B ea3eecf2e2cf25f25c9aab1608facd2c4a3553418170e66ede5e2730eedd628a019250394e16a2aed57b9bfd4f43981f7be709d5aff44f5394f244c3ac6b31ce SHA512 232b698ee4c62b62db51e5ea7db3974b80f70fc7e006700f4ab348d1ac666172a64106f18f9d213a5f6ee88b189359701f51c26795693fc183f992e65f1ec4c9
+DIST yarl-1.23.0.tar.gz 194676 BLAKE2B aeef8f23358fcd9a003f5bb78e220197cb4c9eb3f77c594a2d0de887541ab0ea342054b4ee07981ebcf93815f72b447e254c93bd7d433030dbaea1961184b3bb SHA512 b696d996a335a27590579142c90d0787965801df023e867ed7bda2d0e21b5bdf8ff34673a236e5fdbb1cbb492798173a6f7fefc8b3c1fb30677516762d7fb89e
+DIST yarl-1.23.0.tar.gz.provenance 9221 BLAKE2B b38cc0d9d8d3d5cb564dea65b98ff28b0b8d6547393b343581389ed096d9365d5bb394d3a7b1dee40ab86fd486febb3dd0d1663ca6b7d0949f61ed0eb6292400 SHA512 27ba254d9262ba4ae43de0fcc7dbc67085ae84402d4c94dfe48350dc3a1f4cdc7e898a39bfc723cf2e1246b76de1be8f3f77362d9614eb8a00029e595b539f31
diff --git a/dev-python/yarl/yarl-1.20.1.ebuild b/dev-python/yarl/yarl-1.20.1.ebuild
deleted file mode 100644
index 27b27d74d1af..000000000000
--- a/dev-python/yarl/yarl-1.20.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2025 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_{10..14} )
-
-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="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="+native-extensions"
-
-RDEPEND="
- >=dev-python/idna-2.0[${PYTHON_USEDEP}]
- >=dev-python/multidict-4.0[${PYTHON_USEDEP}]
- >=dev-python/propcache-0.2.1[${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[@]}"
-}
diff --git a/dev-python/yarl/yarl-1.21.0.ebuild b/dev-python/yarl/yarl-1.23.0.ebuild
index 8292e19c5a16..2c6645f8373b 100644
--- a/dev-python/yarl/yarl-1.21.0.ebuild
+++ b/dev-python/yarl/yarl-1.23.0.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=standalone
+PYPI_VERIFY_REPO=https://github.com/aio-libs/yarl
PYTHON_COMPAT=( python3_{10..14} )
inherit distutils-r1 pypi
@@ -36,6 +37,17 @@ BDEPEND="
EPYTEST_PLUGINS=( hypothesis )
distutils_enable_tests pytest
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # override insane flag defaults
+ cat >> packaging/pep517_backend/_cython_configuration.py <<-EOF || die
+ @contextmanager
+ def patched_env(*args, **kwargs):
+ yield
+ EOF
+}
+
python_compile() {
local -x YARL_NO_EXTENSIONS=0
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then