diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-11 16:11:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-11 16:31:53 +0200 |
commit | 641b2eef15b4e4826e8442971ce3b523a021efc3 (patch) | |
tree | e653830a74b5fc0712240a70cf1fe0ede6f9ddb8 /dev-python/rfc3339-validator | |
parent | dev-python/strict-rfc3339: Enable py3.11 (diff) | |
download | gentoo-641b2eef15b4e4826e8442971ce3b523a021efc3.tar.gz gentoo-641b2eef15b4e4826e8442971ce3b523a021efc3.tar.bz2 gentoo-641b2eef15b4e4826e8442971ce3b523a021efc3.zip |
dev-python/rfc3339-validator: EAPI 8, PEP517
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rfc3339-validator')
-rw-r--r-- | dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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 new file mode 100644 index 000000000000..b97f957f4d71 --- /dev/null +++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A pure python RFC3339 validator" +HOMEPAGE=" + https://github.com/naimetti/rfc3339-validator/ + https://pypi.org/project/rfc3339-validator/ +" +SRC_URI=" + https://github.com/naimetti/rfc3339-validator/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +} |