Группа :: Development/Python3
Пакет: python3-module-lingua
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname lingua
Name: python3-module-%oname
Version: 4.15.0
Release: alt2
Summary: Translation toolset
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/lingua/
# https://github.com/wichert/lingua.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-flit
BuildRequires: python3-module-polib
BuildRequires: python3-module-chameleon.core
BuildRequires: python3-module-mock
BuildRequires: python3-module-pytest
BuildRequires: python3-module-click
Conflicts: python-module-lingua < %EVR
Obsoletes: python-module-lingua < %EVR
%py3_provides %oname
%description
Lingua is a package with tools to extract translateable texts from your
code, and to check existing translations. It replaces the use of the
xgettext command from gettext, or pybabel from Babel.
%prep
%setup
sed -i 's/4.14/4.15/' src/lingua/__init__.py
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.rst docs/examples
%_bindir/polint
%_bindir/pot-create
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-%oname
Version: 4.15.0
Release: alt2
Summary: Translation toolset
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/lingua/
# https://github.com/wichert/lingua.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-flit
BuildRequires: python3-module-polib
BuildRequires: python3-module-chameleon.core
BuildRequires: python3-module-mock
BuildRequires: python3-module-pytest
BuildRequires: python3-module-click
Conflicts: python-module-lingua < %EVR
Obsoletes: python-module-lingua < %EVR
%py3_provides %oname
%description
Lingua is a package with tools to extract translateable texts from your
code, and to check existing translations. It replaces the use of the
xgettext command from gettext, or pybabel from Babel.
%prep
%setup
sed -i 's/4.14/4.15/' src/lingua/__init__.py
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.rst docs/examples
%_bindir/polint
%_bindir/pot-create
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь