添加python-repoze-who-2.4-1

This commit is contained in:
xiehongyu 2021-07-10 12:22:30 +08:00
parent db7fc9d73f
commit c43d4d0e6b
2 changed files with 76 additions and 0 deletions

76
python-repoze-who.spec Normal file
View File

@ -0,0 +1,76 @@
%{?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
* Fri Jul 10 2021 xiehongyu <xiehongyu@kylinos.cn> - 2.4-1
- Initial package

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

Binary file not shown.