Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37562355
en ru br
ALT Linux repositórios
S:1.2.3-alt1

Group :: Development/Python3
RPM: python3-module-requests-gssapi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define mname requests-gssapi

%def_with check

Name: python3-module-%mname
Version: 1.2.3
Release: alt1

Summary: A GSSAPI/SPNEGO authentication handler for python-requests
License: ISC
Group: Development/Python3
# Source-git: https://github.com/pythongssapi/requests-gssapi.git
Url: https://pypi.org/project/requests-gssapi

Source: %name-%version.tar
Patch: %name-%version-alt.patch

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3(gssapi)
BuildRequires: python3(requests)
BuildRequires: python3(tox)
%endif

BuildArch: noarch

# PyPI name

%py3_provides requests-gssapi
Provides: python3-module-requests_gssapi = %EVR

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

It provides a fully backward-compatible shim for the old
python-requests-kerberos library. A more powerful interface is
provided by the HTTPSPNEGOAuth component, but this is of course not
guaranteed to be compatible.

%prep
%setup
%patch -p1

%build
%python3_build

%install
%python3_install

%check
cat > tox.ini <<'EOF'
[testenv]
commands = {envpython} -m pytest {posargs:.}
EOF
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009