Blame SPECS/python-requests_ntlm.spec

35f5d7
%global srcname requests_ntlm
35f5d7
35f5d7
Name:           python-%{srcname}
35f5d7
Version:        1.1.0
35f5d7
Release:        14%{?dist}
35f5d7
Summary:        NTLM module for python requests
35f5d7
35f5d7
License:        ISC
35f5d7
URL:            https://pypi.python.org/pypi/requests_ntlm
35f5d7
Source0:        https://github.com/requests/requests-ntlm/archive/v%{version}/%{srcname}-%{version}.tar.gz
35f5d7
BuildArch:      noarch
35f5d7
35f5d7
%global _description %{expand:
35f5d7
This package allows Python clients running on any operating system to provide
35f5d7
NTLM authentication to a supporting server.}
35f5d7
35f5d7
%description %{_description}
35f5d7
35f5d7
%package -n     python3-%{srcname}
35f5d7
Summary:        %{summary}
35f5d7
%{?python_provide:%python_provide python3-%{srcname}}
35f5d7
BuildRequires:  python3-devel
35f5d7
BuildRequires:  python3dist(setuptools)
35f5d7
BuildRequires:  python3dist(requests) >= 2
35f5d7
BuildRequires:  python3dist(ntlm-auth) >= 1.0.2
35f5d7
BuildRequires:  python3dist(cryptography) >= 1.3
35f5d7
BuildRequires:  python3dist(pytest)
35f5d7
BuildRequires:  python3dist(flask)
35f5d7
35f5d7
%description -n python3-%{srcname} %{_description}
35f5d7
35f5d7
Python 3 version.
35f5d7
35f5d7
%prep
35f5d7
%autosetup -n requests-ntlm-%{version}
35f5d7
35f5d7
%build
35f5d7
%py3_build
35f5d7
35f5d7
%install
35f5d7
%py3_install
35f5d7
35f5d7
%check
35f5d7
%python3 -m tests.test_server &
35f5d7
%python3 -m pytest --ignore=tests/functional/test_functional.py --ignore=tests/test_server.py -vv
35f5d7
35f5d7
%files -n python3-%{srcname}
35f5d7
%license LICENSE
35f5d7
%doc CONTRIBUTORS.rst README.rst
35f5d7
%{python3_sitelib}/%{srcname}/
35f5d7
%{python3_sitelib}/%{srcname}-*.egg-info/
35f5d7
35f5d7
%changelog
35f5d7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
35f5d7
35f5d7
* Mon Jan 11 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-13
35f5d7
- Update spec
35f5d7
35f5d7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
35f5d7
35f5d7
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-11
35f5d7
- Rebuilt for Python 3.9
35f5d7
35f5d7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
35f5d7
35f5d7
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-9
35f5d7
- Rebuilt for Python 3.8.0rc1 (#1748018)
35f5d7
35f5d7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-8
35f5d7
- Rebuilt for Python 3.8
35f5d7
35f5d7
* Tue Aug 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-7
35f5d7
- Refactor packaging
35f5d7
35f5d7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
35f5d7
35f5d7
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-5
35f5d7
- Subpackage python2-requests_ntlm has been removed
35f5d7
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
35f5d7
35f5d7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
35f5d7
35f5d7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
35f5d7
35f5d7
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
35f5d7
- Rebuilt for Python 3.7
35f5d7
- Add missing BR python3-cryptography
35f5d7
35f5d7
* Tue Apr 17 2018 James Hogarth <james.hogarth@gmail.com> - 1.1.0-1
35f5d7
- Upstream release 1.1.0
35f5d7
35f5d7
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.0-6
35f5d7
- Update Python 2 dependency declarations to new packaging standards
35f5d7
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
35f5d7
35f5d7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
35f5d7
35f5d7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
35f5d7
35f5d7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
35f5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
35f5d7
35f5d7
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2
35f5d7
- Rebuild for Python 3.6
35f5d7
35f5d7
* Mon Oct 10 2016 James Hogarth <james.hogarth@gmail.com> - 0.3.0-1
35f5d7
- Initial package.