commit f2191d455c6ce726ba036a1acb0ac34f122f09b760d28fb98c12b49723eb605b Author: Todd R Date: Mon Oct 23 15:06:02 2017 +0000 Accepting request 535816 from home:apersaud:branches:devel:languages:python - initial package, new dependency for python-Flaker OBS-URL: https://build.opensuse.org/request/show/535816 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-text-unidecode?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-text-unidecode.changes b/python-text-unidecode.changes new file mode 100644 index 0000000..5dc487f --- /dev/null +++ b/python-text-unidecode.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +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..b11a674 --- /dev/null +++ b/python-text-unidecode.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-text-unidecode +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-text-unidecode +Version: 1.0 +Release: 0 +Summary: The most basic Text::Unidecode port +License: Artistic-1.0 +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 devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRoot: %{{_tmppath}}/%{name}-%{version}-build +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} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%{python_sitelib}/* + +%changelog diff --git a/text-unidecode-1.0.tar.gz b/text-unidecode-1.0.tar.gz new file mode 100644 index 0000000..4157157 --- /dev/null +++ b/text-unidecode-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1943a4bfb52f2b5068c8da25cdcfcf28c64c41d891dff70c662927c18ac58052 +size 74739