2f841ef
%global srcname Chameleon
2f841ef
2f841ef
Name:           python-chameleon
Jan ONDREJ (SAL) aed82ce
Version:        3.7.1
Jan ONDREJ (SAL) aed82ce
Release:        1%{?dist}
2f841ef
Summary:        XML-based template compiler
2f841ef
2f841ef
License:        BSD
f708308
URL:            https://github.com/malthe/chameleon
Jan ONDREJ (SAL) aed82ce
Source0:        https://github.com/malthe/chameleon/archive/%{version}/chameleon-%{version}.tar.gz
2f841ef
2f841ef
BuildArch:      noarch
482f214
482f214
BuildRequires:  python3-devel
482f214
BuildRequires:  python3-setuptools
482f214
BuildRequires:  python3-lxml
482f214
BuildRequires:  python3-zope-interface
2f841ef
817a375
ed1fd29
%global _description\
ed1fd29
Chameleon is an XML attribute language template compiler. It comes with\
ed1fd29
implementations for the Zope Page Templates (ZPT) and Genshi templating\
ed1fd29
languages.\
ed1fd29
\
ed1fd29
The engine compiles templates into Python byte-code. This results in\
ed1fd29
performance which is on average 10-15 times better than implementations which\
ed1fd29
use run-time interpretation.
ed1fd29
ed1fd29
%description %_description
ed1fd29
482f214
%package -n python3-chameleon
ed1fd29
Summary: %summary
482f214
482f214
Requires:   python3-setuptools
482f214
Requires:   python3-zope-interface
482f214
Requires:   python3-lxml
ed1fd29
%{?python_provide:%python_provide python3-chameleon}
482f214
ed1fd29
%description -n python3-chameleon %_description
482f214
2f841ef
%prep
Jan ONDREJ (SAL) aed82ce
%autosetup -n chameleon-%{version}
482f214
2f841ef
%build
18f4b27
%py3_build
482f214
2f841ef
%install
18f4b27
%py3_install
482f214
18f4b27
# No need to ship tests as part of the module
de7f4d4
rm -rf  %{buildroot}%{python3_sitelib}/chameleon/tests
b21db4e
# Data files for the tests
de7f4d4
find %{buildroot}%{python3_sitelib}/chameleon -name '*.txt' -exec rm \{\} \;
2f841ef
092a2ef
%check
482f214
%{__python3} setup.py test
2f841ef
2f841ef
482f214
%files -n python3-chameleon
18f4b27
%doc README.rst
482f214
%{python3_sitelib}/chameleon/
482f214
%{python3_sitelib}/Chameleon-%{version}*
2f841ef
2f841ef
%changelog
Jan ONDREJ (SAL) aed82ce
* Sat May 30 2020 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 3.7.1-1
Jan ONDREJ (SAL) aed82ce
- Update to upstream (bz#1818599, bz#1817632, bz#1678778)
Jan ONDREJ (SAL) aed82ce
d6cce3b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-6
d6cce3b
- Rebuilt for Python 3.9
d6cce3b
cb34fa3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-5
cb34fa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cb34fa3
b21db4e
* Sun Sep 08 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-4
b21db4e
- Subpackage python2-chameleon has been removed
b21db4e
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
b21db4e
400cbc0
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-3
400cbc0
- Rebuilt for Python 3.8
400cbc0
f212b87
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-2
f212b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f212b87
0bbc3aa
* Sun Jun 30 2019 Kevin Fenzi <kevin@scrye.com> - 3.6.2-1
0bbc3aa
- Update to 3.6.2. Fixes bug #1723037
0bbc3aa
de7f4d4
* Tue Apr 09 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.1-1
de7f4d4
- Update to 3.6.1 (#1678778)
de7f4d4
41e93ec
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-2
41e93ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
41e93ec
18f4b27
* Wed Jul 25 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.4-1
18f4b27
- Update to 3.4
18f4b27
- Modernize spec file a little
18f4b27
- Drop building the documentation as apparently upstream stopped shipping it in
18f4b27
  their tarball
18f4b27
818af7d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-5
818af7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
818af7d
661bb2c
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.2-4
661bb2c
- Rebuilt for Python 3.7
661bb2c
cde3275
* Fri Mar 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.2-3
cde3275
- Update Python 2 dependency declarations to new packaging standards
cde3275
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
cde3275
f4fa886
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-2
f4fa886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f4fa886
21bd4c2
* Mon Dec 18 2017 Kevin Fenzi <kevin@scrye.com> - 3.2-1
21bd4c2
- Update to 3.2. Fixes bug #1504336
21bd4c2
ed1fd29
* Wed Aug 09 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1-3
ed1fd29
- Python 2 binary package renamed to python2-chameleon
ed1fd29
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
ed1fd29
7b80a61
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
7b80a61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7b80a61
53ec125
* Sat Feb 25 2017 Kevin Fenzi <kevin@scrye.com> - 3.1-1
53ec125
- Update to 3.1. Fixes bug #1425631
53ec125
a197780
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
a197780
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a197780
bd02448
* Wed Dec 28 2016 Kevin Fenzi <kevin@scrye.com> - 3.0-1
bd02448
- Update to 3.0. Fixes bug #1402375
bd02448
bcd2c21
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.25-2
bcd2c21
- Rebuild for Python 3.6
bcd2c21
f708308
* Sun Sep 25 2016 Kevin Fenzi <kevin@scrye.com> - 2.25-1
f708308
- Update to 2.25. Fixes bug #1379057
f708308
8921e81
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24-4
8921e81
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8921e81
e649fb7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.24-3
e649fb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e649fb7
8e6640a
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24-2
8e6640a
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
8e6640a
49fc978
* Wed Oct 28 2015 Ralph Bean <rbean@redhat.com> - 2.24-1
49fc978
- new version
49fc978
0e2ee46
* Tue Oct 27 2015 Ralph Bean <rbean@redhat.com> - 2.23-1
0e2ee46
- new version
0e2ee46
aada0b6
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 2.20-1
aada0b6
- new version
aada0b6
db03563
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-2
db03563
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
db03563
bec0353
* Wed Aug 20 2014 Ralph Bean <rbean@redhat.com> - 2.16-1
bec0353
- Latest upstream.
bec0353
- Modernize python2 macros.
bec0353
adf34b1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-3
adf34b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
adf34b1
abfdf8a
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.15-2
abfdf8a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
abfdf8a
358501c
* Fri Apr 11 2014 Ralph Bean <rbean@redhat.com> - 2.15-1
358501c
- Latest upstream.
358501c
e126c79
* Fri Jan 17 2014 Ralph Bean <rbean@redhat.com> - 2.11-4
e126c79
- Add dependency on ordereddict for el6.
e126c79
8addafe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-3
8addafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8addafe
fab77fc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-2
fab77fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fab77fc
482f214
* Wed Jan 16 2013 Ralph Bean <rbean@redhat.com> - 2.11-1
482f214
- Latest upstream version.
482f214
- More specific file/dir ownership.
482f214
- Removed unnecessary buildroot.
482f214
- Removed unnecessary defattr.
482f214
- Removed unnecessary clean section.
482f214
- Packaging a python3 subpackage.
482f214
efac29b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-3
efac29b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
efac29b
8725d66
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-2
8725d66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8725d66
fcbbeeb
* Tue Dec 13 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.0-1
fcbbeeb
- New upstream release
fcbbeeb
817a375
* Thu Nov 10 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5.3-1.1
817a375
- Fix to build on RHEL6
817a375
817a375
* Thu Nov 10 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5.3-1
3402345
- New upstream release
3402345
cf5e237
* Mon Oct 3 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5.1-1
cf5e237
- New upstream release
cf5e237
5daf04a
* Sun Aug 21 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.8-1
5daf04a
- New upstream release
5daf04a
30263d6
* Thu Aug 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.6-1
30263d6
- New upstream release
30263d6
092a2ef
* Wed Aug 10 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.2-1
092a2ef
- New upstream release
092a2ef
092a2ef
* Fri Jul 15 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0-1
092a2ef
- New upstream release
092a2ef
- This release removes the genshi-like syntax support -- F17+, only
092a2ef
145c2f7
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-5
145c2f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
145c2f7
2f841ef
* Sat Sep 18 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2.12-4
2f841ef
- Move COPYING file out of the ast directory and into docdir.
2f841ef
2f841ef
* Fri Sep 17 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2.12-3
2f841ef
- Fix unittests on python-2.7.
2f841ef
2f841ef
* Thu Sep 16 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2.12-2
2f841ef
- Add a patch so we can run with newer versions of the optional deps
2f841ef
2f841ef
* Wed Sep 15 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2.12-1
2f841ef
- Initial package