diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 04:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 04:03:58 +0100 |
commit | 3aae425b3c39d02e2dc917db0fae8c225c158ca1 (patch) | |
tree | 89f296451fba2217a7c18592ecb1762a920dead7 /dev-python/yarl | |
parent | 6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (diff) |
gentoo auto-resync : 10:10:2024 - 04:03:57
Diffstat (limited to 'dev-python/yarl')
-rw-r--r-- | dev-python/yarl/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yarl/yarl-1.14.0.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 55da808ecff5..4293a594ed7b 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,9 +1,11 @@ DIST yarl-1.11.1.tar.gz 162095 BLAKE2B 2fc83033411ec3c1d2a8c4f6b2cbd1fab977a7dd58d4e736e8ecd2a0ddc75ca6db76aa6b7b63ced7b8a29e213caa93ba2858557f1455be705926b8d6efb6e1eb SHA512 a64bc1d9fa93029c54c359cf3667cf2fc1cf35cbea69911521af998bf43852a092844fa206bf3b31d38d2c8ad14f9eab7358020350cda22826486c317abf09f1 DIST yarl-1.12.1.tar.gz 163223 BLAKE2B 9d295c9e018ef15f3b089327006ea7dda7689b6ad7730caa716265cb5fd433fbc2bfd61f30be3f53a28a77102c4e04d87b2f4684aaaa3979f2e9f5e4dba8da6b SHA512 3e27c9ee9c416b4c8eb68ec425cba5d913cc7193670a0abb454551170c711b50b96bd6e10cee9fa34456e57d6a9d18852082a3789243b123ed22c9838b8e9eac DIST yarl-1.13.1.tar.gz 165912 BLAKE2B dfe4f9ac09c66d05b6d072cd6676d1753f97224d556dbd22601e544569d5e852b073c1a89e4ba471177c530ec580fb74700b9e6e21730c548e434ef75933b6bf SHA512 8fccb36dbb019d02fc50f006a3a59decd413abfc6387fd7c1220444f4f79412be1d5119c32fd668b3d553fbaf4de64b9135345e8300c7fa025d892c847955f88 +DIST yarl-1.14.0.tar.gz 166127 BLAKE2B 7974896144ef23309aead8935f18fe717e39b982bc75eb3c828eaf9a1d01b413c2bbb270344160a396927fc32571928c67eae46146920cc6908e2e3f74e90cd8 SHA512 8cc9d1aaa6fcccdfce5ea0a0ac3f89b81c5719568b76e66637e9a7baa0637770523f86495f70e28f94f166579e77d72afd708cef1306dafcd8093c7fb2a1d3f0 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 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 EBUILD yarl-1.13.1.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 +EBUILD yarl-1.14.0.ebuild 1372 BLAKE2B c7f6629c968894e429c6db3f63ddd45b89a212c930c37abdc9f60a972a184b3e74fabeb0c298ee82f22e53daec650e1ac2a4d9ee5a41e3d8d32077cd26c4ff3e SHA512 bad449ecd1356c104be4f1c10c72c7067b6c00b1c45bb62ee23349afdcd086a499f20fc169872612fed2a42280c3479e442a68f0a400e11e423380807d753e45 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.14.0.ebuild b/dev-python/yarl/yarl-1.14.0.ebuild new file mode 100644 index 000000000000..d06c598c12e4 --- /dev/null +++ b/dev-python/yarl/yarl-1.14.0.ebuild @@ -0,0 +1,60 @@ +# 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 -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[@]}" +} |