Group :: Development/Python3
RPM: python3-module-pycountry
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname pycountry
%def_with check
Name: python3-module-%oname
Version: 22.3.5
Release: alt1
Summary: ISO country, subdivision, language, currency and script definitions
License: LGPL-2.1
Group: Development/Python3
Url: https://pypi.org/project/pycountry/
Vcs: https://github.com/flyingcircusio/pycountry
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest-cov
%endif
%description
ISO country, subdivision, language, currency and script definitions and
their translations.
%package tests
Summary: Tests for %oname
Group: Development/Python3
BuildArch: noarch
Requires: %name = %EVR
%description tests
Tests for ISO country, subdivision, language, currency and script
definitions and their translations.
This package contains tests for %oname
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.txt *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%exclude %python3_sitelibdir/%oname/tests
%files tests
%python3_sitelibdir/%oname/tests
%changelog
…
Full changelog you can see here
%def_with check
Name: python3-module-%oname
Version: 22.3.5
Release: alt1
Summary: ISO country, subdivision, language, currency and script definitions
License: LGPL-2.1
Group: Development/Python3
Url: https://pypi.org/project/pycountry/
Vcs: https://github.com/flyingcircusio/pycountry
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest-cov
%endif
%description
ISO country, subdivision, language, currency and script definitions and
their translations.
%package tests
Summary: Tests for %oname
Group: Development/Python3
BuildArch: noarch
Requires: %name = %EVR
%description tests
Tests for ISO country, subdivision, language, currency and script
definitions and their translations.
This package contains tests for %oname
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.txt *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%exclude %python3_sitelibdir/%oname/tests
%files tests
%python3_sitelibdir/%oname/tests
%changelog
…
Full changelog you can see here