|
|
5aec15 |
%global srcname Genshi
|
|
|
5aec15 |
|
|
|
5aec15 |
Name: python-genshi
|
|
|
5aec15 |
Version: 0.7.5
|
|
|
5aec15 |
Release: 3%{?dist}
|
|
|
5aec15 |
Summary: Toolkit for stream-based generation of output for the web
|
|
|
5aec15 |
|
|
|
5aec15 |
License: BSD
|
|
|
5aec15 |
URL: http://genshi.edgewall.org/
|
|
|
5aec15 |
|
|
|
5aec15 |
Source0: %pypi_source
|
|
|
5aec15 |
|
|
|
5aec15 |
BuildArch: noarch
|
|
|
5aec15 |
|
|
|
5aec15 |
BuildRequires: python3-devel
|
|
|
5aec15 |
BuildRequires: python3-setuptools
|
|
|
5aec15 |
BuildRequires: python3-six
|
|
|
5aec15 |
|
|
|
5aec15 |
%description
|
|
|
5aec15 |
Genshi is a Python library that provides an integrated set of
|
|
|
5aec15 |
components for parsing, generating, and processing HTML, XML or other
|
|
|
5aec15 |
textual content for output generation on the web. The major feature is
|
|
|
5aec15 |
a template language, which is heavily inspired by Kid.
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%package -n python3-genshi
|
|
|
5aec15 |
Summary: %{summary}
|
|
|
5aec15 |
|
|
|
5aec15 |
%description -n python3-genshi
|
|
|
5aec15 |
Genshi is a Python library that provides an integrated set of
|
|
|
5aec15 |
components for parsing, generating, and processing HTML, XML or other
|
|
|
5aec15 |
textual content for output generation on the web. The major feature is
|
|
|
5aec15 |
a template language, which is heavily inspired by Kid.
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%prep
|
|
|
5aec15 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
5aec15 |
|
|
|
5aec15 |
# Remove bundled egg-info in case it exists
|
|
|
5aec15 |
rm -rf %{modname}.egg-info
|
|
|
5aec15 |
|
|
|
5aec15 |
find examples -type f | xargs chmod a-x
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%build
|
|
|
5aec15 |
%py3_build
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%install
|
|
|
5aec15 |
%py3_install
|
|
|
5aec15 |
rm -r %{buildroot}%{python3_sitelib}/genshi/tests
|
|
|
5aec15 |
rm -r %{buildroot}%{python3_sitelib}/genshi/{filters,template}/tests
|
|
|
5aec15 |
rm %{buildroot}%{python3_sitelib}/genshi/*.c
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%check
|
|
|
5aec15 |
%{python3} setup.py test
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%files -n python3-genshi
|
|
|
5aec15 |
%license COPYING
|
|
|
5aec15 |
%doc ChangeLog doc examples README.txt
|
|
|
5aec15 |
%{python3_sitelib}/%{srcname}-%{version}-py*.egg-info/
|
|
|
5aec15 |
%{python3_sitelib}/genshi/
|
|
|
5aec15 |
|
|
|
5aec15 |
|
|
|
5aec15 |
%changelog
|
|
|
5aec15 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Dec 21 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.5-2
|
|
|
5aec15 |
- Drop python2-genshi
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Nov 18 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.5-1
|
|
|
5aec15 |
- update to 0.7.5
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Nov 04 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.4-1
|
|
|
5aec15 |
- update to 0.7.4
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-8
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Jun 15 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.3-7
|
|
|
5aec15 |
- add patches for Python 3.9 compatibility
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.3-6
|
|
|
5aec15 |
- Rebuilt for Python 3.9
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-5
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.3-4
|
|
|
5aec15 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.3-3
|
|
|
5aec15 |
- Rebuilt for Python 3.8
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue May 28 2019 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.3-1
|
|
|
5aec15 |
- update to new upstream version 0.7.3
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Apr 29 2019 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.2-1
|
|
|
5aec15 |
- update to new upstream version 0.7.2
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Feb 04 2019 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.1-1
|
|
|
5aec15 |
- update to new upstream version 0.7.1
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-23
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-22
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Jun 29 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7-21
|
|
|
5aec15 |
- Rebuilt for Python 3.7
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Jun 29 2018 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7-20
|
|
|
5aec15 |
- add patches for Python 3.7 compatibility
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7-19
|
|
|
5aec15 |
- Rebuilt for Python 3.7
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-18
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-17
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-16
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-15
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Dec 26 2016 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7-14
|
|
|
5aec15 |
- update spec file to match Fedora's Python2/3 package versioning policies
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7-13
|
|
|
5aec15 |
- Rebuild for Python 3.6
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-12
|
|
|
5aec15 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-11
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Nov 13 2015 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7-10
|
|
|
5aec15 |
- add patch for Python 3.5 (Genshi bug 602)
|
|
|
5aec15 |
- use license macro
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-9
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-8
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Nov 12 2014 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7-7
|
|
|
5aec15 |
- fix dependency on python3-babel (bz 1163067)
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Oct 30 2014 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7-6
|
|
|
5aec15 |
- fix tests on Python 2.7.8 (RHBZ 1106778)
|
|
|
5aec15 |
- enable python3 subpackage again as we have Babel 1.3 now in the repos
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-5
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Apr 10 2013 Luke Macken <lmacken@redhat.com> - 0.7-2
|
|
|
5aec15 |
- Disable the python3 subpackage until python-babel is ported
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Apr 9 2013 Luke Macken <lmacken@redhat.com> - 0.7-1
|
|
|
5aec15 |
- Update to 0.7
|
|
|
5aec15 |
- Add a python3 subpackage
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-6
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Nov 18 2010 Luke Macken <lmacken@redhat.com> - 0.6-2
|
|
|
5aec15 |
- Build with the optional C speed-enhancements
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sun Aug 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.6-1
|
|
|
5aec15 |
- Version 0.6
|
|
|
5aec15 |
- http://svn.edgewall.org/repos/genshi/tags/0.6.0/
|
|
|
5aec15 |
- (Apr 22 2010, from branches/stable/0.6.x)
|
|
|
5aec15 |
-
|
|
|
5aec15 |
- * Support for Python 2.3 has been dropped.
|
|
|
5aec15 |
- * Rewrite of the XPath evaluation engine for better performance and improved
|
|
|
5aec15 |
- correctness. This is the result of integrating work done by Marcin Kurczych
|
|
|
5aec15 |
- during GSoC 2008.
|
|
|
5aec15 |
- * Updated the Python AST processing for template code evaluation to use the
|
|
|
5aec15 |
- `_ast` module instead of the deprecated `compiler` package, including an
|
|
|
5aec15 |
- adapter layer for Python 2.4. This, too, is the result of integrating work
|
|
|
5aec15 |
- done by Marcin Kurczych during GSoC 2008.
|
|
|
5aec15 |
- * Added caching in the serialization stage for improved performance in some
|
|
|
5aec15 |
- cases.
|
|
|
5aec15 |
- * Various improvements to the HTML sanitization filter.
|
|
|
5aec15 |
- * Fix problem with I18n filter that would get confused by expressions in
|
|
|
5aec15 |
- attribute values when inside an `i18n:msg` block (ticket #250).
|
|
|
5aec15 |
- * Fix problem with the transformation filter dropping events after the
|
|
|
5aec15 |
- selection (ticket #290).
|
|
|
5aec15 |
- * `for` loops in template code blocks no longer establish their own locals
|
|
|
5aec15 |
- scope, meaning you can now access variables assigned in the loop outside
|
|
|
5aec15 |
- of the loop, just as you can in regular Python code (ticket #259).
|
|
|
5aec15 |
- * Import statements inside function definitions in template code blocks no
|
|
|
5aec15 |
- longer result in an UndefinedError when the imported name is accessed
|
|
|
5aec15 |
- (ticket #276).
|
|
|
5aec15 |
- * Fixed handling of relative URLs with fragment identifiers containing colons
|
|
|
5aec15 |
- in the `HTMLSanitizer` (ticket #274).
|
|
|
5aec15 |
- * Added an option to the `HTMLFiller` to also populate password fields.
|
|
|
5aec15 |
- * Match template processing no longer produces unwanted duplicate output in
|
|
|
5aec15 |
- some cases (ticket #254).
|
|
|
5aec15 |
- * Templates instantiated without a loader now get an implicit loader based on
|
|
|
5aec15 |
- their file path, or the current directory as a fallback (ticket #320).
|
|
|
5aec15 |
- * Added documentation for the `TemplateLoader`.
|
|
|
5aec15 |
- * Enhanced documentation for internationalization.
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.1-8
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Fri Sep 11 2009 Luke Macken <lmacken@redhat.com> - 0.5.1-7
|
|
|
5aec15 |
- Add a patch to work around some recent Python2.6.2 behavior
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Jun 01 2009 Luke Macken <lmacken@redhat.com> - 0.5.1-5
|
|
|
5aec15 |
- Add python-babel as a requirement
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
|
|
|
5aec15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Nov 29 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.5.1-3
|
|
|
5aec15 |
- Rebuild for Python 2.6
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Oct 9 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.5.1-2
|
|
|
5aec15 |
- Add patch from upstream that fixes problems when using Genshi in
|
|
|
5aec15 |
- conjuction with Babel.
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Oct 7 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.5.1-1
|
|
|
5aec15 |
- Version 0.5.1
|
|
|
5aec15 |
- http://svn.edgewall.org/repos/genshi/tags/0.5.1/
|
|
|
5aec15 |
- (Jul 9 2008, from branches/stable/0.5.x)
|
|
|
5aec15 |
-
|
|
|
5aec15 |
- * Fix problem with nested match templates not being applied when buffering
|
|
|
5aec15 |
- on the outer `py:match` is disabled. Thanks to Erik Bray for reporting the
|
|
|
5aec15 |
- problem and providing a test case!
|
|
|
5aec15 |
- * Fix problem in `Translator` filter that would cause the translation of
|
|
|
5aec15 |
- text nodes to fail if the translation function returned an object that was
|
|
|
5aec15 |
- not directly a string, but rather something like an instance of the
|
|
|
5aec15 |
- `LazyProxy` class in Babel (ticket #145).
|
|
|
5aec15 |
- * Fix problem with match templates incorrectly being applied multiple times.
|
|
|
5aec15 |
- * Includes from templates loaded via an absolute path now include the correct
|
|
|
5aec15 |
- file in nested directories as long if no search path has been configured
|
|
|
5aec15 |
- (ticket #240).
|
|
|
5aec15 |
- * Unbuffered match templates could result in parts of the matched content
|
|
|
5aec15 |
- being included in the output if the match template didn't actually consume
|
|
|
5aec15 |
- it via one or more calls to the `select()` function (ticket #243).
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Jun 9 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.5-1
|
|
|
5aec15 |
- Update to released version of Genshi.
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Apr 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.5-0.1.svn847
|
|
|
5aec15 |
- Update to snapshot of 0.5
|
|
|
5aec15 |
|
|
|
5aec15 |
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.4-2
|
|
|
5aec15 |
- BR python-setuptools-devel
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Aug 27 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.4-1
|
|
|
5aec15 |
- Update to 0.4.4
|
|
|
5aec15 |
|
|
|
5aec15 |
* Mon Jul 9 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.2-2
|
|
|
5aec15 |
- BR python-setuptools so that egg-info files get installed. Fixes #247430.
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Jun 21 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.2-1
|
|
|
5aec15 |
- Update to 0.4.2
|
|
|
5aec15 |
|
|
|
5aec15 |
* Sat Jun 9 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-1
|
|
|
5aec15 |
- Update to 0.4.1
|
|
|
5aec15 |
|
|
|
5aec15 |
* Wed Apr 18 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-1
|
|
|
5aec15 |
- Update to 0.4.0
|
|
|
5aec15 |
|
|
|
5aec15 |
* Thu Apr 12 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.6-1
|
|
|
5aec15 |
- First version for Fedora Extras
|
|
|
5aec15 |
|