commit: e7032514faff699f4e450dad78efbce4b770fc38 Author: James Beddek <telans <AT> posteo <DOT> de> AuthorDate: Wed Jun 8 05:06:38 2022 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Wed Jun 8 05:13:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7032514
dev-python/marshmallow_enum: new package, add 1.5.1 Signed-off-by: James Beddek <telans <AT> posteo.de> dev-python/marshmallow_enum/Manifest | 1 + .../marshmallow_enum/marshmallow_enum-1.5.1.ebuild | 28 ++++++++++++++++++++++ dev-python/marshmallow_enum/metadata.xml | 8 +++++++ 3 files changed, 37 insertions(+) diff --git a/dev-python/marshmallow_enum/Manifest b/dev-python/marshmallow_enum/Manifest new file mode 100644 index 000000000..4b7ec09ca --- /dev/null +++ b/dev-python/marshmallow_enum/Manifest @@ -0,0 +1 @@ +DIST marshmallow_enum-1.5.1.tar.gz 6562 BLAKE2B b79a610e2e99c29d8d972f6e4963e5f8632a1c826b6aa8e8ceba83cc03c665a6ea4ac443872a05eff748ba09c016bc9275440cdce994a2e1fa1edf743da25a13 SHA512 989fe58613dc28f242b1990a727a87c453809ad2de9355595e53e2c569de6434c76c150522c31189282edca74740dc0aabfafa57e2f78397644adae1b6d99f7d diff --git a/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild b/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild new file mode 100644 index 000000000..94cd1debd --- /dev/null +++ b/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Enum handling for Marshmallow" +HOMEPAGE="https://github.com/justanr/marshmallow_enum" +SRC_URI="https://github.com/justanr/marshmallow_enum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/marshmallow-2.0.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i tox.ini || die + distutils-r1_src_prepare +} diff --git a/dev-python/marshmallow_enum/metadata.xml b/dev-python/marshmallow_enum/metadata.xml new file mode 100644 index 000000000..2924f0387 --- /dev/null +++ b/dev-python/marshmallow_enum/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>tel...@posteo.de</email> + <name>James Beddek</name> + </maintainer> +</pkgmetadata>