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 C3B6015864F for ; Mon, 27 Mar 2023 19:21:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3978CE08BB; Mon, 27 Mar 2023 19:21:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 2373CE08C8 for ; Mon, 27 Mar 2023 19:21:42 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 572AE340B54 for ; Mon, 27 Mar 2023 19:21:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FF2A98C for ; Mon, 27 Mar 2023 19:21:39 +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: <1679944858.6f2ba459f405f49c939aed0621d967e3f254aa58.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/random2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/random2/random2-1.0.1-r2.ebuild X-VCS-Directories: dev-python/random2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6f2ba459f405f49c939aed0621d967e3f254aa58 X-VCS-Branch: master Date: Mon, 27 Mar 2023 19:21:39 +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: 59703e09-84dd-436e-9c35-f8e68dd9b09d X-Archives-Hash: e9f3b205d7833a6c2c805e67bc72c824 commit: 6f2ba459f405f49c939aed0621d967e3f254aa58 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 27 19:16:04 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 27 19:20:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2ba459 dev-python/random2: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/random2/random2-1.0.1-r2.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild index b7e06f096120..22d0334374a0 100644 --- a/dev-python/random2/random2-1.0.1-r2.ebuild +++ b/dev-python/random2/random2-1.0.1-r2.ebuild @@ -6,18 +6,22 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Python-2.7 random module ported to python-3" HOMEPAGE="https://pypi.org/project/random2/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" +SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)" LICENSE="PSF-2" SLOT="0" KEYWORDS="amd64 arm64 ~riscv x86" -BDEPEND="app-arch/unzip" +BDEPEND=" + app-arch/unzip +" distutils_enable_tests setup.py -PATCHES=( "${FILESDIR}/${P}-py39-tests.patch" ) +PATCHES=( + "${FILESDIR}/${P}-py39-tests.patch" +)