summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-29 19:20:58 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-29 19:36:59 +0300
commit5ac60579c15c7d6d1d68f9f00e6a9de17351f8ef (patch)
tree2416bab7950fcb39717591aa79950eec113f11d3 /dev-python/pykwalify
parentdev-python/sphinxemoji: enable py3.11 (diff)
downloadgentoo-5ac60579c15c7d6d1d68f9f00e6a9de17351f8ef.tar.gz
gentoo-5ac60579c15c7d6d1d68f9f00e6a9de17351f8ef.tar.bz2
gentoo-5ac60579c15c7d6d1d68f9f00e6a9de17351f8ef.zip
dev-python/pykwalify: EAPI=8, Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pykwalify')
-rw-r--r--dev-python/pykwalify/pykwalify-1.8.0-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/pykwalify/pykwalify-1.8.0-r2.ebuild b/dev-python/pykwalify/pykwalify-1.8.0-r2.ebuild
new file mode 100644
index 000000000000..f03443ce87ad
--- /dev/null
+++ b/dev-python/pykwalify/pykwalify-1.8.0-r2.ebuild
@@ -0,0 +1,34 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python lib/cli for JSON/YAML schema validation"
+HOMEPAGE="https://pypi.org/project/pykwalify/ https://github.com/Grokzen/pykwalify"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/docopt-0.6.2[${PYTHON_USEDEP}]
+ >=dev-python/ruamel-yaml-0.16.0[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/testfixtures[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.0-S.patch
+)