commit dcf54a72bb870dcce5eb612591c449d11bce239d7d87f3d4695540331c0cb354 Author: Dirk Mueller Date: Sun Aug 7 12:17:16 2016 +0000 Accepting request 416582 from home:XRevan86 OBS-URL: https://build.opensuse.org/request/show/416582 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?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/inflect-0.2.5.tar.gz b/inflect-0.2.5.tar.gz new file mode 100644 index 0000000..eda43e6 --- /dev/null +++ b/inflect-0.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2014c8dcb2114ebae2941ba3f0fbd98a02c846792a7b72f2da31eb9aa431a818 +size 109756 diff --git a/python-inflect.changes b/python-inflect.changes new file mode 100644 index 0000000..b7414fb --- /dev/null +++ b/python-inflect.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Tue Aug 2 13:24:18 UTC 2016 - sor.alexei@meowr.ru + +- Switch to Python2. + +------------------------------------------------------------------- +Sun May 8 07:09:10 UTC 2016 - arun@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + +------------------------------------------------------------------- +Sat Feb 14 21:14:47 UTC 2015 - arun@gmx.de + +- initial version diff --git a/python-inflect.spec b/python-inflect.spec new file mode 100644 index 0000000..94f0d4e --- /dev/null +++ b/python-inflect.spec @@ -0,0 +1,54 @@ +# +# spec file for package python-inflect +# +# Copyright (c) 2016 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/ +# + + +Name: python-inflect +Version: 0.2.5 +Release: 0 +Summary: Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words +License: AGPL-3.0 +Group: Development/Languages/Python +Url: https://github.com/pwdyson/inflect.py +Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-devel +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%else +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%py_requires +%endif + +%description +Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words. + +%prep +%setup -q -n inflect-%{version} + +%build +python2 setup.py build + +%install +python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYING.txt README.rst +%{python_sitelib}/* + +%changelog