Группа :: Development/Python3
Пакет: python3-module-redmine
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define modname redmine
%define pypi_name python-redmine
%def_with check
Name: python3-module-%modname
Version: 2.4.0
Release: alt2
Summary: Library for communicating with a Redmine project management application.
License: Apache-2.0
Group: Development/Python3
Url: https://python-redmine.com/
BuildArch: noarch
# https://github.com/maxtepkeev/python-redmine/
Source: %name-%version.tar
Patch1: disable-tests-coverage.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: python3(requests)
%endif
%py3_provides %pypi_name
%description
Python-Redmine is a library for communicating with a Redmine project management
application. Redmine exposes some of it's data via REST API for which Python-Redmine
provides a simple but powerful Pythonic API inspired by a well-known Django ORM.
%prep
%setup
%patch1 -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc README.* LICENSE docs/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%python3_sitelibdir/redminelib
%changelog
…
Полный changelog можно просмотреть здесь
%define modname redmine
%define pypi_name python-redmine
%def_with check
Name: python3-module-%modname
Version: 2.4.0
Release: alt2
Summary: Library for communicating with a Redmine project management application.
License: Apache-2.0
Group: Development/Python3
Url: https://python-redmine.com/
BuildArch: noarch
# https://github.com/maxtepkeev/python-redmine/
Source: %name-%version.tar
Patch1: disable-tests-coverage.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: python3(requests)
%endif
%py3_provides %pypi_name
%description
Python-Redmine is a library for communicating with a Redmine project management
application. Redmine exposes some of it's data via REST API for which Python-Redmine
provides a simple but powerful Pythonic API inspired by a well-known Django ORM.
%prep
%setup
%patch1 -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc README.* LICENSE docs/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%python3_sitelibdir/redminelib
%changelog
…
Полный changelog можно просмотреть здесь