[packages/python3-fastjsonschema] new

atler atler at pld-linux.org
Tue Apr 22 11:37:48 CEST 2025


commit 8c69fe8699920e69b05cc47244caefc6835410a4
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 22 10:35:51 2025 +0200

    new

 python3-fastjsonschema.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/python3-fastjsonschema.spec b/python3-fastjsonschema.spec
new file mode 100644
index 0000000..772de4b
--- /dev/null
+++ b/python3-fastjsonschema.spec
@@ -0,0 +1,42 @@
+Summary:	Fastest Python implementation of JSON schema
+Name:		python3-fastjsonschema
+Version:	2.21.1
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/fastjsonschema/
+Source0:	https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
+# Source0-md5:	c83f862ba5c43775673ffe665a3533d6
+URL:		https://github.com/horejsek/python-fastjsonschema
+BuildRequires:	python3 >= 1:3.3
+BuildRequires:	python3-modules >= 1:3.3
+BuildRequires:	python3-setuptools
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.3
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fastest Python implementation of JSON schema.
+
+%prep
+%setup -q -n fastjsonschema-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%dir %{py3_sitescriptdir}/fastjsonschema
+%{py3_sitescriptdir}/fastjsonschema/*.py
+%{py3_sitescriptdir}/fastjsonschema/__pycache__
+%{py3_sitescriptdir}/fastjsonschema-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-fastjsonschema.git/commitdiff/8c69fe8699920e69b05cc47244caefc6835410a4



More information about the pld-cvs-commit mailing list