From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1680661-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62D92158042 for <garchives@archives.gentoo.org>; Thu, 17 Oct 2024 02:51:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8892CE07F0; Thu, 17 Oct 2024 02:51:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 709C2E07F0 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 02:51:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 539CB342FB8 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 02:51:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD0D622D7 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 02:51:36 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1729133098.8f99313b085819e57c75aad07baac6bc4ebbb0c7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yarl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/yarl/Manifest dev-python/yarl/yarl-1.15.4.ebuild X-VCS-Directories: dev-python/yarl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8f99313b085819e57c75aad07baac6bc4ebbb0c7 X-VCS-Branch: master Date: Thu, 17 Oct 2024 02:51:36 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2206dd43-5cc5-4921-912b-9707a6870fa9 X-Archives-Hash: 1a283ea821050e4d78f0f2f0ce75e7b5 commit: 8f99313b085819e57c75aad07baac6bc4ebbb0c7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Oct 17 02:44:58 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Oct 17 02:44:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f99313b dev-python/yarl: Bump to 1.15.4 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/yarl/Manifest | 1 + dev-python/yarl/yarl-1.15.4.ebuild | 66 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index ecc6a8d5ce9f..bceea5f2617f 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -2,4 +2,5 @@ DIST yarl-1.12.1.tar.gz 163223 BLAKE2B 9d295c9e018ef15f3b089327006ea7dda7689b6ad 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.15.3.tar.gz 169695 BLAKE2B 86e6a85983e7c7b7d11baa7624eed4271d90ff1a13b853dab8d5a4a1e14fd7308c16b90bdc5cbded4e55641f5777232052859a60104d6391d177972645a1da39 SHA512 751042c83dbd5f61091facc22a49f9eb109b9967bb6eb5325247a68da179de9cd0508634c1f6fbaab20ca20ce70d7f68f032110ee41a9affe58bb3eee66a0833 +DIST yarl-1.15.4.tar.gz 170770 BLAKE2B 26a918171a4c46c4d008681f3c702d00230118258cbea9752e28006e42868c52c042f836d3182800abe8468fd45783c221089ff034252891c7b2a1e66080594c SHA512 2b3104684b2b6c26e9938c86c3ff00dee01e71f15997a8df04333c3c3b150f0f387e5f0bab015c1d0df40a1b86cfe6dec01cbadb473ce81cd898270fa0ac1fe2 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 diff --git a/dev-python/yarl/yarl-1.15.4.ebuild b/dev-python/yarl/yarl-1.15.4.ebuild new file mode 100644 index 000000000000..2f428eea3047 --- /dev/null +++ b/dev-python/yarl/yarl-1.15.4.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[@]}" +}