14
0

Accepting request 1207148 from home:glaubitz:branches:devel:languages:python

- Update to version 4.0.3
  * Update supported Python versions to 3.8 - 3.12
    ("#83":https://github.com/textile/python-textile/issues/83)
  * Replace html5lib with nh3 for html sanitization
  * General code cleanup
  * Bugfixes:
    ** Wrong HTML output when "bc.." is the very last in the document
       ("#81":https://github.com/textile/python-textile/issues/81)
  * Other:
    ** Use github actions instead of travis for automated testing
- Limit Python files matched in %files section
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions

OBS-URL: https://build.opensuse.org/request/show/1207148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textile?expand=0&rev=31
This commit is contained in:
2024-10-11 12:10:14 +00:00
committed by Git OBS Bridge
parent 453a2c117a
commit 31f190ddcd
4 changed files with 35 additions and 17 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Oct 11 11:31:47 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 4.0.3
* Update supported Python versions to 3.8 - 3.12
("#83":https://github.com/textile/python-textile/issues/83)
* Replace html5lib with nh3 for html sanitization
* General code cleanup
* Bugfixes:
** Wrong HTML output when "bc.." is the very last in the document
("#81":https://github.com/textile/python-textile/issues/81)
* Other:
** Use github actions instead of travis for automated testing
- Limit Python files matched in %files section
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
-------------------------------------------------------------------
Sat Nov 27 10:13:30 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-textile
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,27 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-textile
Version: 4.0.2
Version: 4.0.3
Release: 0
Summary: Textile processing for python
License: BSD-3-Clause
URL: https://github.com/textile/python-textile
Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz
BuildRequires: %{python_module html5lib >= 1.0.1}
BuildRequires: %{python_module nh3}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module regex >= 1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pillow
Requires: python-html5lib >= 1.0.1
Requires: python-six
Requires: python-nh3
Requires: python-regex
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-regex
BuildArch: noarch
%python_subpackages
%description
@@ -49,17 +49,16 @@ MathML translation, Python code coloring and much more.
%prep
%setup -q -n textile-%{version}
sed -i -e '/pytest-runner/d' setup.py
%build
%python_build
%pyproject_wheel
%check
rm pytest.ini
%pytest
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pytextile
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -71,7 +70,8 @@ rm pytest.ini
%files %{python_files}
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/textile
%{python_sitelib}/textile-%{version}.dist-info
%python_alternative %{_bindir}/pytextile
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5894d78a321656a8f72414844c04b10477edd1e2e14f5b05aa1307f02cee9777
size 51157

3
textile-4.0.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2b0fa67769051a406020d2fa4d247d16967080aae407139f888c196eb23de6b
size 56908