forked from pool/python-web.py
Accepting request 788431 from devel:languages:python
- Fix the test requirements to pull in only what's really needed
- The cheroot is hard requirement by upstream specification so require it
- only recommend but not require python-cheroot
- 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
- added back-port patch 0001-webpy-572-enable-python-3.8.patch
for compability with Python 3.8
OBS-URL: https://build.opensuse.org/request/show/788431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-web.py?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 07:10:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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 <michael@stroeder.com>
|
||||
|
||||
- only recommend but not require python-cheroot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 14:09:58 UTC 2020 - pgajdos@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 <michael@stroeder.com>
|
||||
|
||||
- added back-port patch 0001-webpy-572-enable-python-3.8.patch
|
||||
for compability with Python 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 19:16:21 UTC 2019 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
||||
@@ -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 @@ Think about the ideal way to write a web app. Write the code to make it happen.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc5e42ffbc42d77d07f75b7acca9975a3368ae609774e49ddebb497a784131f3
|
||||
size 103781
|
||||
3
web.py-0.51.tar.gz
Normal file
3
web.py-0.51.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b50343941360984d37270186453bb897d13630028a739394fedf38f9cde2fd07
|
||||
size 80662
|
||||
Reference in New Issue
Block a user