commit db372c3d134644deb4536cafe302ff0305dd78d9d72d8393baed29733b23a680 Author: Thomas Bechtold Date: Thu Oct 6 05:57:12 2016 +0000 Accepting request 433530 from home:Mailaender:branches:GNOME:Apps use pypi.io OBS-URL: https://build.opensuse.org/request/show/433530 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycountry?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/pycountry-1.20.tar.gz b/pycountry-1.20.tar.gz new file mode 100644 index 0000000..ed424c1 --- /dev/null +++ b/pycountry-1.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98 +size 5024012 diff --git a/python-pycountry.changes b/python-pycountry.changes new file mode 100644 index 0000000..e26e8cd --- /dev/null +++ b/python-pycountry.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 5 03:25:59 UTC 2016 - mailaender@opensuse.org + +- update to version 1.20 + +------------------------------------------------------------------- +Wed Oct 08 2008 - Ciaran Farrell + +- Initial import and build of version 0.10 diff --git a/python-pycountry.spec b/python-pycountry.spec new file mode 100644 index 0000000..3998ebb --- /dev/null +++ b/python-pycountry.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-pycountry +# +# 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/ +# + + +%define real_name pycountry + +Name: python-pycountry +Version: 1.20 +Release: 0 +Summary: Databases for ISO standards 639 3166 3166-2 4217 15924 +License: LGPL-2.1 +Group: Development/Libraries/Python +Url: https://pypi.python.org/pypi/pycountry/ +Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz +BuildRequires: python-setuptools +Requires: python +Requires: python-lxml +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%py_requires + +%description +pycountry provides the ISO databases for the standards 639 (Languages), +3166 (Countries), 3166-2 (Subdivisions of countries), 4217 (Currencies), +15924 (Scripts). The databases are imported from Debian's pkg-isocodes, +packaged into pycountry and made accessible through a Python API. +Translation files for the various strings are included as well. + +%prep +%setup -q -n %{real_name}-%{version} + +%build +export CFLAGS="%{optflags}" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES + +%files -f INSTALLED_FILES +%defattr(-,root,root) + +%changelog