diff --git a/python-requests-ntlm-1.1.0.tar.gz b/python-requests-ntlm-1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c92efa85d9c1f0d62dd49b9e5c1992f8c3f141a6 Binary files /dev/null and b/python-requests-ntlm-1.1.0.tar.gz differ diff --git a/python-requests-ntlm.spec b/python-requests-ntlm.spec new file mode 100644 index 0000000000000000000000000000000000000000..8cbbe3b5935ab374fd790e7893c94ad57cb236e9 --- /dev/null +++ b/python-requests-ntlm.spec @@ -0,0 +1,43 @@ +%bcond_with bootstrap + +Name: python-requests-ntlm +Version: 1.1.0 +Release: 1 +Summary: NTLM authentication support for Requests. +License: MIT +URL: https://github.com/requests/requests-ntlm +Source0: https://github.com/requests/requests-ntlm/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%description +This package allows for HTTP NTLM authentication using the requests library. + +%package -n python3-requests-ntlm +Summary: NTLM authentication support for Requests +BuildRequires: python3-pytest python3-ntlm-auth + +%description -n python3-requests-ntlm +This package allows for HTTP NTLM authentication using the requests library. + +%prep +%autosetup -n requests-ntlm-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m tests.test_server & +%{__python3} -m pytest --ignore=tests/functional/test_functional.py --ignore=tests/test_server.py tests/ + +%files -n python3-requests-ntlm +%license LICENSE +%{python3_sitelib}/* + + +%changelog +* Tue Apr 28 2020 Wei Xiong +- init package