diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
commit | 8796aaedb3257bbe4d80b0033408b2210b2259d6 (patch) | |
tree | 1ffee2ca4a87bd5dba43077259c000f9086fbfc8 /dev-python/yarl | |
parent | 61a1cada8ceb208845fa604b982216b0a7b099cb (diff) |
gentoo auto-resync : 17:10:2024 - 04:04:26
Diffstat (limited to 'dev-python/yarl')
-rw-r--r-- | dev-python/yarl/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yarl/yarl-1.15.3.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index b0185aa9dc02..24e196387791 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -5,6 +5,7 @@ DIST yarl-1.14.0.tar.gz 166127 BLAKE2B 7974896144ef23309aead8935f18fe717e39b982b DIST yarl-1.15.0.tar.gz 167065 BLAKE2B 2daae4ee528501cc00e4e967bce32b15585a827463b76ef8c27db3808dc3bfeac93de8eec0e2a9af28d3622d70a40ce66845c69744ad49dda7205e93d047f614 SHA512 25a2b2434204e29f4fc4ef438efda0747aedc3e703a8164f9aa5fee809d8d01895f3b0a9aa4de1d3deaa719d940b2b5e681360e47d8e3704200bffdf5e7151a8 DIST yarl-1.15.1.tar.gz 168422 BLAKE2B 2368b4c340d5aa63b49d75befdf7d6e5b9a9a4509406b0beadbca7e20610b29d7f737b29a1b75dc5b1682fd60d3d22177dbcf756aa217cd926e3b82502ca11a0 SHA512 90a60b037c6fac6139016a9846d230cd0ed67875c31eadb61ad0ee1e239caf95a59cfed6312ce83215bb7ae9eca366d1162cbf7f5e61b236cee75bac0c08670c DIST yarl-1.15.2.tar.gz 169318 BLAKE2B aa7cc694b0d654308963b5689025d9bf3223d34b1a8678cfb646d03bf97ed9a253c77813c299d0035601e10f3dc69caa7dd16decc8a02a7b9179318642545afc SHA512 38b7011dbea635a2b70b14677ca57d0283b301ee13ee8f97b29fd604d9df55bd59ae8ac16cd08185aed6cdfa2ea760dafc313e0653adfe513e385e2a96e5b563 +DIST yarl-1.15.3.tar.gz 169695 BLAKE2B 86e6a85983e7c7b7d11baa7624eed4271d90ff1a13b853dab8d5a4a1e14fd7308c16b90bdc5cbded4e55641f5777232052859a60104d6391d177972645a1da39 SHA512 751042c83dbd5f61091facc22a49f9eb109b9967bb6eb5325247a68da179de9cd0508634c1f6fbaab20ca20ce70d7f68f032110ee41a9affe58bb3eee66a0833 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 EBUILD yarl-1.11.1.ebuild 797 BLAKE2B dfb6ab453a2fa6cdf0b371723ba727ac72615c18cebf2a6f07101a8ae2cc11da416ce1a803d63b40e05b2cf168babe5dbc3225ff965f29f7834eb6434319f685 SHA512 458d640076d235ea7fab6b97d347f806df39632542be59f9ace0c021bb9a567d6eea06e9bcdc4380c0ce7cb2e5b269b84bf655a98aef2d091db367f381e9a4b6 EBUILD yarl-1.12.1.ebuild 796 BLAKE2B 16e9a01b478ad995c8a34073006ebcc360ad178141e6ac7c349c13b8dc43ec02b917e5f00c08f059adbd7cb73d55e1739eb872f7c636a0d73ec7c6221119f42a SHA512 4d0382077dc2685f7cb7abea52171fbd2d03217381f94f6ca7cdf3553d9d709ba4cd129a748d55c6ded11d0d64e70d4f1dd9d66ddc3e8fdafc4902b5611b4c57 @@ -13,5 +14,6 @@ EBUILD yarl-1.14.0.ebuild 1372 BLAKE2B c7f6629c968894e429c6db3f63ddd45b89a212c93 EBUILD yarl-1.15.0.ebuild 1372 BLAKE2B c7f6629c968894e429c6db3f63ddd45b89a212c930c37abdc9f60a972a184b3e74fabeb0c298ee82f22e53daec650e1ac2a4d9ee5a41e3d8d32077cd26c4ff3e SHA512 bad449ecd1356c104be4f1c10c72c7067b6c00b1c45bb62ee23349afdcd086a499f20fc169872612fed2a42280c3479e442a68f0a400e11e423380807d753e45 EBUILD yarl-1.15.1.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 EBUILD yarl-1.15.2.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 +EBUILD yarl-1.15.3.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.15.3.ebuild b/dev-python/yarl/yarl-1.15.3.ebuild new file mode 100644 index 000000000000..2f428eea3047 --- /dev/null +++ b/dev-python/yarl/yarl-1.15.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[@]}" +} |