forked from pool/python-WebOb
Accepting request 485215 from home:tbechtold:branches:devel:languages:python
- update to 1.7.2:
- Allow unnamed fields in form data to be properly transcoded when calling
request.decode with an alternate encoding. See
https://github.com/Pylons/webob/pull/309
- Switch to singlespec approach
OBS-URL: https://build.opensuse.org/request/show/485215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=39
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b2e3e4a46ce92614fb7d85081a63d03fa0c714dbe0195d5d91ec0205526c83f
|
||||
size 215517
|
||||
3
WebOb-1.7.2.tar.gz
Normal file
3
WebOb-1.7.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0dc8b30bdbf15d8fd1a967e30ece3357f2f468206354f69213e57b30a63f0039
|
||||
size 215746
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 12:47:31 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 1.7.2:
|
||||
- Allow unnamed fields in form data to be properly transcoded when calling
|
||||
request.decode with an alternate encoding. See
|
||||
https://github.com/Pylons/webob/pull/309
|
||||
- Switch to singlespec approach
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 16:14:42 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
||||
@@ -16,30 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-WebOb
|
||||
Version: 1.7.1
|
||||
Version: 1.7.2
|
||||
Release: 0
|
||||
Summary: WSGI request and response object
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://webob.org/
|
||||
Source: https://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Test requirements:
|
||||
# for ssl module:
|
||||
BuildRequires: python
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: python-webob = %{version}
|
||||
Obsoletes: python-webob < %{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
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
WebOb provides wrappers around the WSGI request environment, and an
|
||||
@@ -49,33 +47,33 @@ The objects map much of the specified behavior of HTTP, including
|
||||
header parsing and accessors for other standard parts of the
|
||||
environment.
|
||||
|
||||
%package doc
|
||||
%package -n python-WebOb-doc
|
||||
Summary: WSGI request and response object - Documentation
|
||||
Group: Documentation/HTML
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{python_module WebOb-doc = %{version}}
|
||||
|
||||
%description doc
|
||||
%description -n python-WebOb-doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n WebOb-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%python_build
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/license.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files doc
|
||||
%files -n python-WebOb-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user