15
0
forked from pool/python-Genshi

4 Commits

Author SHA256 Message Date
48ff2f27cc Accepting request 1203708 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Genshi?expand=0&rev=26
2024-09-26 16:52:45 +00:00
720358ce5d - Fix build error under Leap.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=37
2024-09-25 22:18:09 +00:00
95e504541a Accepting request 1189025 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Genshi?expand=0&rev=25
2024-07-24 13:33:02 +00:00
a66bd3810b Accepting request 1188982 from home:glaubitz:branches:devel:languages:python
- Update to 0.7.9
  * Add Python 3.12 to CI matrix and fix Python 3.12 support. (#77)
  * Add Python 3.13 beta to CI. (#81)
  * Add badges to the README. (#82)
- from version 0.7.8
  * Do not merge sub directives if they have not been changed. (#53)
  * Silence deprecation warnings from attempting to import Ellipsis and
    Str (which are needed to support older Pythons). (#73)
  * Remove fallback to distutils, patching of bdist_egg and use of doctools. (#74)
  * Clarify the escaping in _URL_FINDER. (#76)
  * Fix installation with setuptools >= 60. (#68)
- Rename README.txt to README.md in %files section

OBS-URL: https://build.opensuse.org/request/show/1188982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=35
2024-07-22 11:58:40 +00:00
4 changed files with 33 additions and 15 deletions

Binary file not shown.

BIN
Genshi-0.7.9.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Sep 25 14:08:40 UTC 2024 - ecsos <ecsos@opensuse.org>
- Fix build error under Leap.
-------------------------------------------------------------------
Mon Jul 22 09:59:24 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.7.9
* Add Python 3.12 to CI matrix and fix Python 3.12 support. (#77)
* Add Python 3.13 beta to CI. (#81)
* Add badges to the README. (#82)
- from version 0.7.8
* Do not merge sub directives if they have not been changed. (#53)
* Silence deprecation warnings from attempting to import Ellipsis and
Str (which are needed to support older Pythons). (#73)
* Remove fallback to distutils, patching of bdist_egg and use of doctools. (#74)
* Clarify the escaping in _URL_FINDER. (#76)
* Fix installation with setuptools >= 60. (#68)
- Rename README.txt to README.md in %files section
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 23 01:39:49 UTC 2023 - Matej Cepl <mcepl@suse.com> Sun Apr 23 01:39:49 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Genshi # spec file for package python-Genshi
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define oldpython python %define oldpython python
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-Genshi Name: python-Genshi
Version: 0.7.7 Version: 0.7.9
Release: 0 Release: 0
Summary: A toolkit for generation of output for the web Summary: A toolkit for generation of output for the web
License: BSD-3-Clause License: BSD-3-Clause
@@ -49,7 +49,6 @@ components for parsing, generating, and processing HTML, XML or
other textual content for output generation on the web. The major other textual content for output generation on the web. The major
feature is a template language, which is heavily inspired by Kid. feature is a template language, which is heavily inspired by Kid.
%if 0%{?suse_version} > 1500
%package -n %{name}-doc %package -n %{name}-doc
Summary: A toolkit for generation of output for the web - Documentation Summary: A toolkit for generation of output for the web - Documentation
Group: Development/Libraries/Python Group: Development/Libraries/Python
@@ -63,7 +62,6 @@ other textual content for output generation on the web. The major
feature is a template language, which is heavily inspired by Kid. feature is a template language, which is heavily inspired by Kid.
This package contains documentation and examples. This package contains documentation and examples.
%endif
%prep %prep
%autosetup -p1 -n Genshi-%{version} %autosetup -p1 -n Genshi-%{version}
@@ -73,27 +71,26 @@ This package contains documentation and examples.
%install %install
%python_install %python_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitearch}
find . -name '*.pyc' -exec rm -f '{}' ';'
python%python_bin_suffix -m compileall *.py ';'
popd
# remove accidentally installed source files # remove accidentally installed source files
%python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete %python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
%if %{suse_version} < 1550
# calling unittest directly fails on Leap
%python_exec setup.py test
%else
%pyunittest_arch -v genshi.tests.suite %pyunittest_arch -v genshi.tests.suite
%endif
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING
%doc ChangeLog README.txt %doc ChangeLog README.md
%{python_sitearch}/genshi/ %{python_sitearch}/genshi/
%{python_sitearch}/Genshi-%{version}*-info %{python_sitearch}/Genshi-%{version}*-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc %files -n %{name}-doc
%doc doc %doc doc
%endif
%doc examples %doc examples
%changelog %changelog