diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
commit | 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (patch) | |
tree | 81d78cbf05f5daa7d57418d32f44b0149a56a765 /dev-python/yarl | |
parent | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (diff) |
gentoo auto-resync : 03:12:2024 - 02:07:18
Diffstat (limited to 'dev-python/yarl')
-rw-r--r-- | dev-python/yarl/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yarl/yarl-1.18.3.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 287d98ae566b..6d62fcb6ae84 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,7 +1,9 @@ DIST yarl-1.17.1.tar.gz 178163 BLAKE2B 88d864944829e4b69ae346b0c6eb205969e9f9d2326d46f1eb4ed0506516f71730731763daf56e8230b699d5775c053c4750f6a770422cad392199ba5c099074 SHA512 5c1c25a8b828694a6538e7a07d01fc5d14238b279f8db4d76ee247a4f043b3e836c292cf6a77bb5ba544ec43dee449f2417eb0a5aaed6954449043a0fea3f811 DIST yarl-1.17.2.tar.gz 178947 BLAKE2B 5cca5ef7fa2745f76c72ba0fbd54a62344f8961d365f6777812cec6c44d42d3a573f25db25b3afe7ff93775aaff8c4f71a6cf13ed86061e14e37cab984c0d7d8 SHA512 d99cfb5bb89f60b41cad021af5971e42439f47c77b24de0ab43c372cedb15ee18bfca478889f002a322e24838e2978c30923f965ea879ba52549644b2a957348 DIST yarl-1.18.0.tar.gz 180098 BLAKE2B bd49cb019cb0a7572ddb562aaf599929bfcd2f67758631d93fc0db90ea60919852f90ea196d6a5bdba9d03661d2bcbe82e2d51284c0ff6acc76b269e99bed5b5 SHA512 061b4cdb5d18718e847a45c5fdc854f75294be2198d5d803bf473eae06467a56188e36c672d31f083c7a96f213db831fe79c92479a43b63a40cc4a007062c0aa +DIST yarl-1.18.3.tar.gz 181062 BLAKE2B 41e0e6173bb257b643d7678e3011af7ea7f6ac8100bd68aae6e5a9af95e36ae95f83c516a11169fd1d1d669742b3a8878267533c81289ec56a66bb0d53b2db25 SHA512 1686c5ef1b5f3e1cebd121abb7916e45f4a9b08d941a80c34861e87f6121187ee7a553a373405a9fef2332177adf55ffe89bc9a3cabbf24e31905357fdeceba3 EBUILD yarl-1.17.1.ebuild 1473 BLAKE2B f99183ccce11f8e3fcd17a532a04763786f80d869058208f7187d0d4c38f0fefad85f0c842ec12e901e100e1236495d9702c21fd22844d67aa66b37a88f6289f SHA512 6aa9a0bce27b199af8f597b086153c2d1fb433039fa1cbc5553d610f1a358a2b5848e40ab4f93ff52640bf00532bcbaa6107fb683d358810cd3146dd83f19dcd EBUILD yarl-1.17.2.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 EBUILD yarl-1.18.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 +EBUILD yarl-1.18.3.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 MISC metadata.xml 440 BLAKE2B 10fd0e37c9be76c5d1dd90b9fd1cb1e5161fc5a7d2b51bcb5658a8c187a67d5f9573241733c3f9570e9fb7767bf84b38a6f8b2c212596627bea4e1686b7eb41e SHA512 c9e340124ed93cb0d52a0ae5abd43c10528197893c3d5ab57a0eb7046ebae5b80119f7b033d6697110c4bc064c0a8581d904788f6969cb52a433064067898cbe diff --git a/dev-python/yarl/yarl-1.18.3.ebuild b/dev-python/yarl/yarl-1.18.3.ebuild new file mode 100644 index 000000000000..2f428eea3047 --- /dev/null +++ b/dev-python/yarl/yarl-1.18.3.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[@]}" +} |