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

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

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

%define _unpackaged_files_terminate_build 1
%define oname httpbin

%def_enable check

Name: python3-module-%oname
Version: 0.7.0
Release: alt3
Summary: HTTP Request and Response Service
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/httpbin/
# https://github.com/postmanlabs/httpbin
BuildArch: noarch

Source: %oname-%version.tar

BuildRequires(pre): rpm-build-python3

%if_enabled check
BuildRequires: python3-module-flask
BuildRequires: python3-module-six
BuildRequires: python3-module-werkzeug
BuildRequires: python3-module-raven
BuildRequires: python3-module-brotlipy
%endif


%py3_provides %oname

%description
Testing an HTTP Library can become difficult sometimes. PostBin.org is
fantastic for testing POST requests, but not much else. This exists to
cover all kinds of HTTP scenarios. Additional endpoints are being
considered.

All endpoint responses are JSON-encoded.

%prep
%setup -n %oname-%version

%build
%python3_build_debug

%install
%python3_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir/
python3 test_httpbin.py

%files
%doc AUTHORS *.md LICENSE
%python3_sitelibdir/*

%changelog

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

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