Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/marshmallow_enum/
Date: Wed, 08 Jun 2022 05:14:50
Message-Id: 1654665225.e7032514faff699f4e450dad78efbce4b770fc38.telans@gentoo
1 commit: e7032514faff699f4e450dad78efbce4b770fc38
2 Author: James Beddek <telans <AT> posteo <DOT> de>
3 AuthorDate: Wed Jun 8 05:06:38 2022 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Wed Jun 8 05:13:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7032514
7
8 dev-python/marshmallow_enum: new package, add 1.5.1
9
10 Signed-off-by: James Beddek <telans <AT> posteo.de>
11
12 dev-python/marshmallow_enum/Manifest | 1 +
13 .../marshmallow_enum/marshmallow_enum-1.5.1.ebuild | 28 ++++++++++++++++++++++
14 dev-python/marshmallow_enum/metadata.xml | 8 +++++++
15 3 files changed, 37 insertions(+)
16
17 diff --git a/dev-python/marshmallow_enum/Manifest b/dev-python/marshmallow_enum/Manifest
18 new file mode 100644
19 index 000000000..4b7ec09ca
20 --- /dev/null
21 +++ b/dev-python/marshmallow_enum/Manifest
22 @@ -0,0 +1 @@
23 +DIST marshmallow_enum-1.5.1.tar.gz 6562 BLAKE2B b79a610e2e99c29d8d972f6e4963e5f8632a1c826b6aa8e8ceba83cc03c665a6ea4ac443872a05eff748ba09c016bc9275440cdce994a2e1fa1edf743da25a13 SHA512 989fe58613dc28f242b1990a727a87c453809ad2de9355595e53e2c569de6434c76c150522c31189282edca74740dc0aabfafa57e2f78397644adae1b6d99f7d
24
25 diff --git a/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild b/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild
26 new file mode 100644
27 index 000000000..94cd1debd
28 --- /dev/null
29 +++ b/dev-python/marshmallow_enum/marshmallow_enum-1.5.1.ebuild
30 @@ -0,0 +1,28 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Enum handling for Marshmallow"
41 +HOMEPAGE="https://github.com/justanr/marshmallow_enum"
42 +SRC_URI="https://github.com/justanr/marshmallow_enum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND=">=dev-python/marshmallow-2.0.0[${PYTHON_USEDEP}]"
51 +DEPEND="${RDEPEND}"
52 +
53 +distutils_enable_tests pytest
54 +
55 +src_prepare() {
56 + sed -e '/addopts/d' -i tox.ini || die
57 + distutils-r1_src_prepare
58 +}
59
60 diff --git a/dev-python/marshmallow_enum/metadata.xml b/dev-python/marshmallow_enum/metadata.xml
61 new file mode 100644
62 index 000000000..2924f0387
63 --- /dev/null
64 +++ b/dev-python/marshmallow_enum/metadata.xml
65 @@ -0,0 +1,8 @@
66 +<?xml version="1.0" encoding="UTF-8"?>
67 +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
68 +<pkgmetadata>
69 + <maintainer type="person">
70 + <email>telans@××××××.de</email>
71 + <name>James Beddek</name>
72 + </maintainer>
73 +</pkgmetadata>