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
|
||||
Version: 3.2.0
|
||||
Release: 4mamba
|
||||
Version: 4.17.3
|
||||
Release: 3mamba
|
||||
Summary: jsonschema is an implementation of JSON Schema for Python
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,12 +11,16 @@ URL: https://pypi.org/project/jsonschema/
|
||||
Source: https://pypi.debian.net/jsonschema/jsonschema-%{version}.tar.gz
|
||||
License: MIT
|
||||
## 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: python3.7dist(attrs)
|
||||
BuildRequires: python3.7dist(importlib-metadata)
|
||||
BuildRequires: python3.7dist(importlib-resources)
|
||||
BuildRequires: python3.7dist(pkgutil-resolve-name)
|
||||
BuildRequires: python3.7dist(pyrsistent)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: python3.7dist(six)
|
||||
BuildRequires: python3.7dist(typing-extensions)
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
@ -25,7 +30,7 @@ BuildRequires: python3.7dist(six)
|
||||
%if "%{?with_pyver}" == "3"
|
||||
%define py_requires_append \
|
||||
Provides: python-jsonschema \
|
||||
Obsoletes: python-jsonschema <= 3.2.0-2mamba
|
||||
Obsoletes: python-jsonschema < 4.17.3
|
||||
%endif
|
||||
%pyver_package
|
||||
%endif
|
||||
@ -34,29 +39,39 @@ Obsoletes: python-jsonschema <= 3.2.0-2mamba
|
||||
%setup -q -n jsonschema-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
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)
|
||||
%dir %{python_sitearch}/jsonschema-%{version}-py*.egg-info
|
||||
%{python_sitearch}/jsonschema-%{version}-py*.egg-info/*
|
||||
%doc COPYING README.rst
|
||||
%{_bindir}/jsonschema*
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
%doc COPYING
|
||||
#README.rst
|
||||
|
||||
%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
|
||||
|
||||
* 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
|
||||
- rebuilt with distdeps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user