rebuilt with distdeps [release 3.2.0-3mamba;Mon Aug 30 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:20:51 +01:00
parent f6809af130
commit 6a87249adb

View File

@ -1,52 +1,59 @@
Name: python-jsonschema Name: python-jsonschema
Version: 3.2.0 Version: 3.2.0
Release: 2mamba 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
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pypi.python.org/pypi/jsonschema 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: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(attrs)
BuildRequires: python3.7dist(importlib-metadata)
BuildRequires: python3.7dist(pyrsistent)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(six)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
#BuildRequires: python-argparse
#BuildRequires: python-nose
BuildRequires: python-setuptools-py3
Requires: python3 >= %python3_version
Requires: python-importlib_metadata-py3
Requires: python-pyrsistent-py3
Requires: python-attrs-py3
Requires: python-zipp-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
%{summary}. %{summary}.
%if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-jsonschema <= 3.2.0-2mamba
%pyver_package
%endif
%prep %prep
%setup -q -n jsonschema-%{version} %setup -q -n jsonschema-%{version}
%build %build
CFLAGS="%{optflags}" %{__python3} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python_inc} \
--install-lib=%{python3_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist %files -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/jsonschema-%{version}-py*.egg-info
%{python_sitearch}/jsonschema-%{version}-py*.egg-info/*
%doc COPYING README.rst %doc COPYING README.rst
%changelog %changelog
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-3mamba
- rebuilt with distdeps
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba * Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba
- rebuilt with python3 - rebuilt with python3