diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-07-16 07:23:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-07-16 07:30:09 +0200 |
commit | 6214643b3b4bf0e06fe3295306b8e63d7276483b (patch) | |
tree | 706b69f4f0100e27d3904e5a9d7fbe53150058f3 /dev-python/backports-strenum | |
parent | dev-python/sentry-sdk: Bump to 2.10.0 (diff) | |
download | gentoo-6214643b3b4bf0e06fe3295306b8e63d7276483b.tar.gz gentoo-6214643b3b4bf0e06fe3295306b8e63d7276483b.tar.bz2 gentoo-6214643b3b4bf0e06fe3295306b8e63d7276483b.zip |
dev-python/backports-strenum: New package, v1.3.1
New backport required by dev-python/griffe.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backports-strenum')
-rw-r--r-- | dev-python/backports-strenum/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backports-strenum/backports-strenum-1.3.1.ebuild | 28 | ||||
-rw-r--r-- | dev-python/backports-strenum/metadata.xml | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/backports-strenum/Manifest b/dev-python/backports-strenum/Manifest new file mode 100644 index 000000000000..88686fc247d5 --- /dev/null +++ b/dev-python/backports-strenum/Manifest @@ -0,0 +1 @@ +DIST backports.strenum-1.3.1.gh.tar.gz 15064 BLAKE2B 749e319c9bdbec9eb1f3beab32355f015469336d688a3672380238f44694ce82747d7515330587821a60c92e1be0c7d8afc24ed70e3fa6ece368f6e74956958a SHA512 6a285bc63e6e3cb93e67da09eac9a1546af663d80e26448eed502494910db7850437bc13b6bee8f50e5debdea3335950c2f7c612238ecfbbfb454d5216c9513e diff --git a/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild b/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild new file mode 100644 index 000000000000..caa2ac65dff3 --- /dev/null +++ b/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_10 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Create enumerated constants that are also subclasses of str" +HOMEPAGE=" + https://github.com/clbarnes/backports.strenum/ + https://pypi.org/project/backports.strenum/ +" +# no tests in sdist +SRC_URI=" + https://github.com/clbarnes/backports.strenum/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/backports-strenum/metadata.xml b/dev-python/backports-strenum/metadata.xml new file mode 100644 index 000000000000..7e765e4fa501 --- /dev/null +++ b/dev-python/backports-strenum/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <stabilize-allarches/> + <upstream> + <remote-id type="github">clbarnes/backports.strenum</remote-id> + <remote-id type="pypi">backports.strenum</remote-id> + </upstream> +</pkgmetadata> |