Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0ae741eaa2 | |||
| b791fa88eb | |||
| 534c3ae13f | |||
| e4893cda05 | |||
| d19a61be89 | |||
| bde476fbe3 | |||
| 9615cd280c | |||
| 2264b34e95 |
BIN
Genshi-0.7.7.tar.gz
LFS
BIN
Genshi-0.7.7.tar.gz
LFS
Binary file not shown.
BIN
Genshi-0.7.9.tar.gz
LFS
Normal file
BIN
Genshi-0.7.9.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 06:30:01 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add remove_six.patch removing six from the package
|
||||
(gh#edgewall/genshi!92).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Genshi
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,23 +19,26 @@
|
||||
%define oldpython python
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Genshi
|
||||
Version: 0.7.7
|
||||
Version: 0.7.9
|
||||
Release: 0
|
||||
Summary: A toolkit for generation of output for the web
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://genshi.edgewall.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/G/Genshi/Genshi-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM remove_six.patch gh#edgewall/genshi!92 mcepl@suse.com
|
||||
# remove six
|
||||
Patch0: remove_six.patch
|
||||
BuildRequires: %{python_module Babel}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Babel
|
||||
Requires: python-six
|
||||
Requires: python-xml
|
||||
%ifpython2
|
||||
Obsoletes: %{oldpython}-genshi < %{version}
|
||||
@@ -49,7 +52,6 @@ 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.
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%package -n %{name}-doc
|
||||
Summary: A toolkit for generation of output for the web - Documentation
|
||||
Group: Development/Libraries/Python
|
||||
@@ -63,37 +65,30 @@ other textual content for output generation on the web. The major
|
||||
feature is a template language, which is heavily inspired by Kid.
|
||||
|
||||
This package contains documentation and examples.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n Genshi-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
# remove accidentally installed source files
|
||||
%python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%if %{suse_version} < 1550
|
||||
# calling unittest directly fails on Leap
|
||||
%python_exec setup.py test
|
||||
%else
|
||||
%pyunittest_arch -v genshi.tests.suite
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc ChangeLog README.txt
|
||||
%doc ChangeLog README.md
|
||||
%{python_sitearch}/genshi/
|
||||
%{python_sitearch}/Genshi-%{version}*-info
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{python_sitearch}/[Gg]enshi-%{version}*-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%doc doc
|
||||
%endif
|
||||
%doc examples
|
||||
|
||||
%changelog
|
||||
|
||||
1175
remove_six.patch
Normal file
1175
remove_six.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user