forked from pool/python-textile
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:
@@ -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>
|
Sat Nov 27 10:13:30 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-textile
|
# 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
|
# 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
|
||||||
@@ -16,27 +16,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-textile
|
Name: python-textile
|
||||||
Version: 4.0.2
|
Version: 4.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Textile processing for python
|
Summary: Textile processing for python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/textile/python-textile
|
URL: https://github.com/textile/python-textile
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module html5lib >= 1.0.1}
|
BuildRequires: %{python_module html5lib >= 1.0.1}
|
||||||
|
BuildRequires: %{python_module nh3}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module regex >= 1.0}
|
BuildRequires: %{python_module regex >= 1.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pillow
|
Requires: python-nh3
|
||||||
Requires: python-html5lib >= 1.0.1
|
Requires: python-regex
|
||||||
Requires: python-six
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Recommends: python-regex
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -49,17 +49,16 @@ MathML translation, Python code coloring and much more.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n textile-%{version}
|
%setup -q -n textile-%{version}
|
||||||
sed -i -e '/pytest-runner/d' setup.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%check
|
%check
|
||||||
rm pytest.ini
|
rm pytest.ini
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pytextile
|
%python_clone -a %{buildroot}%{_bindir}/pytextile
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -71,7 +70,8 @@ rm pytest.ini
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/textile
|
||||||
|
%{python_sitelib}/textile-%{version}.dist-info
|
||||||
%python_alternative %{_bindir}/pytextile
|
%python_alternative %{_bindir}/pytextile
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -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
3
textile-4.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f2b0fa67769051a406020d2fa4d247d16967080aae407139f888c196eb23de6b
|
||||||
|
size 56908
|
Reference in New Issue
Block a user