Группа :: Development/Python3
Пакет: python3-module-babelfish
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name babelfish
%def_with check
Name: python3-module-%pypi_name
Version: 0.6.0
Release: alt2
Summary: A module to work with countries and languages
License: BSD
Group: Development/Python3
Url: https://pypi.org/project/babelfish/
BuildArch: noarch
# https://github.com/Diaoul/babelfish.git
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(poetry-core)
%description
BabelFish is a Python library to work with countries and languages.
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md
%python3_sitelibdir/babelfish/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name babelfish
%def_with check
Name: python3-module-%pypi_name
Version: 0.6.0
Release: alt2
Summary: A module to work with countries and languages
License: BSD
Group: Development/Python3
Url: https://pypi.org/project/babelfish/
BuildArch: noarch
# https://github.com/Diaoul/babelfish.git
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(poetry-core)
%description
BabelFish is a Python library to work with countries and languages.
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md
%python3_sitelibdir/babelfish/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь