summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-16 17:01:07 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-16 17:28:27 +0200
commit8e2706aa0e4c8a78a52fad764735eeac13cfe375 (patch)
tree50f3272d6f1a75b9299a5eb1ed5d84782ae12b99 /dev-python/genson
parentdev-python/trio: Bump to 0.25.1 (diff)
downloadgentoo-8e2706aa0e4c8a78a52fad764735eeac13cfe375.tar.gz
gentoo-8e2706aa0e4c8a78a52fad764735eeac13cfe375.tar.bz2
gentoo-8e2706aa0e4c8a78a52fad764735eeac13cfe375.zip
dev-python/genson: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/genson')
-rw-r--r--dev-python/genson/Manifest1
-rw-r--r--dev-python/genson/genson-1.3.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/genson/Manifest b/dev-python/genson/Manifest
index 942a639b0da1..15fb1b41d7b9 100644
--- a/dev-python/genson/Manifest
+++ b/dev-python/genson/Manifest
@@ -1 +1,2 @@
DIST genson-1.2.2.tar.gz 34387 BLAKE2B 2e3c3b0fd96d93fe1e7244c11828dfb42d8e9bd97058a1b76d983e02094b2e62560e00b08e2ce1d21abf7e858f481a9e2a5678d51b27162fde1d60535031f54e SHA512 9caf1936518db5ffb412c6b1f1d28b33e9aef2e6f9b2fe50bcc2932a75522dcbc57bf7bc6b3df41244ee470060295a92fb6ba0be9f6fcf512950a81615f85f87
+DIST genson-1.3.0.tar.gz 34919 BLAKE2B 1aef0dd4ef0e6be9b9ac8adeaa58bf092dc8668842c5b8b48a3bdf0675cc1337ea6b265ade80f8f153368f81ae52573294f1c00add471b50fbb51b830fd17258 SHA512 1d5a5c98927e1fd36bedec8ba2479c5562a34af75239a93076d6012e82d9f33332533faef2d99e2481d30434abe710ccbfdea3640bd6d340cffe4c754e917794
diff --git a/dev-python/genson/genson-1.3.0.ebuild b/dev-python/genson/genson-1.3.0.ebuild
new file mode 100644
index 000000000000..7a6560389c09
--- /dev/null
+++ b/dev-python/genson/genson-1.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="GenSON is a powerful, user-friendly JSON Schema generator built in Python"
+HOMEPAGE="
+ https://github.com/wolverdude/GenSON/
+ https://pypi.org/project/genson/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ # known broken in this release
+ [[ ${PV} != 1.3.0 ]] && die "Restore test_bin.py!"
+ rm test/test_bin.py || die
+}