rebuilt with python 3.10 [release 4.17.3-3mamba;Fri Apr 07 2023]
This commit is contained in:
parent
ba756e0e90
commit
e73c0186bd
@ -1,6 +1,7 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-jsonschema
|
Name: python-jsonschema
|
||||||
Version: 3.2.0
|
Version: 4.17.3
|
||||||
Release: 4mamba
|
Release: 3mamba
|
||||||
Summary: jsonschema is an implementation of JSON Schema for Python
|
Summary: jsonschema is an implementation of JSON Schema for Python
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -10,12 +11,16 @@ URL: https://pypi.org/project/jsonschema/
|
|||||||
Source: https://pypi.debian.net/jsonschema/jsonschema-%{version}.tar.gz
|
Source: https://pypi.debian.net/jsonschema/jsonschema-%{version}.tar.gz
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: (python3.7dist(pyrsistent) < 0.17 or python3.7dist(pyrsistent) > 0.17)
|
||||||
|
BuildRequires: (python3.7dist(pyrsistent) < 0.17.1 or python3.7dist(pyrsistent) > 0.17.1)
|
||||||
|
BuildRequires: (python3.7dist(pyrsistent) < 0.17.2 or python3.7dist(pyrsistent) > 0.17.2)
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python3.7dist(attrs)
|
BuildRequires: python3.7dist(attrs)
|
||||||
BuildRequires: python3.7dist(importlib-metadata)
|
BuildRequires: python3.7dist(importlib-metadata)
|
||||||
|
BuildRequires: python3.7dist(importlib-resources)
|
||||||
|
BuildRequires: python3.7dist(pkgutil-resolve-name)
|
||||||
BuildRequires: python3.7dist(pyrsistent)
|
BuildRequires: python3.7dist(pyrsistent)
|
||||||
BuildRequires: python3.7dist(setuptools)
|
BuildRequires: python3.7dist(typing-extensions)
|
||||||
BuildRequires: python3.7dist(six)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -25,7 +30,7 @@ BuildRequires: python3.7dist(six)
|
|||||||
%if "%{?with_pyver}" == "3"
|
%if "%{?with_pyver}" == "3"
|
||||||
%define py_requires_append \
|
%define py_requires_append \
|
||||||
Provides: python-jsonschema \
|
Provides: python-jsonschema \
|
||||||
Obsoletes: python-jsonschema <= 3.2.0-2mamba
|
Obsoletes: python-jsonschema < 4.17.3
|
||||||
%endif
|
%endif
|
||||||
%pyver_package
|
%pyver_package
|
||||||
%endif
|
%endif
|
||||||
@ -34,29 +39,39 @@ Obsoletes: python-jsonschema <= 3.2.0-2mamba
|
|||||||
%setup -q -n jsonschema-%{version}
|
%setup -q -n jsonschema-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%if "%{?with_pyver}" != "3"
|
||||||
|
# Rename any conflicting file outside of python site packages tree
|
||||||
|
for f in %{_bindir}/jsonschema; do
|
||||||
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/jsonschema-%{version}-py*.egg-info
|
%{_bindir}/jsonschema*
|
||||||
%{python_sitearch}/jsonschema-%{version}-py*.egg-info/*
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%doc COPYING README.rst
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%doc COPYING
|
||||||
|
#README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Apr 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-4mamba
|
* Fri Apr 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.17.3-3mamba
|
||||||
- rebuilt with python 3.10
|
- rebuilt with python 3.10
|
||||||
|
|
||||||
|
* Wed Mar 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.17.3-2mamba
|
||||||
|
- fix obsoleted max version of python-jsonschema
|
||||||
|
|
||||||
|
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 4.17.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-3mamba
|
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-3mamba
|
||||||
- rebuilt with distdeps
|
- rebuilt with distdeps
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user