From ec855d6458b11bf74ab1aa2972e9210204ec0f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 14 May 2024 18:03:50 +0200 Subject: [PATCH] dev-python/exceptiongroup: Use PyPI sdist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/exceptiongroup/Manifest | 2 +- .../exceptiongroup/exceptiongroup-1.2.1.ebuild | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index d9e4e61724b5e..9f098dc3859b2 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1 +1 @@ -DIST exceptiongroup-1.2.1.gh.tar.gz 28203 BLAKE2B 65068805670105246c84115a4030641eeff0384df01fc6b7ebd3215c7933908d8db8c8e272efd056b3f044110bf285d3fd477002e0db4c8f99f83bea71f28ce4 SHA512 6f1f29e017192f5881f28855692ad41fe781846b5daa082699350c8dd5990bc3aa54751e1776c620a3a48bf5a8d5bd9b4b50f09d848051b00ba19d825116e7a7 +DIST exceptiongroup-1.2.1.tar.gz 28717 BLAKE2B 70e8093ad6af81343bf90e349671265e612f12fe25e5caeaef5917353159415215e4bb1921d9a0fcde6c3bd1a31a84f032827a2d5d8884daea777d7b110d8995 SHA512 7e0216ac2d76f0b3d29a0690790aa98d8e0f019eaee74e37e4ddcb97553a6a4d5037982478e663e8dfba49731444decda06122a3cb68f1c538589f5b43bdebfc diff --git a/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild index 0623e77dea454..67c66ba7616b5 100644 --- a/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild +++ b/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild @@ -6,21 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=flit_scm PYTHON_COMPAT=( pypy3 python3_{10..12} ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/_} DESCRIPTION="Backport of PEP 654 (exception groups)" HOMEPAGE=" https://github.com/agronholm/exceptiongroup/ https://pypi.org/project/exceptiongroup/ " -# pypi sdist does not include tests as of 1.1.1 -# https://github.com/agronholm/exceptiongroup/pull/59 -SRC_URI=" - https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} LICENSE="MIT PSF-2.4" SLOT="0" @@ -28,8 +20,6 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv distutils_enable_tests pytest -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} - python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest