Upgrade to 2.4.1

This commit is contained in:
jxy_git 2022-07-12 15:11:21 +08:00
parent a036512df6
commit 3eeb366a5e
4 changed files with 6 additions and 80 deletions

View File

@ -1,76 +0,0 @@
%{?python_enable_dependency_generator}
%global modname repoze.who
Name: python-repoze-who
Version: 2.4
Release: 1
Summary: An identification and authentication framework for WSGI
License: BSD
URL: https://pypi.python.org/pypi/%{modname}
Source0: https://pypi.python.org/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-coverage
BuildRequires: python3-zope-interface
BuildRequires: python3-webob
%global _description\
repoze.who is an identification and authentication framework for arbitrary WSGI\
applications. It acts as WSGI middleware.\
\
repoze.who is inspired by Zope 2's Pluggable Authentication Service (PAS) (but\
repoze.who is not dependent on Zope in any way; it is useful for any WSGI\
application). It provides no facility for authorization (ensuring whether a\
user can or cannot perform the operation implied by the request). This is\
considered to be the domain of the WSGI application.\
%description %_description
%package -n python3-repoze-who
Summary: An identification and authentication framework for WSGI
%description -n python3-repoze-who
repoze.who is an identification and authentication framework for arbitrary WSGI
applications. It acts as WSGI middleware.
repoze.who is inspired by Zope 2's Pluggable Authentication Service (PAS) (but
repoze.who is not dependent on Zope in any way; it is useful for any WSGI
application). It provides no facility for authorization (ensuring whether a
user can or cannot perform the operation implied by the request). This is
considered to be the domain of the WSGI application.
%prep
%setup -q -n %{modname}-%{version}
# Remove bundled egg-info in case it exists
rm -rf %{modname}.egg-info
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=$(pwd) %{__python3} setup.py test
%files -n python3-repoze-who
%doc README.rst CHANGES.rst CONTRIBUTORS.txt
%license COPYRIGHT.txt LICENSE.txt
%{python3_sitelib}/repoze/who/
%{python3_sitelib}/%{modname}-*
%changelog
* Sat Jul 10 2021 xiehongyu <xiehongyu@kylinos.cn> - 2.4-1
- Initial package

View File

@ -1,17 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-repoze.who
Version: 2.4
Version: 2.4.1
Release: 1
Summary: repoze.who is an identification and authentication framework for WSGI.
License: BSD
URL: https://github.com/repoze/repoze.who
Source0: https://files.pythonhosted.org/packages/6b/6c/83d69351f5429dbe0e9fa6f8e5428be64e1dfdfc26b9c22e0d290e05d81b/repoze.who-2.4.tar.gz
Source0: https://files.pythonhosted.org/packages/e7/01/d8244d0f1969fb4bfcf77c07ff97e71a49d521c391398abcdf52ba9ba5ca/repoze.who-%{version}.tar.gz
BuildArch: noarch
Requires: python3-WebOb
Requires: python3-setuptools
Requires: python3-Sphinx
Requires: python3-nose
Requires: python3-coverage
%description
@ -38,7 +37,7 @@ for arbitrary WSGI applications. repoze.who can be configured
either as WSGI middleware or as an API for use by an application.
%prep
%autosetup -n repoze.who-2.4
%autosetup -n repoze.who-%{version}
%build
%py3_build
@ -78,5 +77,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Jul 12 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.4.1-1
- Upgrade to 2.4.1
* Wed Dec 08 2021 Python_Bot <Python_Bot@openeuler.org> - 2.4-1
- Package Init

BIN
repoze.who-2.4.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.