Sync from SUSE:SLFO:Main python-text-unidecode revision 0cfa7dff236ce97c245849895efb0bde

This commit is contained in:
Adrian Schröter 2024-05-03 23:15:47 +02:00
commit 2aa2089b45
4 changed files with 137 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,47 @@
-------------------------------------------------------------------
Fri Apr 21 12:37:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:45:23 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Tue Sep 10 09:49:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.3:
* text-unidecode is now dual-licensed under Artistic License and GPL 1 /
GPL 2+, to cause less problems for distributions.
-------------------------------------------------------------------
Thu Feb 14 14:48:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2:
* Use pkgutil instead of pkg_resources
* Cleanup readme
- Execute testsuite
-------------------------------------------------------------------
Tue Dec 4 12:55:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Nov 8 19:03:31 UTC 2017 - arun@gmx.de
- specfile:
* add LICENSE to %doc
- update to version 1.1:
* DOC use official Travis badge
* Test and document all modern Python versions
* Include license file in the source code and distribute it
* Enable pip cache in Travis CI
* Use pkg_resources to keep the package zip-safe
-------------------------------------------------------------------
Sun Oct 22 18:51:55 UTC 2017 - arun@gmx.de
- initial package

View File

@ -0,0 +1,64 @@
#
# spec file for package python-text-unidecode
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-text-unidecode
Version: 1.3
Release: 0
Summary: The most basic Text::Unidecode port
License: Artistic-1.0 OR GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/kmike/text-unidecode/
Source: https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
text-unidecode is the most basic port of the Text::Unidecode Perl library.
There are other Python ports of Text::Unidecode (unidecode and
isounidecode). unidecode is GPL; isounidecode doesnt support Python 3
and uses too much memory.
This port is licensed under Artistic License and supports both Python
2.x and 3.x.
%prep
%setup -q -n text-unidecode-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog

BIN
text-unidecode-1.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.