summaryrefslogtreecommitdiff
path: root/dev-python/yarl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-30 03:04:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-10-30 03:04:35 +0000
commitfb57e01054259b1160d01c3c7ed9efab7902ed7d (patch)
tree42985349c49b2294954c1923df85be8bfa0c0957 /dev-python/yarl
parentbd35a61d88b111f25f4b10126e0d4755545fc7a5 (diff)
gentoo auto-resync : 30:10:2024 - 03:04:35edge
Diffstat (limited to 'dev-python/yarl')
-rw-r--r--dev-python/yarl/Manifest2
-rw-r--r--dev-python/yarl/yarl-1.17.0.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest
index fc6c6308ea53..fa6a2ac440a3 100644
--- a/dev-python/yarl/Manifest
+++ b/dev-python/yarl/Manifest
@@ -2,10 +2,12 @@ DIST yarl-1.13.1.tar.gz 165912 BLAKE2B dfe4f9ac09c66d05b6d072cd6676d1753f97224d5
DIST yarl-1.14.0.tar.gz 166127 BLAKE2B 7974896144ef23309aead8935f18fe717e39b982bc75eb3c828eaf9a1d01b413c2bbb270344160a396927fc32571928c67eae46146920cc6908e2e3f74e90cd8 SHA512 8cc9d1aaa6fcccdfce5ea0a0ac3f89b81c5719568b76e66637e9a7baa0637770523f86495f70e28f94f166579e77d72afd708cef1306dafcd8093c7fb2a1d3f0
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.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82
EBUILD yarl-1.13.1.ebuild 796 BLAKE2B 16e9a01b478ad995c8a34073006ebcc360ad178141e6ac7c349c13b8dc43ec02b917e5f00c08f059adbd7cb73d55e1739eb872f7c636a0d73ec7c6221119f42a SHA512 4d0382077dc2685f7cb7abea52171fbd2d03217381f94f6ca7cdf3553d9d709ba4cd129a748d55c6ded11d0d64e70d4f1dd9d66ddc3e8fdafc4902b5611b4c57
EBUILD yarl-1.14.0.ebuild 1366 BLAKE2B dd784fa7a0a2c53621a204d64b575f7bd22139cacb39f6b6734642602f78475041a91e27d683d1d4c35865b0d0310eaa220dddf4a27e20fb9cf8f934867364ba SHA512 900bf14d5bf8a3e5317275813f7a51ae13993f8bfbc3dab27d881be8b021c4bf4b1ef8ef8178a71ea3328a068887949b7f048cfeb863bdfd4d3cfe2e10092831
EBUILD yarl-1.15.5.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065
EBUILD yarl-1.16.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065
+EBUILD yarl-1.17.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065
EBUILD yarl-1.9.4.ebuild 789 BLAKE2B 4461b765d466a6739bb0b4667fd5e9212df330a19bf5542f28b4849c6248a25665e40931b2e7229fe6090e3b8a3ec3c638e196c9941adb49756b461545a24115 SHA512 03b1f95382c35e728842477f97acf1b7db5375117fe7e05e80ff6d6a6f5b67e97ddcb3a0f805a127da9600eebca31e07e4e001078bee72578d7771cabe58dc24
MISC metadata.xml 440 BLAKE2B 10fd0e37c9be76c5d1dd90b9fd1cb1e5161fc5a7d2b51bcb5658a8c187a67d5f9573241733c3f9570e9fb7767bf84b38a6f8b2c212596627bea4e1686b7eb41e SHA512 c9e340124ed93cb0d52a0ae5abd43c10528197893c3d5ab57a0eb7046ebae5b80119f7b033d6697110c4bc064c0a8581d904788f6969cb52a433064067898cbe
diff --git a/dev-python/yarl/yarl-1.17.0.ebuild b/dev-python/yarl/yarl-1.17.0.ebuild
new file mode 100644
index 000000000000..2f428eea3047
--- /dev/null
+++ b/dev-python/yarl/yarl-1.17.0.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[@]}"
+}