Репозиторий Sisyphus
Последнее обновление: 12 ноября 2018 | Пакетов: 18666 | Посещений: 12530044
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-requests-kerberos

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

%define oname requests-kerberos

%def_with python3

Name: python-module-%oname
Version: 0.6.1
Release: alt1.git20141114.1
Summary: A Kerberos authentication handler for python-requests
License: MIT
Group: Development/Python
Url: https://pypi.python.org/pypi/requests-kerberos/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://github.com/requests/requests-kerberos.git

Source: %name-%version.tar
BuildArch: noarch

BuildPreReq: python-modules-json
BuildPreReq: python-devel python-module-setuptools-tests
BuildPreReq: python-module-mock python-module-requests
BuildPreReq: python-module-kerberos
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools-tests
BuildPreReq: python3-module-mock python3-module-requests
BuildPreReq: python3-module-kerberos
%endif

%py_provides requests_kerberos

%description
Requests is an HTTP library, written in Python, for human beings. This
library adds optional Kerberos/GSSAPI authentication support and
supports mutual authentication.

%package -n python3-module-%oname
Summary: A Kerberos authentication handler for python-requests
Group: Development/Python3
%py3_provides requests_kerberos

%description -n python3-module-%oname
Requests is an HTTP library, written in Python, for human beings. This
library adds optional Kerberos/GSSAPI authentication support and
supports mutual authentication.

%prep
%setup

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%check
python setup.py test
%if_with python3
pushd ../python3
python3 setup.py test
popd
%endif

%files
%doc AUTHORS *.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc AUTHORS *.rst
%python3_sitelibdir/*
%endif

%changelog

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

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