From ef04111b9ab9bf0e3fd90199c2076f0feb4d8b5561763d555869e199b9ba0bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Str=C3=B6der?= Date: Fri, 27 Sep 2019 19:30:37 +0000 Subject: [PATCH] Accepting request 733745 from home:stroeder:branches:devel:languages:python Updated to 0.40 OBS-URL: https://build.opensuse.org/request/show/733745 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web.py?expand=0&rev=11 --- python-web.py.changes | 25 +++++++++++++++++++++++++ python-web.py.spec | 18 +++++++++--------- web.py-0.39.tar.gz | 3 --- web.py-0.40.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 12 deletions(-) delete mode 100644 web.py-0.39.tar.gz create mode 100644 web.py-0.40.tar.gz diff --git a/python-web.py.changes b/python-web.py.changes index dc9da80..211ae01 100644 --- a/python-web.py.changes +++ b/python-web.py.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Fri Sep 27 19:16:21 UTC 2019 - Michael Ströder + +- 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 diff --git a/python-web.py.spec b/python-web.py.spec index 835cca9..dc81724 100644 --- a/python-web.py.spec +++ b/python-web.py.spec @@ -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}/* diff --git a/web.py-0.39.tar.gz b/web.py-0.39.tar.gz deleted file mode 100644 index 48afa21..0000000 --- a/web.py-0.39.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e7224493a51f6fbf02f3ce7f2011bcd9e5ebdfce0ee25e5921fdf665ba07542 -size 93852 diff --git a/web.py-0.40.tar.gz b/web.py-0.40.tar.gz new file mode 100644 index 0000000..c3877e2 --- /dev/null +++ b/web.py-0.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc5e42ffbc42d77d07f75b7acca9975a3368ae609774e49ddebb497a784131f3 +size 103781