forked from pool/python-iso3166
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iso3166?expand=0&rev=6
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-2.1.1.tar.gz
Normal file
3
iso3166-2.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcd551b8dda66b44e9f9e6d6bbbee3a1145a22447c0a556e5d0fb1ad1e491719
|
||||
size 12807
|
||||
50
python-iso3166.changes
Normal file
50
python-iso3166.changes
Normal file
@@ -0,0 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 08:33:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 02:52:48 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- 2.1.1 - July 11, 2022
|
||||
* Move install metadata from setup.py to setup.cfg
|
||||
* Add py.typed to source distribution
|
||||
- 2.1.0 - July 11, 2022
|
||||
* Updated entries
|
||||
* “Turkey” changed to “Türkiye”
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 16:29:11 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to 2.0.2
|
||||
* Add the ``py.typed`` marker file in accordance with PEP 561
|
||||
* Add ``python_requires`` to ``setup.py``
|
||||
* Add type hints throughout codebase
|
||||
* Drop support for Python versions prior to 3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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)
|
||||
|
||||
60
python-iso3166.spec
Normal file
60
python-iso3166.spec
Normal file
@@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package python-iso3166
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-iso3166
|
||||
Version: 2.1.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 pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
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
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/iso3166
|
||||
%{python_sitelib}/iso3166-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user