forked from pool/python-topy
Accepting request 862902 from home:pgajdos:python
- version update to 1.0.0 * Updated bundled ruleset from Wikipedia (#23) * Removed Python 2.x and <3.5 compatibility code (#22) * Fixed Travis CI configuration (#21) * Updated bundled ruleset (thanks to Oscar Caballero) * Added --disable option to disable individual rules (thanks to Oscar Caballero) * Fixed behavior when replacement string contains $ symbol (thanks to Oscar Caballero) * Prefer the faster lxml parser when it is installed. lxml is now an optional dependency * (thanks to Oscar Caballero) * Added Python 3.7 support, deprecated Python 3.3 and 3.4. - python3 only package - use %pytest macro OBS-URL: https://build.opensuse.org/request/show/862902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-topy?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 13 13:46:10 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.0.0
|
||||
* Updated bundled ruleset from Wikipedia (#23)
|
||||
* Removed Python 2.x and <3.5 compatibility code (#22)
|
||||
* Fixed Travis CI configuration (#21)
|
||||
* Updated bundled ruleset (thanks to Oscar Caballero)
|
||||
* Added --disable option to disable individual rules (thanks to Oscar Caballero)
|
||||
* Fixed behavior when replacement string contains $ symbol (thanks to Oscar Caballero)
|
||||
* Prefer the faster lxml parser when it is installed. lxml is now an optional dependency
|
||||
* (thanks to Oscar Caballero)
|
||||
* Added Python 3.7 support, deprecated Python 3.3 and 3.4.
|
||||
- python3 only package
|
||||
- use %pytest macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 18 09:10:33 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-topy
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,15 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-topy
|
||||
Version: 0.2.2
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Tool for fixing typos in text using regular expressions
|
||||
License: MIT AND CC-BY-SA-4.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/intgr/topy
|
||||
Source: https://github.com/intgr/topy/archive/v0.2.2.tar.gz#/topy-%{version}.tar.gz
|
||||
Source: https://github.com/intgr/topy/archive/%{version}.tar.gz#/topy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -35,6 +36,7 @@ Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module regex >= 2016.07.14}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -57,7 +59,7 @@ sed -i '1 { /^#!/ d }' topy/topy.py
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative topy
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2691ed767543ad550d70126ea89593a5ac8bdb1e824c427bb546fedeb747b820
|
||||
size 121126
|
3
topy-1.0.0.tar.gz
Normal file
3
topy-1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6e76eaa9889895f29d7576d94c4eba6df2958315f9756645bdcba878a47bbd4
|
||||
size 138854
|
Reference in New Issue
Block a user