diff options
Diffstat (limited to 'dev-python/exceptiongroup')
-rw-r--r-- | dev-python/exceptiongroup/Manifest | 2 | ||||
-rw-r--r-- | dev-python/exceptiongroup/exceptiongroup-1.1.0.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index 1d0a5a6278bb..f422337165e9 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1,3 +1,5 @@ DIST exceptiongroup-1.0.4.gh.tar.gz 22529 BLAKE2B bdf58d36ea59cc7bed17947e4671c92058e7036b20c91df434625d8627db41d646dd0b90ea397c25674753e3ba09654f5978c22220e13007d0af8b1fe659540d SHA512 18f207cb028f1b9ab1073c2859b4aeff357706c3d4c9f05fbe8739f3e19852dd91da5be9c9e18b14b16bd494fc8bf1bd26d058e925084da8c00eac5ad057e2be +DIST exceptiongroup-1.1.0.gh.tar.gz 22724 BLAKE2B 2de748494fe1356353b7f70d3afc7be7ecb8df4166f57461459c7f463bc5c22340c9073b0b0e032a52680560e37e4004c754fb4ddcc1a5a70f8dd0e973b1d8a9 SHA512 588b4ec3cae01a64140aac191cbdf8d0631eb614d430bbdbd02d17d8ff43aad9d233c3545694c6fffb622a2b3c38a289e20f1b8db6bf0e9b8819d668e38a87e3 EBUILD exceptiongroup-1.0.4.ebuild 769 BLAKE2B f9202cbda4d4940df009c34d221356462a843549ca24dae49a29791d298f89236e432c9ebcb706e2266059865d90c04fac4088261f4e4cc5aaa702aa284771ff SHA512 5fc7874d4087bfb7714652a57658c5388ea9036b24b29db72fda0a3194ea2e9331793b2461d628b91207bfe30521aef477f9a82a8e923205614a1b4d31347921 +EBUILD exceptiongroup-1.1.0.ebuild 777 BLAKE2B 5a5c936ea8fac970d139dad57389af04ce27b405a7544195cc4635d7402cecbe7e6c4ee02ef6a475a802e1d2030cd62ee9b74b6f0fc6e03427d79eed96093b87 SHA512 d2ac8edd4f40f6c1862c6bd978c0d39d8a1adc62f32fcef4c4ef68cc664b691dde94414fee9f3da08d66966cb0ca9b558223fbaea439fa72371fb5ad3268876f MISC metadata.xml 384 BLAKE2B 248abcb5fc08c91396cdbff52e5c3e4f6cce2aa273cfd52b48ee13de9ccdaecd09e9a436ed79f258d15d8d4583fe5995e054010c909a522f47e6866e55b3458f SHA512 c631c69438059cb2a6c80e595e45fac904d32dfb53f8be183142f1195d3a3b9bc14bc240f0808e14f47d31beb1887ad82ee79c5f1847c8e6b59dbfeea7913c8b diff --git a/dev-python/exceptiongroup/exceptiongroup-1.1.0.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.1.0.ebuild new file mode 100644 index 000000000000..999c9c16bc4c --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.1.0.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..11} ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |