forked from pool/python-iso3166
Accepting request 829854 from home:jayvdb:py-submit
from :misc OBS-URL: https://build.opensuse.org/request/show/829854 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iso3166?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
iso3166-1.0.1.tar.gz
Normal file
3
iso3166-1.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1e58dbcf50fbb2c9c418ec7a6057f0cdb30b8f822ac852f72e71ba769dae8c5
|
||||
size 10052
|
||||
26
python-iso3166.changes
Normal file
26
python-iso3166.changes
Normal file
@@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 27 02:12:28 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Convert to single spec
|
||||
- Activate test suite
|
||||
- Update to v1.0.1
|
||||
* Include test files in source distribution
|
||||
* Added all Python 3 versions to tox.ini and supported list
|
||||
- from v1.0
|
||||
* "Macedonia, the former Yugoslav Republic of" changed to
|
||||
"North Macedonia" (effective 2019-03-13)
|
||||
* Added numeric code 983 for Kosovo to mirror usage by the
|
||||
National Statistical Office of Canada
|
||||
- from v0.9
|
||||
* New entry for Kosovo (XK / XKX)
|
||||
* Swaziland changed to Eswatini (effective 2018-07-16)
|
||||
- from v0.8
|
||||
* Czechia (changed 2016-09)
|
||||
* United Kingdom of Great Britain and Northern Ireland
|
||||
(changed 2014-12)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 13:06:01 UTC 2015 - prusnak@opensuse.org
|
||||
|
||||
- created package (version 0.7)
|
||||
|
||||
58
python-iso3166.spec
Normal file
58
python-iso3166.spec
Normal file
@@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package python-iso3166
|
||||
#
|
||||
# Copyright (c) 2020 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-%{**}}
|
||||
Name: python-iso3166
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Python ISO 3166-1 country definitions
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/deactivated/python-iso3166
|
||||
Source: https://files.pythonhosted.org/packages/source/i/iso3166/iso3166-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
ISO 3166-1 defines two-letter, three-letter, and three-digit country
|
||||
codes. `python-iso3166` is a self-contained module that converts
|
||||
between these codes and the corresponding country name.
|
||||
|
||||
%prep
|
||||
%setup -q -n iso3166-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user