14
0
forked from pool/python-web.py

Compare commits

4 Commits

Author SHA256 Message Date
1db0777f4e Accepting request 1285279 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.
- Ship the README as docs.

OBS-URL: https://build.opensuse.org/request/show/1285279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-web.py?expand=0&rev=17
2025-06-13 16:45:05 +00:00
c5b9ca8dcb - Switch to pyproject macros.
- No more greedy globs in %files.
- Ship the README as docs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web.py?expand=0&rev=30
2025-06-13 02:53:34 +00:00
5549eb89de Accepting request 1225614 from devel:languages:python
- add legacy-cgi for python 3.13 support

- add python-rpm-macros
* Optimized web.cookies (tx benhoyt) - #148

OBS-URL: https://build.opensuse.org/request/show/1225614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-web.py?expand=0&rev=16
2024-11-21 21:01:52 +00:00
3858b1eb51 - add legacy-cgi for python 3.13 support
- add python-rpm-macros
* Optimized web.cookies (tx benhoyt) - #148

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web.py?expand=0&rev=28
2024-11-21 15:54:45 +00:00
2 changed files with 26 additions and 9 deletions

View File

@@ -1,7 +1,19 @@
-------------------------------------------------------------------
Fri Jun 13 02:43:42 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
- Ship the README as docs.
-------------------------------------------------------------------
Thu Nov 21 15:54:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add legacy-cgi for python 3.13 support
-------------------------------------------------------------------
Tue Jan 11 21:13:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add python-rpm-macros
- add python-rpm-macros
-------------------------------------------------------------------
Wed Jun 30 10:44:53 UTC 2021 - Matej Cepl <mcepl@suse.com>
@@ -155,7 +167,7 @@ Fri Jun 29 08:23:50 UTC 2012 - cfarrell@suse.com
* Added exception for "415 Unsupported Media" (tx JirkaChadima) -- #145
* Added GroupedDropdown to support `<optgroup>` tag (tx jzellman) -- #152
* Fixed failure in embedded interpreter - #87
* Optimized web.cookies (tx benhoyt) - #148
* Optimized web.cookies (tx benhoyt) - #148
-------------------------------------------------------------------
Tue Mar 20 10:26:47 UTC 2012 - cfarrell@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-web.py
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,6 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-web.py
Version: 0.62
Release: 0
@@ -26,10 +23,16 @@ Summary: web.py: makes web apps
License: BSD-3-Clause AND SUSE-Public-Domain
URL: https://webpy.org/
Source: https://files.pythonhosted.org/packages/source/w/web.py/web.py-%{version}.tar.gz
BuildRequires: %{python_module legacy-cgi if %python-base >= 3.13}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cheroot
%if %{python_version_nodots} >= 313
Requires: python-legacy-cgi
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cheroot}
@@ -45,10 +48,10 @@ 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_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +59,8 @@ Think about the ideal way to write a web app. Write the code to make it happen.
%pytest -k 'not test_routing'
%files %{python_files}
%{python_sitelib}/*
%doc README.md
%{python_sitelib}/web
%{python_sitelib}/web[_.]py-%{version}.dist-info
%changelog