update to 3.5.68 [release 3.5.68-1mamba;Sat Jul 10 2021]
This commit is contained in:
parent
5b04240e4b
commit
0523ad55d0
@ -1,29 +1,24 @@
|
|||||||
Name: python-reportlab
|
Name: python-reportlab
|
||||||
Version: 3.5.67
|
Version: 3.5.68
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An Open Source Python library for generating PDFs and graphics
|
Summary: An Open Source Python library for generating PDFs and graphics
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.reportlab.org/
|
URL: https://pypi.org/project/reportlab/
|
||||||
Source: https://pypi.debian.net/reportlab/reportlab-%{version}.tar.gz
|
Source: https://pypi.debian.net/reportlab/reportlab-%{version}.tar.gz
|
||||||
Source1: http://www.reportlab.com/ftp/pfbfer-20070710.zip
|
Source1: http://www.reportlab.com/ftp/pfbfer-20070710.zip
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libart_lgpl-devel
|
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(pillow)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython3-devel >= 3.7.4
|
BuildRequires: libpython3-devel >= 3.7.4
|
||||||
BuildRequires: python-Pillow-py3
|
BuildRequires: python-Pillow-py3
|
||||||
#BuildRequires: python-xml-py3
|
#BuildRequires: python-xml-py3
|
||||||
Requires: python >= %python_version
|
|
||||||
Requires: python-pip
|
|
||||||
Requires: python-Pillow
|
|
||||||
Provides: ReportLab
|
|
||||||
Obsoletes: ReportLab
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An Open Source Python library for generating PDFs and graphics.
|
An Open Source Python library for generating PDFs and graphics.
|
||||||
@ -31,33 +26,15 @@ An Open Source Python library for generating PDFs and graphics.
|
|||||||
%package doc
|
%package doc
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: Documentation package for %{name}
|
Summary: Documentation package for %{name}
|
||||||
Requires: %{name} = %{?epoch:epoch:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
An Open Source Python library for generating PDFs and graphics.
|
An Open Source Python library for generating PDFs and graphics.
|
||||||
This package contains the documentation files.
|
This package contains the documentation files.
|
||||||
|
|
||||||
%if "%?with_pyver"
|
%if "%{?with_pyver}"
|
||||||
%define pyver %{with_pyver}
|
%pyver_package
|
||||||
%define pyappend py%{with_pyver}
|
%define py_requires_append \
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
Obsoletes: ReportLab < 3.5.68
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
||||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
||||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
||||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
||||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
||||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
||||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
||||||
|
|
||||||
%package py%{pyver}
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: %{summary}.
|
|
||||||
Requires: python-pip-%{?pyappend}
|
|
||||||
Requires: python-Pillow-%{?pyappend}
|
|
||||||
%py_requires
|
|
||||||
|
|
||||||
%description py%{pyver}
|
|
||||||
%{summary}.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -68,7 +45,7 @@ find src -name '*.py' -exec sed -i -e '\,^#!/,d' '{}' ';'
|
|||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%if "%{?with_pyver}" == ""
|
%if "%{?with_pyver}" == "3"
|
||||||
# make documentation
|
# make documentation
|
||||||
PYTHONPATH="$(pwd)/$(ls -d build/lib*)" %{__python} docs/genAll.py
|
PYTHONPATH="$(pwd)/$(ls -d build/lib*)" %{__python} docs/genAll.py
|
||||||
%endif
|
%endif
|
||||||
@ -82,7 +59,7 @@ PYTHONPATH="$(pwd)/$(ls -d build/lib*)" %{__python} docs/genAll.py
|
|||||||
--install-lib=%{python_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
|
||||||
|
|
||||||
# remove useless testdemos
|
# remove useless testdemos
|
||||||
rm -rf demos/tests
|
rm -rf demos/tests
|
||||||
@ -92,9 +69,11 @@ rm -rf demos/tests
|
|||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/reportlab-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/reportlab-%{version}-py*.egg-info/*
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%if "%{?with_pyver}" == ""
|
%if "%{?with_pyver}" == "3"
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc docs/*.pdf
|
%doc docs/*.pdf
|
||||||
@ -103,6 +82,9 @@ rm -rf demos/tests
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.68-1mamba
|
||||||
|
- update to 3.5.68
|
||||||
|
|
||||||
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 3.5.67-1mamba
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 3.5.67-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user