From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B139B158090 for ; Wed, 18 May 2022 07:00:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F202E0898; Wed, 18 May 2022 07:00:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 80C66E0898 for ; Wed, 18 May 2022 07:00:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 98A77341D72 for ; Wed, 18 May 2022 06:59:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73B78475 for ; Wed, 18 May 2022 06:59:56 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1652857190.9ddbcc51376d09ef36eeab749139165201873e29.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.7.2-r3.ebuild X-VCS-Directories: dev-python/yarl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9ddbcc51376d09ef36eeab749139165201873e29 X-VCS-Branch: master Date: Wed, 18 May 2022 06:59:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 901290ca-e891-43e2-8c92-154a530365cc X-Archives-Hash: 0d54edc67fce8afcfd1fd7953b743445 commit: 9ddbcc51376d09ef36eeab749139165201873e29 Author: Michał Górny gentoo org> AuthorDate: Wed May 18 06:36:49 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 18 06:59:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ddbcc51 dev-python/yarl: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/yarl/Manifest | 1 + dev-python/yarl/yarl-1.7.2-r3.ebuild | 42 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index b1b79a50c5f5..39248b719129 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1 +1,2 @@ +DIST yarl-1.7.2.gh.tar.gz 108115 BLAKE2B 7bd212b652a77ac29fde4c6565c48c4067f2a24db6bbf735107f3dfa5ee8b6ad2e5a5c3c6206e8dc7692e4cfd5c975d4304dd93280087574bddd73a337417c52 SHA512 bf69c5758f523259757ff84a8737e28931f46311f12f6e141329a5074d34a0cfb45795bf79cb7b78cb676ca7bc38042a2fbd946a5f41bf1d149ada50b88b31ae DIST yarl-1.7.2.tar.gz 168562 BLAKE2B 7da82193e9fa0d317bd4ba46d63ce04a36c95fc3a389d6800d12e0ddecaacb41c07a665db9e731a9112d98a0f3133861b174dc62523da202d0d06f4cb995c354 SHA512 ac5b630dd592ffa8b095e4d7eee2facaeac8ab578e55fd8856c6a6349f514081020c707cd0b33f250c0e78133e92ed6156835660f14c5ae54d60b4fdf6ea50ea diff --git a/dev-python/yarl/yarl-1.7.2-r3.ebuild b/dev-python/yarl/yarl-1.7.2-r3.ebuild new file mode 100644 index 000000000000..1f6c79fa64c5 --- /dev/null +++ b/dev-python/yarl/yarl-1.7.2-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" +SRC_URI=" + https://github.com/aio-libs/yarl/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +src_configure() { + > .install-cython || die + emake cythonize +} + +python_test() { + cd tests || die + epytest --override-ini=addopts= +}