commit:     45692dfd37e8a10a089bacfd4a518538fa778569
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 05:04:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 05:17:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45692dfd

dev-python/yarl: Bump to 1.17.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/yarl/Manifest           |  1 +
 dev-python/yarl/yarl-1.17.1.ebuild | 66 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest
index e70ba2e8e698..7dd224cd7a24 100644
--- a/dev-python/yarl/Manifest
+++ b/dev-python/yarl/Manifest
@@ -3,4 +3,5 @@ DIST yarl-1.14.0.tar.gz 166127 BLAKE2B 
7974896144ef23309aead8935f18fe717e39b982b
 DIST yarl-1.15.5.tar.gz 172410 BLAKE2B 
49d31ed31466921a04d1e83d98c6ec742aaa71a7675da9c9ee4f99ce4ca6813cd471e92e8ee78e4c33c3ea2efe981b8603bf677100b1e9b8f6de3324e2c43074
 SHA512 
d1219971f5bc90e1d1f4b256a8e90fd98433086cb326f658bd68bfaefd97c12c0ff8121ab16fdd047236f29ce6c3907ea6b0afbde3526fe8ec290dec379ca732
 DIST yarl-1.16.0.tar.gz 176548 BLAKE2B 
038934a1ef05c78fd04702ed4519c121b7e9c5e6f41069e179cd7f09c178da9e6a73ab14cf5083dfa0597b24ed351dac0d937f419c58e510c9eb695c3639d2f3
 SHA512 
ee3933aed6ac0cc5df24cd0e8f3d3d560348b4a7c960562a7bee16e105b6104e24c5720388cd4a1ae20f796f27bf0ce8c599999d554e3cd790c6db27c6799d22
 DIST yarl-1.17.0.tar.gz 177249 BLAKE2B 
e84d042ed3028989e69e59621f123deda905c3ab9c4b99e58cf8f306ca4599ef4525d93838dc1595f1cdf8028fc6708fd3d5b7a698b0ca9bba1ac4e754a218f4
 SHA512 
bae5ae31ddb072c9a1f6902cb87dbfbf194e8a67532da336658382a647961e1290166500ac358528681e406ba99b76825293eac6ec042a480c018c421a135610
+DIST yarl-1.17.1.tar.gz 178163 BLAKE2B 
88d864944829e4b69ae346b0c6eb205969e9f9d2326d46f1eb4ed0506516f71730731763daf56e8230b699d5775c053c4750f6a770422cad392199ba5c099074
 SHA512 
5c1c25a8b828694a6538e7a07d01fc5d14238b279f8db4d76ee247a4f043b3e836c292cf6a77bb5ba544ec43dee449f2417eb0a5aaed6954449043a0fea3f811
 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 
367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d
 SHA512 
e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82

diff --git a/dev-python/yarl/yarl-1.17.1.ebuild 
b/dev-python/yarl/yarl-1.17.1.ebuild
new file mode 100644
index 000000000000..2f428eea3047
--- /dev/null
+++ b/dev-python/yarl/yarl-1.17.1.ebuild
@@ -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_{10..13} pypy3 )
+
+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.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[@]}"
+}

Reply via email to