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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define pypi_name requests-ntlm

%def_with check

Name:    python3-module-%pypi_name
Version: 1.2.0
Release: alt1

Summary: NTLM authentication support for Requests

License: ISC
Group:   Development/Python3
URL:     https://pypi.org/project/requests-ntlm
VCS:     https://github.com/requests/requests-ntlm

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildArch: noarch

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%if_with check
BuildRequires: python3-module-cryptography
BuildRequires: python3-module-spnego
BuildRequires: python3-module-requests
BuildRequires: python3-module-flask
%endif

%description
%summary.

%prep
%setup
sed -i -e 's/requests.packages.\(urllib3.response\)/\1/' requests_ntlm/requests_ntlm.py

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_create_default_config
# These tests require network
%tox_check_pyproject -- --ignore=tests/functional/test_functional.py -k\
                       'not TestRequestsNtlm'

%files
%doc LICENSE *.rst
%python3_sitelibdir/requests_ntlm
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}

%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