rebuilt with python 3.10 [release 3.3.1-2mamba;Sat May 06 2023]
This commit is contained in:
parent
2d7b2a12e8
commit
971e9d729c
@ -1,2 +1,4 @@
|
||||
# python-cheetah3
|
||||
|
||||
An open source template engine and code generation tool.
|
||||
|
||||
|
73
python-cheetah3.spec
Normal file
73
python-cheetah3.spec
Normal file
@ -0,0 +1,73 @@
|
||||
Name: python-cheetah3
|
||||
Version: 3.3.1
|
||||
Release: 2mamba
|
||||
Summary: An open source template engine and code generation tool
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://pypi.org/project/Cheetah3/
|
||||
Source: https://github.com/CheetahTemplate3/cheetah3.git/%{version}/cheetah3-%{version}.tar.bz2
|
||||
#Source: https://pypi.debian.net/Cheetah3/Cheetah3-%{version}.tar.gz
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%define py_requires_append \
|
||||
Obsoletes: python-Cheetah3%{?pyappend:-%pyappend} < 3.3.1-2mamba
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n cheetah3-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%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
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
for f in cheetah cheetah-analyze cheetah-compile; do
|
||||
mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{?pyappend}
|
||||
sed -i "s|%{_bindir}/$f$|%{_bindir}/$f-%{?pyappend}|" %{name}.filelist
|
||||
done
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat May 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-1mamba
|
||||
- update to 3.3.1
|
||||
|
||||
* Wed Apr 21 2021 Automatic Build System <autodist@mambasoft.it> 3.2.6.post2-2mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 3.2.6.post2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 3.2.6.post1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.2.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user