14
0
forked from pool/python-web.py

Accepting request 733746 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/733746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-web.py?expand=0&rev=9
This commit is contained in:
2019-09-30 13:57:24 +00:00
committed by Git OBS Bridge
4 changed files with 37 additions and 12 deletions

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Sep 27 19:16:21 UTC 2019 - Michael Ströder <michael@stroeder.com>
- Updated to 0.40
* Fixed lots of Python-3 compatibility issues.
* Drop support for Python 2.3 and 2.4.
* Allow to get data from PATCH request (fixes #259, tx @kufd)
* Only store new session data if the data is non-default (fixes #161, tx @shish)
* Supports `SameSite` cookie attribute (fixes #61 #99 #337)
* Cookie expire time is now set to same as session `timeout` (fixes #409 #410)
* Supports url for SQLite database like `sqlite:///mydb.sqlite`,
`sqlite:////absolute/path/mydb.sqlite` (fixes #209, tx @iamFIREcracker)
* Allow HTML5 form input elements in `web.form.Input()` (fixes #440, tx @jimgregory)
* Return body for `NoMethod` error handler (fixes #240, tx @waldhol)
* Fixed unicode in request url (fixes #461, tx @schneidersoft)
* Fixed inline comment in Templator which leads to unexpected behavior (fixes #432, tx @lucylqe)
* Fixed missing exception (ValueError) for socket.inet_pton to be compatible
with twisted patched `socket.inet_pton` (fixes #464, tx @tclh123)
* Fixed incorrect order of arguments for sending email with boto (fixes #204, tx @asldevi)
* Fixed notfound message is not utf-8 charset (fixes #500, tx @by-z)
* Fixed error in creating pooled PostgresDB with pgdb driver (fixes #255, tx @PriceChild)
* Fixed: IP address which contains space should not pass validation (fixes #140, tx @chuangbo)
* Fixed incorrect returned row ids with `multiple_insert()` (fixes #263 #447)
* Fixed not correctly render the `id` attribute after changed (fixes #339, tx @jimgregory)
-------------------------------------------------------------------
Mon Mar 18 11:05:06 UTC 2019 - Michael Ströder <michael@stroeder.com>

View File

@@ -15,9 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-web.py
Version: 0.39
Version: 0.40
Release: 0
Url: http://webpy.org/
Summary: web.py: makes web apps
@@ -26,12 +27,10 @@ Group: Development/Languages/Python
Source: https://pypi.io/packages/source/w/web.py/web.py-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
%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
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildArch: noarch
%endif
%python_subpackages
%description
Think about the ideal way to write a web app. Write the code to make it happen.
@@ -40,12 +39,13 @@ Think about the ideal way to write a web app. Write the code to make it happen.
%setup -q -n web.py-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e7224493a51f6fbf02f3ce7f2011bcd9e5ebdfce0ee25e5921fdf665ba07542
size 93852

3
web.py-0.40.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc5e42ffbc42d77d07f75b7acca9975a3368ae609774e49ddebb497a784131f3
size 103781