Accepting request 509102 from home:okurz:branches:devel:languages:python
Convert to singlepec OBS-URL: https://build.opensuse.org/request/show/509102 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.who?expand=0&rev=5
This commit is contained in:
parent
69fe7268cb
commit
ec3e4cf7be
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 07:55:45 UTC 2017 - okurz@suse.com
|
||||||
|
|
||||||
|
- Convert to singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 6 16:27:59 UTC 2015 - dmueller@suse.com
|
Tue Oct 6 16:27:59 UTC 2015 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-repoze.who
|
# spec file for package python-repoze.who
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,29 +16,32 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-repoze.who
|
Name: python-repoze.who
|
||||||
|
%global modname repoze.who
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.repoze.org
|
Url: http://www.repoze.org
|
||||||
Summary: Identification and authentication framework for WSGI
|
Summary: Identification and authentication framework for WSGI
|
||||||
License: SUSE-Repoze
|
License: SUSE-Repoze
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.io/packages/source/r/repoze.who/repoze.who-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-Paste
|
BuildRequires: %{python_module Paste}
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module WebOb}
|
||||||
BuildRequires: python-zope.interface
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module zope.interface}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Paste
|
Requires: python-Paste
|
||||||
Requires: python-WebOb
|
Requires: python-WebOb
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
Provides: python-repoze-who = %{version}
|
|
||||||
Obsoletes: python-repoze-who < %{version}
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
repoze.who is an identification and authentication framework
|
repoze.who is an identification and authentication framework
|
||||||
@ -53,20 +56,20 @@ operation implied by the request). This is considered to be the
|
|||||||
domain of the WSGI application.
|
domain of the WSGI application.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n repoze.who-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
cd docs && make html && rm -r .build/html/.buildinfo
|
cd docs && make html && rm -r .build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||||
|
|
||||||
# Currently broken:
|
%check
|
||||||
#%%check
|
%python_exec setup.py test
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc *.txt docs/.build/html
|
%doc *.txt docs/.build/html
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user