Группа :: Development/Python3
Пакет: python3-module-proteus
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname proteus
%def_without bootstrap
%def_with check
Name: python3-module-%oname
Version: 6.2.2
Release: alt1
Summary: Library to access Tryton server as a client
License: GPL-3
Group: Development/Python3
Url: https://pypi.org/project/proteus/
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-modules-sqlite3
BuildRequires: python3-module-pytest
BuildRequires: python3-module-trytond-tests
%endif
%if_without bootstrap
Requires: python3-module-trytond python3-module-trytond_party
%endif
%py_provides %oname
%description
A library to access Tryton's models like a client.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%if_with bootstrap
%add_python3_req_skip trytond.tests.test_tryton
%endif
%description tests
A library to access Tryton's models like a client.
This package contains tests for %oname.
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%if_with check
%check
export PYTHONPATH=$PWD
py.test3 -vra
%endif
%files
%doc CHANGELOG COPYRIGHT LICENSE README.rst doc/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Полный changelog можно просмотреть здесь
%define oname proteus
%def_without bootstrap
%def_with check
Name: python3-module-%oname
Version: 6.2.2
Release: alt1
Summary: Library to access Tryton server as a client
License: GPL-3
Group: Development/Python3
Url: https://pypi.org/project/proteus/
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-modules-sqlite3
BuildRequires: python3-module-pytest
BuildRequires: python3-module-trytond-tests
%endif
%if_without bootstrap
Requires: python3-module-trytond python3-module-trytond_party
%endif
%py_provides %oname
%description
A library to access Tryton's models like a client.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%if_with bootstrap
%add_python3_req_skip trytond.tests.test_tryton
%endif
%description tests
A library to access Tryton's models like a client.
This package contains tests for %oname.
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%if_with check
%check
export PYTHONPATH=$PWD
py.test3 -vra
%endif
%files
%doc CHANGELOG COPYRIGHT LICENSE README.rst doc/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Полный changelog можно просмотреть здесь