rebuilt with distdeps [release 3.0.0a1-2mamba;Sat Apr 03 2021]
This commit is contained in:
parent
ed0cd17900
commit
cf2efd35e7
@ -1,42 +1,23 @@
|
||||
Name: python-Jinja2
|
||||
Version: 2.10.3
|
||||
Release: 1mamba
|
||||
Version: 3.0.0a1
|
||||
Release: 2mamba
|
||||
Summary: A small but fast and easy to use stand-alone template engine written in pure python.
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://jinja.pocoo.org/
|
||||
URL: https://jinja.pocoo.org/
|
||||
Source: http://pypi.debian.net/Jinja2/Jinja2-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: python-markupsafe
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.
|
||||
|
||||
%if "%?with_pyver"
|
||||
%define pyver %{with_pyver}
|
||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
||||
%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}
|
||||
%py_requires
|
||||
|
||||
%description py%{pyver}
|
||||
Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -50,21 +31,26 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
%{__python} setup.py install \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch}
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%if "%?with_pyver"
|
||||
%files py%{pyver}
|
||||
%else
|
||||
%files
|
||||
%endif
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/jinja2/*
|
||||
%dir %{python_sitearch}/Jinja2-%{version}-py*.egg-info
|
||||
%{python_sitearch}/Jinja2-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0a1-2mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
* Mon Sep 14 2020 Automatic Build System <autodist@mambasoft.it> 3.0.0a1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.3-1mamba
|
||||
- update to 2.10.3
|
||||
|
||||
|
Reference in New Issue
Block a user