2024-01-06 11:11:23 +01:00
|
|
|
Name: python-genshi
|
|
|
|
Epoch: 1
|
2024-01-06 11:11:23 +01:00
|
|
|
Version: 0.7.5
|
2024-01-06 11:11:23 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 11:11:23 +01:00
|
|
|
Summary: Python toolkit for generation of output for the web
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 11:11:23 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:11:23 +01:00
|
|
|
URL: https://genshi.edgewall.org/
|
2024-01-06 11:11:23 +01:00
|
|
|
Source: https://pypi.debian.net/Genshi/Genshi-%{version}.tar.gz
|
2024-01-06 11:11:23 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:11:23 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(six)
|
2024-01-06 11:11:23 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. The major feature is a template language, which is heavily inspired by Kid.
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n Genshi-%{version}
|
|
|
|
find examples -type f -exec chmod a-x '{}' ';'
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:11:23 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 11:11:23 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:11:23 +01:00
|
|
|
%dir %{python_sitearch}/Genshi-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/Genshi-%{version}-py*.egg-info/*
|
2024-01-06 11:11:23 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:11:23 +01:00
|
|
|
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Fri Nov 13 2020 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Fri Nov 15 2019 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Tue Sep 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
|
|
|
- update to 0.7.1
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 11:11:23 +01:00
|
|
|
* Sun Nov 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-3mamba
|
|
|
|
- python 2.7 rebuild and roll-back from 0.7 beta version bumping epoch up
|
|
|
|
|
|
|
|
* Wed Oct 13 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6-2mamba
|
|
|
|
- package renamed from python-Genshi to python-genshi
|
|
|
|
|
|
|
|
* Fri May 14 2010 gil <puntogil@libero.it> 0.6-1mamba
|
|
|
|
- package created by autospec
|