!5 upgrade openEuler-22.03-LTS-Next python-ntlm-auth 1.5.0

From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-17 06:18:30 +00:00 committed by Gitee
commit 1e96f7f73d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 6 additions and 19 deletions

Binary file not shown.

BIN
ntlm-auth-1.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +0,0 @@
diff --git a/setup.py b/setup.py
index eda4811..3ccbe40 100644
--- a/setup.py
+++ b/setup.py
@@ -16,11 +16,6 @@ setup(
version='1.1.0',
packages=['ntlm_auth'],
install_requires=[],
- extras_require={
- ':python_version<"2.7"': [
- 'ordereddict'
- ]
- },
author='Jordan Borean',
author_email='jborean93@gmail.com',
url='https://github.com/jborean93/ntlm-auth',

View File

@ -3,15 +3,15 @@
%global gh_owner jborean93
%global library_name ntlm_auth
Name: python-%{srcname}
Version: 1.1.0
Version: 1.5.0
Release: 1
Summary: Python 3 compatible NTLM library
License: MIT
URL: https://pypi.python.org/pypi/%{pypi_name}
Source0: https://github.com/%{gh_owner}/%{pypi_name}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
Patch0: ntlm-auth-epel-setuptools.patch
BuildArch: noarch
BuildRequires: python3-setuptools python3-devel python3-pytest python3-requests
BuildRequires: python3dist(cryptography)
%description
This package allows Python clients running on any operating system to provide
NTLM authentication to a supporting server.
@ -26,7 +26,7 @@ Summary: Python 3 compatible NTLM library
NTLM authentication to a supporting server.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{pypi_name}-%{version} -p1
rm -rf %{pypi_name}.egg-info
%build
@ -45,5 +45,8 @@ rm -rf %{pypi_name}.egg-info
%{python3_sitelib}/%{library_name}-%{version}-py?.?.egg-info
%changelog
* Mon Oct 17 2022 xu_ping <xuping33@h-partners.com> - 1.5.0-1
- Upgrade to version 1.5.0
* Mon May 17 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.1.0-1
- package init