commit 2aa2089b4533e50c460a9e599763a718359dc4e3affc7aaac26c299edba09cc8 Author: Adrian Schröter Date: Fri May 3 23:15:47 2024 +0200 Sync from SUSE:SLFO:Main python-text-unidecode revision 0cfa7dff236ce97c245849895efb0bde diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python-text-unidecode.changes b/python-text-unidecode.changes new file mode 100644 index 0000000..ca1715f --- /dev/null +++ b/python-text-unidecode.changes @@ -0,0 +1,47 @@ +------------------------------------------------------------------- +Fri Apr 21 12:37:25 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:45:23 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Sep 10 09:49:12 UTC 2019 - Tomáš Chvátal + +- 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 + +- Update to 1.2: + * Use pkgutil instead of pkg_resources + * Cleanup readme +- Execute testsuite + +------------------------------------------------------------------- +Tue Dec 4 12:55:14 UTC 2018 - Matej Cepl + +- 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 diff --git a/python-text-unidecode.spec b/python-text-unidecode.spec new file mode 100644 index 0000000..15a8d6b --- /dev/null +++ b/python-text-unidecode.spec @@ -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 doesn’t 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 diff --git a/text-unidecode-1.3.tar.gz b/text-unidecode-1.3.tar.gz new file mode 100644 index 0000000..8427455 --- /dev/null +++ b/text-unidecode-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93 +size 76885