commit: 32faeb6d5e1df2cb19d210684295ef5d474db0e0
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 11:09:08 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 11:09:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32faeb6d
dev-python/jschema_to_python: pep517, enable python3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../jschema_to_python-1.2.3-r1.ebuild | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild
b/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..d55e8935b7b8
--- /dev/null
+++ b/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Generate source code for Python classes from a JSON schema"
+HOMEPAGE="
+ https://pypi.org/project/jschema-to-python/
+ https://github.com/microsoft/jschema-to-python/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/jsonpickle[${PYTHON_USEDEP}]
+ dev-python/pbr[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/pbr[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest