Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rfc3339-validator/
Date: Wed, 11 May 2022 14:33:10
Message-Id: 1652279513.641b2eef15b4e4826e8442971ce3b523a021efc3.mgorny@gentoo
1 commit: 641b2eef15b4e4826e8442971ce3b523a021efc3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 14:11:02 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 14:31:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641b2eef
7
8 dev-python/rfc3339-validator: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../rfc3339-validator-0.1.4-r1.ebuild | 39 ++++++++++++++++++++++
13 1 file changed, 39 insertions(+)
14
15 diff --git a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild
16 new file mode 100644
17 index 000000000000..b97f957f4d71
18 --- /dev/null
19 +++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A pure python RFC3339 validator"
32 +HOMEPAGE="
33 + https://github.com/naimetti/rfc3339-validator/
34 + https://pypi.org/project/rfc3339-validator/
35 +"
36 +SRC_URI="
37 + https://github.com/naimetti/rfc3339-validator/archive/v${PV}.tar.gz
38 + -> ${P}.tar.gz
39 +"
40 +
41 +LICENSE="MIT"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
44 +
45 +RDEPEND="
46 + dev-python/six[${PYTHON_USEDEP}]
47 + dev-python/strict-rfc3339[${PYTHON_USEDEP}]
48 +"
49 +BDEPEND="
50 + test? (
51 + dev-python/hypothesis[${PYTHON_USEDEP}]
52 + )
53 +"
54 +
55 +distutils_enable_tests pytest
56 +
57 +python_test() {
58 + epytest tests
59 +}