summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-09-29 12:34:31 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-09-29 12:34:31 +0000
commit03b2177c16299fd284c9a3bbdcd866914501baf0 (patch)
tree49615405eb65c6ba980b08f8c2b84c6a3f04f477
parent1c0b34050a14fc28b65257d6e14cd72009ed25bb (diff)
automatic import of python3-jschonf41
-rw-r--r--.gitignore1
-rw-r--r--python3-jschon.spec38
-rw-r--r--sources1
3 files changed, 40 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c22f60c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jschon-0.11.1.tar.gz
diff --git a/python3-jschon.spec b/python3-jschon.spec
new file mode 100644
index 0000000..1fa3b09
--- /dev/null
+++ b/python3-jschon.spec
@@ -0,0 +1,38 @@
+Name: python3-jschon
+Version: 0.11.1
+Release: 1%{?dist}
+Summary: An object-oriented JSON Schema implementation for Python
+
+License: MIT
+URL: https://jschon.readthedocs.io/en/latest/
+Source: %{pypi_source jschon}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+
+%description
+A JSON toolkit for Python developers.
+
+%prep
+%autosetup -n jschon-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires -t
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files jschon
+
+%check
+%tox
+
+%files -f %{pyproject_files}
+%license LICENSE
+%doc README.rst
+
+%changelog
+* Sat Jul 13 2024 Antoine Damhet <antoine.damhet@gmail.com> - 0.11.1-1
+- Initial package version
diff --git a/sources b/sources
new file mode 100644
index 0000000..011f41e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d2dc7ab5b97355ccfb0b72cb61ed87ac jschon-0.11.1.tar.gz