commit python-web.py for openSUSE:Factory

2020-11-10 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2020-11-10 13:46:27

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.11331 (New)


Package is "python-web.py"

Tue Nov 10 13:46:27 2020 rev:13 rq:847353 version:0.62

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2020-08-13 10:12:50.102591522 +0200
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.11331/python-web.py.changes   
2020-11-10 13:53:27.962848553 +0100
@@ -1,0 +2,9 @@
+Mon Nov  9 21:01:36 UTC 2020 - Michael Ströder 
+
+- version update to 0.62:
+  * Fixed: application.load() assumes ctx.path will be a latin1 string #687
+  * Fixed: can not reset session data to same value as initialized. #683
+  * Fixed: can not set session expire time. #655
+  * Fixed: not export session store `MemoryStore`.
+
+---

Old:

  web.py-0.61.tar.gz

New:

  web.py-0.62.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.ElIAe1/_old  2020-11-10 13:53:28.878846822 +0100
+++ /var/tmp/diff_new_pack.ElIAe1/_new  2020-11-10 13:53:28.882846814 +0100
@@ -15,11 +15,12 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define skip_python2 1
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-web.py
-Version:0.61
+Version:0.62
 Release:0
 Summary:web.py: makes web apps
 License:SUSE-Public-Domain AND BSD-3-Clause

++ web.py-0.61.tar.gz -> web.py-0.62.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.61/PKG-INFO new/web.py-0.62/PKG-INFO
--- old/web.py-0.61/PKG-INFO2020-07-27 17:34:14.777639600 +0200
+++ new/web.py-0.62/PKG-INFO2020-11-09 12:20:52.308910800 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: web.py
-Version: 0.61
+Version: 0.62
 Summary: web.py: makes web apps
 Home-page: http://webpy.org/
 Author: Aaron Swartz
@@ -15,11 +15,11 @@
 [![build 
status](https://secure.travis-ci.org/webpy/webpy.png?branch=master)](https://travis-ci.org/webpy/webpy)
 [![Codecov Test 
Coverage](https://codecov.io/gh/webpy/webpy/branch/master/graphs/badge.svg?style=flat)](https://codecov.io/gh/webpy/webpy)
 
-The latest stable release `0.61` only supports Python >= 3.5.
+The latest stable release `0.62` only supports Python >= 3.5.
 To install it, please run:
 ```
 # For Python 3
-python3 -m pip install web.py==0.61
+python3 -m pip install web.py==0.62
 ```
 
 If you are still using Python 2.7, then please use web.py version 0.51
@@ -32,12 +32,13 @@
 You can also download it from [GitHub 
Releases](https://github.com/webpy/webpy/releases)
 page, then install it manually:
 ```
-unzip webpy-0.61.zip
-cd webpy-0.61/
+unzip webpy-0.62.zip
+cd webpy-0.62/
 python3 setup.py install
 ```
 
 Note: `0.5x` (e.g. 0.50, 0.51) are our last releases which support 
Python 2.
+Note: `0.6x` (e.g. 0.60, 0.61, 0.62) are our last releases which 
support Python 3.5.
 
 Platform: any
 Classifier: License :: Public Domain
@@ -47,5 +48,6 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Requires-Python: >=3.5
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.61/README.md new/web.py-0.62/README.md
--- old/web.py-0.61/README.md   2020-07-27 16:43:53.0 +0200
+++ new/web.py-0.62/README.md   2020-11-09 10:11:31.0 +0100
@@ -5,11 +5,11 @@
 [![build 
status](https://secure.travis-ci.org/webpy/webpy.png?branch=master)](https://travis-ci.org/webpy/webpy)
 [![Codecov Test 
Coverage](https://codecov.io/gh/webpy/webpy/branch/master/graphs/badge.svg?style=flat)](https://codecov.io/gh/webpy/webpy)
 
-The latest stable release `0.61` only supports Python >= 3.5.
+The latest stable release `0.62` only supports Python >= 3.5.
 To install it, please run:
 ```
 # For Python 3
-python3 -m pip install web.py==0.61
+python3 -m pip install web.py==0.62
 ```
 
 If you are still using Python 2.7, then please use web.py version 0.51
@@ -22,9 +22,10 @@
 You can also download it from [GitHub 
Releases](https://github.com/webpy/webpy/releases)
 page, then install it manually:
 ``

commit python-web.py for openSUSE:Factory

2020-08-13 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2020-08-13 10:12:41

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.3399 (New)


Package is "python-web.py"

Thu Aug 13 10:12:41 2020 rev:12 rq:825357 version:0.61

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2020-08-06 17:33:26.153104778 +0200
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.3399/python-web.py.changes
2020-08-13 10:12:50.102591522 +0200
@@ -1,0 +2,13 @@
+Sun Aug  9 09:37:14 UTC 2020 - Michael Ströder 
+
+- version update to 0.61:
+  * Add python_requires=">=3.5" in setup.py #662
+  * Fix incorrect content in MANIFEST.in file.
+  * Python-2 support has been completely dropped. Welcome to Python 3.
+  * Fixed: session store DiskStore doesn't return correctly if session
+  * directory doesn't exist. #652
+  * Fixed: incorrect str/bytes type of session data. #644 #645
+  * Fixed: db.query("insert... returning") fails to commit. #648 #649
+- skip builds for Python 2
+
+---

Old:

  web.py-0.51.tar.gz

New:

  web.py-0.61.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.q9yPfH/_old  2020-08-13 10:12:53.278593510 +0200
+++ /var/tmp/diff_new_pack.q9yPfH/_new  2020-08-13 10:12:53.278593510 +0200
@@ -15,10 +15,11 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%define skip_python2 1
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-web.py
-Version:0.51
+Version:0.61
 Release:0
 Summary:web.py: makes web apps
 License:SUSE-Public-Domain AND BSD-3-Clause
@@ -46,7 +47,6 @@
 
 %install
 %python_install
-%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check

++ web.py-0.51.tar.gz -> web.py-0.61.tar.gz ++
 5788 lines of diff (skipped)




commit python-web.py for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2020-08-06 17:32:46

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.3399 (New)


Package is "python-web.py"

Thu Aug  6 17:32:46 2020 rev:11 rq:824589 version:0.51

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2020-03-27 00:29:52.520395940 +0100
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.3399/python-web.py.changes
2020-08-06 17:33:26.153104778 +0200
@@ -1,0 +2,5 @@
+Thu Aug  6 05:53:01 UTC 2020 - Tomáš Chvátal 
+
+- Do not install tests in sitelib directly
+
+---



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.5IqFkW/_old  2020-08-06 17:33:26.641104727 +0200
+++ /var/tmp/diff_new_pack.5IqFkW/_new  2020-08-06 17:33:26.645104726 +0200
@@ -46,6 +46,7 @@
 
 %install
 %python_install
+%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check




commit python-web.py for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2020-03-27 00:29:49

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.3160 (New)


Package is "python-web.py"

Fri Mar 27 00:29:49 2020 rev:10 rq:788431 version:0.51

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2019-09-30 15:57:27.905525416 +0200
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.3160/python-web.py.changes
2020-03-27 00:29:52.520395940 +0100
@@ -1,0 +2,40 @@
+Thu Mar 26 07:10:49 UTC 2020 - Tomáš Chvátal 
+
+- Fix the test requirements to pull in only what's really needed
+- The cheroot is hard requirement by upstream specification so require it
+
+---
+Wed Mar 25 18:16:04 UTC 2020 - Michael Ströder 
+
+- only recommend but not require python-cheroot
+
+---
+Wed Mar 25 14:09:58 UTC 2020 - pgaj...@suse.com
+
+- version update to 0.51
+  * Update setup.py to pack tests directory and publish to pypi.
+  * New session store MemoryStore, used to save a session in memory.
+  * Should be useful where there are limited fs writes to the disk, like
+flash memories. #174
+  * Fixed: not support samesite=none. #592
+  * Fixed Python-3 compatibility issues: #574, #576.
+  * Support tuple and set in sqlquote().
+  * Drop support for SQL driver pgdb. It was dead, you cannot even find its
+website or download link.
+  * Drop support for SQL driver psycopg. The latest version was released in
+2006 (14 years ago), please use psycopg2 instead.
+  * Removed function web.safemarkdown. if it's used in your application, you
+can install the Markdown module from pypi
+(https://pypi.org/project/Markdown/), then replace web.safemarkdown() by
+markdown.markdown().
+- deleted patches
+  - 0001-webpy-572-enable-python-3.8.patch (upstreamed)
+- test package
+
+---
+Thu Mar 12 10:50:25 UTC 2020 - Michael Ströder 
+
+- added back-port patch 0001-webpy-572-enable-python-3.8.patch
+  for compability with Python 3.8
+
+---

Old:

  web.py-0.40.tar.gz

New:

  web.py-0.51.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.HaWpZS/_old  2020-03-27 00:29:53.640396506 +0100
+++ /var/tmp/diff_new_pack.HaWpZS/_new  2020-03-27 00:29:53.640396506 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-web.py
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-web.py
-Version:0.40
+Version:0.51
 Release:0
-Url:http://webpy.org/
 Summary:web.py: makes web apps
-License:SUSE-Public-Domain and BSD-3-Clause
-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
+License:SUSE-Public-Domain AND BSD-3-Clause
+URL:https://webpy.org/
+Source: 
https://files.pythonhosted.org/packages/source/w/web.py/web.py-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+Requires:   python-cheroot
 BuildArch:  noarch
+# SECTION test requirements
+BuildRequires:  %{python_module cheroot}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{pythons}
+# /SECTION
 %python_subpackages
 
 %description
@@ -45,8 +48,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
-%defattr(-,root,root,-)
 %{python_sitelib}/*
 
 %changelog

++ web.py-0.40.tar.gz -> web.py-0.51.tar.gz ++
 3665 lines of diff (skipped)




commit python-web.py for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2019-09-30 15:57:24

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.2352 (New)


Package is "python-web.py"

Mon Sep 30 15:57:24 2019 rev:9 rq:733746 version:0.40

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2019-03-19 10:01:00.155915375 +0100
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.2352/python-web.py.changes
2019-09-30 15:57:27.905525416 +0200
@@ -1,0 +2,25 @@
+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)
+
+---

Old:

  web.py-0.39.tar.gz

New:

  web.py-0.40.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.ZO1xrr/_old  2019-09-30 15:57:28.821522979 +0200
+++ /var/tmp/diff_new_pack.ZO1xrr/_new  2019-09-30 15:57:28.825522968 +0200
@@ -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 @@
 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 @@
 %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}/*
 

++ web.py-0.39.tar.gz -> web.py-0.40.tar.gz ++
 17300 lines of diff (skipped)




commit python-web.py for openSUSE:Factory

2019-03-19 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2019-03-19 10:00:51

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new.28833 (New)


Package is "python-web.py"

Tue Mar 19 10:00:51 2019 rev:8 rq:686082 version:0.39

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2017-01-25 23:32:39.450462416 +0100
+++ /work/SRC/openSUSE:Factory/.python-web.py.new.28833/python-web.py.changes   
2019-03-19 10:01:00.155915375 +0100
@@ -1,0 +2,7 @@
+Mon Mar 18 11:05:06 UTC 2019 - Michael Ströder 
+
+- Updated to 0.39
+  * Fixed a security issue with the form module
+  * Fixed a security issue with the db module
+
+---

Old:

  web.py-0.38.tar.gz

New:

  web.py-0.39.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.wS1IU2/_old  2019-03-19 10:01:01.223914262 +0100
+++ /var/tmp/diff_new_pack.wS1IU2/_new  2019-03-19 10:01:01.243914241 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-web.py
-Version:0.38
+Version:0.39
 Release:0
 Url:http://webpy.org/
 Summary:web.py: makes web apps
@@ -26,6 +26,7 @@
 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

++ web.py-0.38.tar.gz -> web.py-0.39.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.38/PKG-INFO new/web.py-0.39/PKG-INFO
--- old/web.py-0.38/PKG-INFO2016-07-08 09:07:25.0 +0200
+++ new/web.py-0.39/PKG-INFO2018-02-28 07:36:07.0 +0100
@@ -1,8 +1,8 @@
 Metadata-Version: 1.0
 Name: web.py
-Version: 0.38
+Version: 0.39
 Summary: web.py: makes web apps
-Home-page:  http://webpy.org/
+Home-page: http://webpy.org/
 Author: Anand Chitipothu
 Author-email: anandol...@gmail.com
 License: Public domain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.38/setup.cfg new/web.py-0.39/setup.cfg
--- old/web.py-0.38/setup.cfg   1970-01-01 01:00:00.0 +0100
+++ new/web.py-0.39/setup.cfg   2018-02-28 07:36:07.0 +0100
@@ -0,0 +1,4 @@
+[egg_info]
+tag_build = 
+tag_date = 0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.38/setup.py new/web.py-0.39/setup.py
--- old/web.py-0.38/setup.py2016-07-08 09:03:09.0 +0200
+++ new/web.py-0.39/setup.py2018-02-28 07:35:03.0 +0100
@@ -2,7 +2,7 @@
 
 # ...
 
-from distutils.core import setup
+from setuptools import setup
 from web import __version__
 
 setup(name='web.py',
@@ -12,7 +12,7 @@
   author_email='m...@aaronsw.com',
   maintainer='Anand Chitipothu',
   maintainer_email='anandol...@gmail.com',
-  url=' http://webpy.org/',
+  url='http://webpy.org/',
   packages=['web', 'web.wsgiserver', 'web.contrib'],
   long_description="Think about the ideal way to write a web app. Write 
the code to make it happen.",
   license="Public domain",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.38/web/__init__.py 
new/web.py-0.39/web/__init__.py
--- old/web.py-0.38/web/__init__.py 2016-07-08 09:03:09.0 +0200
+++ new/web.py-0.39/web/__init__.py 2018-02-28 07:32:28.0 +0100
@@ -3,7 +3,7 @@
 
 from __future__ import generators
 
-__version__ = "0.38"
+__version__ = "0.39"
 __author__ = [
 "Aaron Swartz ",
 "Anand Chitipothu "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.38/web/db.py new/web.py-0.39/web/db.py
--- old/web.py-0.38/web/db.py   2016-07-08 09:03:09.0 +0200
+++ new/web.py-0.39/web/db.py   2018-02-28 07:32:28.0 +0100
@@ -17,6 +17,16 @@
 except ImportError:
 datetime = None
 
+try:
+import ast
+except ImportError:
+ast = None
+
+try:
+from tokenize import tokenprog
+except ImportError:
+tokenprog = None
+
 try: set
 except NameError:
 from sets import Set as set
@@ -91,6 +101,9 @@
 
 def __str__(self): 
 return str(self.value)
+
+def __eq__(self, other):
+return isinstance(other, SQLParam) and other.value == self.value
 
 def __repr__(self):
 return '' % repr(self.value)
@@ -153,

commit python-web.py for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2017-01-25 23:32:38

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new (New)


Package is "python-web.py"

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2012-07-02 11:07:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-web.py.new/python-web.py.changes 
2017-01-25 23:32:39.450462416 +0100
@@ -1,0 +2,31 @@
+Mon Jan 23 21:10:49 UTC 2017 - dmuel...@suse.com
+
+- fix source url
+
+---
+Wed Nov 30 21:18:23 UTC 2016 - mich...@stroeder.com
+
+- Updated to 0.38
+  * Fixed failing tests in test/session.py when postgres is not installed. (tx 
Michael Diamond)
+  * Fixed an error with Python 2.3 (tx Michael Diamond)
+  * web.database now accepts a URL, $DATABASE_URL (fixes #171) (tx Aaron 
Swartz, we miss you)
+  * support port use 'port' as keyword for postgres database with used eith 
pgdb (tx Sandesh Singh)
+  * Fixes to FirebirdDB database (tx Ben Hanna)
+  * Added a gaerun method to start application for google app engine (tx Matt 
Habel)
+  * Better error message from `db.multiple_insert` when not all rows have the 
same keys (tx Ben Hoyt)
+  * Allow custom messages for most errors (tx Shaun Sharples)
+  * IPv6 support (tx Matthew of Boswell and zamabe)
+  * Fixed sending email using Amazon SES (tx asldevi)
+  * Fixed handling of long numbers in sqlify. closes #213. (tx cjrolo)
+  * Escape HTML characters when emitting API docs. (tx Jeff Zellman)
+  * Fixed an inconsistency in form.Dropdown when numbers are used for args and 
value. (tx Noprianto)
+  * Fixed a potential remote exeution risk in `reparam` (tx Adrián Brav)
+  * The where clause in db queries can be a dict now
+  * Added `first` method to iterbetter
+  * Fix to unexpected session when used with MySQL (tx suhashpatil)
+  * Change dburl2dict to use urlparse and to support the simple case of just a 
database name. (tx Jeff Zellman)
+  * Support '204 No Content' status code (tx Matteo Landi)
+  * Support `451 Unavailable For Legal Reasons` status code(tx Yannik Robin 
Kettenbach)
+  * Updates to documentation (tx goodrone, asldevi)
+
+---

Old:

  web.py-0.37.tar.gz

New:

  web.py-0.38.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.D6Q5G7/_old  2017-01-25 23:32:39.826405762 +0100
+++ /var/tmp/diff_new_pack.D6Q5G7/_new  2017-01-25 23:32:39.826405762 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-web.py
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   python-web.py
-Version:0.37
+Version:0.38
 Release:0
 Url:http://webpy.org/
 Summary:web.py: makes web apps
 License:SUSE-Public-Domain and BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/w/web.py/web.py-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/w/web.py/web.py-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110

++ web.py-0.37.tar.gz -> web.py-0.38.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.37/PKG-INFO new/web.py-0.38/PKG-INFO
--- old/web.py-0.37/PKG-INFO2012-06-26 07:21:31.0 +0200
+++ new/web.py-0.38/PKG-INFO2016-07-08 09:07:25.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: web.py
-Version: 0.37
+Version: 0.38
 Summary: web.py: makes web apps
 Home-page:  http://webpy.org/
 Author: Anand Chitipothu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.37/web/__init__.py 
new/web.py-0.38/web/__init__.py
--- old/web.py-0.37/web/__init__.py 2012-06-26 07:19:55.0 +0200
+++ new/web.py-0.38/web/__init__.py 2016-07-08 09:03:09.0 +0200
@@ -3,7 +3,7 @@
 
 from __future__ import generators
 
-__version__ = "0.37"
+__version__ = "0.38"
 __author__ = [
 "Aaron Swartz ",
 "Anand Chitipothu "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.37/web/application.py 
new/web.py-0.38/web/application.py
--- old/web.py-0.37/web/applica

commit python-web.py for openSUSE:Factory

2012-07-02 Thread h_root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2012-07-02 11:07:46

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new (New)


Package is "python-web.py", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-web.py/python-web.py.changes  
2012-03-22 12:39:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-web.py.new/python-web.py.changes 
2012-07-02 11:07:48.0 +0200
@@ -1,0 +2,19 @@
+Fri Jun 29 08:23:50 UTC 2012 - cfarr...@suse.com
+
+- Updated to 0.37
+* Fixed datestr issue on Windows -- #155
+* Fixed Python 2.4 compatability issues (tx fredludlow)
+* Fixed error in utils.safewrite (tx shuge) -- #95
+* Allow use of web.data() with app.request() -- #105
+* Fixed an issue with session initializaton (tx beardedprojamz) -- #109
+* Allow custom message on 400 Bad Request (tx patryk) -- #121
+* Made djangoerror work on GAE. -- #80
+* Handle malformatted data in the urls. -- #117
+* Made it easier to stop the dev server -- #100, #122
+* Added support fot customizing cookie_path in session (tx larsga) -- #89
+* Added exception for "415 Unsupported Media" (tx JirkaChadima) -- #145
+* Added GroupedDropdown to support `` tag (tx jzellman) -- #152
+* Fixed failure in embedded interpreter - #87
+* Optimized web.cookies (tx benhoyt) - #148 
+
+---

Old:

  web.py-0.36.tar.gz

New:

  web.py-0.37.tar.gz



Other differences:
--
++ python-web.py.spec ++
--- /var/tmp/diff_new_pack.paMyRr/_old  2012-07-02 11:07:50.0 +0200
+++ /var/tmp/diff_new_pack.paMyRr/_new  2012-07-02 11:07:50.0 +0200
@@ -11,12 +11,13 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-web.py
-Version:0.36
+Version:0.37
 Release:0
 Url:http://webpy.org/
 Summary:web.py: makes web apps

++ web.py-0.36.tar.gz -> web.py-0.37.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.36/PKG-INFO new/web.py-0.37/PKG-INFO
--- old/web.py-0.36/PKG-INFO2011-07-04 12:11:27.0 +0200
+++ new/web.py-0.37/PKG-INFO2012-06-26 07:21:31.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: web.py
-Version: 0.36
+Version: 0.37
 Summary: web.py: makes web apps
 Home-page:  http://webpy.org/
 Author: Anand Chitipothu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.36/web/__init__.py 
new/web.py-0.37/web/__init__.py
--- old/web.py-0.36/web/__init__.py 2011-07-04 12:10:39.0 +0200
+++ new/web.py-0.37/web/__init__.py 2012-06-26 07:19:55.0 +0200
@@ -3,7 +3,7 @@
 
 from __future__ import generators
 
-__version__ = "0.36"
+__version__ = "0.37"
 __author__ = [
 "Aaron Swartz ",
 "Anand Chitipothu "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/web.py-0.36/web/application.py 
new/web.py-0.37/web/application.py
--- old/web.py-0.36/web/application.py  2011-07-04 12:10:39.0 +0200
+++ new/web.py-0.37/web/application.py  2012-06-26 07:19:55.0 +0200
@@ -5,6 +5,8 @@
 import webapi as web
 import webapi, wsgi, utils
 import debugerror
+import httpserver
+
 from utils import lstrips, safeunicode
 import sys
 
@@ -201,7 +203,7 @@
 if 'HTTP_CONTENT_TYPE' in env:
 env['CONTENT_TYPE'] = env.pop('HTTP_CONTENT_TYPE')
 
-if method in ["POST", "PUT"]:
+if method not in ["HEAD", "GET"]:
 data = data or ''
 import StringIO
 if isinstance(data, dict):
@@ -309,6 +311,13 @@
 function.
 """
 return wsgi.runwsgi(self.wsgifunc(*middleware))
+
+def stop(self):
+"""Stops the http server started by run.
+"""
+if httpserver.server:
+httpserver.server.stop()
+httpserver.server = None
 
 def cgirun(self, *middleware):
 """
@@ -366,8 +375,10 @@
 ctx.fullpath = ctx.path + ctx.query
 
 for k, v in ctx.iteritems():
+# convert all string values to unicode values and replace 
+# malformed data with a suitable replacement marker.
 if isinstance(v, str):
-ctx[k] = safeunicode(v)
+ctx[k] = v.decode('utf-8', 'replace') 
 
 # status must always be str
 ctx.statu

commit python-web.py for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package python-web.py for openSUSE:Factory 
checked in at 2012-03-22 12:39:49

Comparing /work/SRC/openSUSE:Factory/python-web.py (Old)
 and  /work/SRC/openSUSE:Factory/.python-web.py.new (New)


Package is "python-web.py", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2012-03-17 10:42:43.883537212 +0100
+++ /work/SRC/openSUSE:Factory/.python-web.py.new/python-web.py.changes 
2012-03-22 12:39:51.0 +0100
@@ -0,0 +1,12 @@
+---
+Tue Mar 20 10:26:47 UTC 2012 - cfarr...@suse.com
+
+- license update: SUSE-Public-Domain and BSD-3-Clause
+  See e.g. Colin Stewart copyright and license in web/httpserver.py (lines
+  22 to 25)
+
+---
+Thu Mar 15 15:47:45 UTC 2012 - sasc...@suse.de
+
+- Initial version
+

New:

  python-web.py.changes
  python-web.py.spec
  web.py-0.36.tar.gz



Other differences:
--
++ python-web.py.spec ++
#
# spec file for package python-web.py
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:   python-web.py
Version:0.36
Release:0
Url:http://webpy.org/
Summary:web.py: makes web apps
License:SUSE-Public-Domain and BSD-3-Clause
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/w/web.py/web.py-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
%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

%description
Think about the ideal way to write a web app. Write the code to make it happen.

%prep
%setup -q -n web.py-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%{python_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org