8 Commits

Author SHA256 Message Date
0ae741eaa2 Accepting request 1276082 from devel:languages:python
- Add remove_six.patch removing six from the package
  (gh#edgewall/genshi!92).

OBS-URL: https://build.opensuse.org/request/show/1276082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Genshi?expand=0&rev=27
2025-05-12 14:45:33 +00:00
b791fa88eb Do not protect against fixed bug.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=41
2025-05-09 07:08:24 +00:00
534c3ae13f Remove %python_setup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=40
2025-05-09 07:06:43 +00:00
e4893cda05 - Add remove_six.patch removing six from the package
(gh#edgewall/genshi!92).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=39
2025-05-09 07:05:30 +00:00
d19a61be89 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
bde476fbe3 Accepting request 1203605 from home:ecsos:python
- Fix build error under Leap.

OBS-URL: https://build.opensuse.org/request/show/1203605
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
9615cd280c 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
2264b34e95 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
3 changed files with 1190 additions and 11 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Genshi
#
# Copyright (c) 2024 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
@@ -26,16 +26,19 @@ 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}
@@ -67,15 +70,10 @@ This package contains documentation and examples.
%autosetup -p1 -n Genshi-%{version}
%build
%python_build
%pyproject_wheel
%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
%pyproject_install
# remove accidentally installed source files
%python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -87,7 +85,7 @@ popd
%license COPYING
%doc ChangeLog README.md
%{python_sitearch}/genshi/
%{python_sitearch}/Genshi-%{version}*-info
%{python_sitearch}/[Gg]enshi-%{version}*-info
%files -n %{name}-doc
%doc doc

1175
remove_six.patch Normal file

File diff suppressed because it is too large Load Diff