Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37758178
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-pook

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define  oname pook

%def_with check

Name:    python3-module-%oname
Version: 1.1.1
Release: alt2

Summary: HTTP traffic mocking and testing made easy in Python

License: MIT
Group:   Development/Python3
URL:     https://github.com/h2non/pook

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-aiohttp
BuildRequires: python3-module-furl
BuildRequires: python3-module-xmltodict
BuildRequires: python3-module-jsonschema
BuildRequires: python3-module-requests
BuildRequires: python3-module-urllib3
%endif

BuildArch: noarch

Source:  %name-%version.tar

%description
%summary

%prep
%setup

%build
%python3_build

%install
%python3_install

# don't install tests in such directory please

rm -rf %buildroot%python3_sitelibdir/tests

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v -k 'not test_engines'

%files
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%doc LICENSE *.rst

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin