From 4e918d7832626fb59166ba0f9a59c93a1f730d426a6570f39a8c4db4efe69230 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 18 Jan 2020 10:53:05 +0000 Subject: [PATCH] - drop python 2, not supported anymore upstream - update to version 4.0.0: - Drop support for Python 2, hence the version bump. Update list of PY3K versions to currently-supported versions. If you need to use textile on Python 2.7 or Python 3.3 or 3.4, please use textile Version 3.0.4. - For use in PyPy environments, textile used to work well with the regex package. Lately, it's running into trouble. Please uninstall regex if this is the case for you. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textile?expand=0&rev=22 --- python-textile.changes | 8 ++++++++ python-textile.spec | 19 +++++++++---------- textile-3.0.4.tar.gz | 3 --- textile-4.0.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 13 deletions(-) delete mode 100644 textile-3.0.4.tar.gz create mode 100644 textile-4.0.0.tar.gz diff --git a/python-textile.changes b/python-textile.changes index c3ce558..af8bab0 100644 --- a/python-textile.changes +++ b/python-textile.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jan 18 10:49:22 UTC 2020 - Sebastian Wagner + +- drop python 2, not supported anymore upstream +- update to version 4.0.0: + - Drop support for Python 2, hence the version bump. Update list of PY3K versions to currently-supported versions. If you need to use textile on Python 2.7 or Python 3.3 or 3.4, please use textile Version 3.0.4. + - For use in PyPy environments, textile used to work well with the regex package. Lately, it's running into trouble. Please uninstall regex if this is the case for you. + ------------------------------------------------------------------- Sun Jun 9 06:45:28 UTC 2019 - Sebastian Wagner diff --git a/python-textile.spec b/python-textile.spec index e218589..c56b971 100644 --- a/python-textile.spec +++ b/python-textile.spec @@ -1,7 +1,7 @@ # # spec file for package python-textile # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,26 +18,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test +%define skip_python2 1 Name: python-textile -Version: 3.0.4 +Version: 4.0.0 Release: 0 Summary: Textile processing for python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/textile/python-textile +URL: http://github.com/textile/python-textile Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz Requires: python-Pillow -Requires: python-html5lib >= 0.999999999 +Requires: python-html5lib >= 1.0.1 Requires: python-six Recommends: python-regex -BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} %if %{with test} -# not needed as the test requires internet connection -#BuildRequires: %%{python_module Pillow} -BuildRequires: %{python_module html5lib >= 0.999999999} +BuildRequires: %{python_module html5lib >= 1.0.1} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module regex >= 1.0} %endif BuildRequires: fdupes BuildRequires: python-rpm-macros diff --git a/textile-3.0.4.tar.gz b/textile-3.0.4.tar.gz deleted file mode 100644 index e4c1871..0000000 --- a/textile-3.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acc43b6c543cca7627f9d9ba840bad1a6f049a043bdd16c69d7a17d4eb660e21 -size 49890 diff --git a/textile-4.0.0.tar.gz b/textile-4.0.0.tar.gz new file mode 100644 index 0000000..677e9cf --- /dev/null +++ b/textile-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:384462e6500064ea4217808910378f8e2947240fa9692302c35b59e6d224e66f +size 49637