diff options
-rw-r--r-- | dev-python/exceptiongroup/Manifest | 1 | ||||
-rw-r--r-- | dev-python/exceptiongroup/exceptiongroup-1.0.0_rc3.ebuild | 34 | ||||
-rw-r--r-- | dev-python/exceptiongroup/metadata.xml | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest new file mode 100644 index 000000000000..d4a9c582583b --- /dev/null +++ b/dev-python/exceptiongroup/Manifest @@ -0,0 +1 @@ +DIST exceptiongroup-1.0.0rc3.gh.tar.gz 15973 BLAKE2B de9e6e272beca083a6bfe4bd85f9a450e7ec379b903dade27b0ea358762431dfad62d845f5285ec37ebd4f5458105fa6c9be3e075fc6122613088f023d31b04b SHA512 c3f55aae05635aa3360dbf21fbe0005df64b32c9a9521ef7d6026f9746522e4bff485784114913777b828612c20d8385dab49e5d1ffb642999c1f8180b94b2c5 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc3.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc3.ebuild new file mode 100644 index 000000000000..f47bb4a6b395 --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc3.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit_scm +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Backport of PEP 654 (exception groups)" +HOMEPAGE=" + https://github.com/agronholm/exceptiongroup/ + https://pypi.org/project/exceptiongroup/ +" +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" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/exceptiongroup/metadata.xml b/dev-python/exceptiongroup/metadata.xml new file mode 100644 index 000000000000..417343e0fae4 --- /dev/null +++ b/dev-python/exceptiongroup/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">agronholm/exceptiongroup</remote-id> + <remote-id type="pypi">exceptiongroup</remote-id> + </upstream> +</pkgmetadata> |