Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b593b05130 | |||
| 049a8ceb73 | |||
| e0f2b90590 | |||
| 885ab08eb1 | |||
| 3161ff1193 | |||
| 771194e95c |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:49b255e701c3f1461605f5b0e8f54f0c21922d7845d414c24dd6409fe695d550
|
|
||||||
size 124900
|
|
||||||
3
pecan-1.7.0.tar.gz
Normal file
3
pecan-1.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7de15bf4a2600dc584bed0f25431dfed6bf20a7a5bc935a48d2ce50063339815
|
||||||
|
size 123025
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
Index: pecan-1.3.2/setup.py
|
|
||||||
===================================================================
|
|
||||||
--- pecan-1.3.2.orig/setup.py
|
|
||||||
+++ pecan-1.3.2/setup.py
|
|
||||||
@@ -35,15 +35,8 @@ tests_require = requirements + [
|
|
||||||
|
|
||||||
tests_require = requirements + test_requirements
|
|
||||||
|
|
||||||
-if sys.version_info < (3, 0):
|
|
||||||
- # These don't support Python3 yet - don't run their tests
|
|
||||||
- if platform.python_implementation() != 'PyPy':
|
|
||||||
- # Kajiki is not pypy-compatible
|
|
||||||
- tests_require += ['Kajiki']
|
|
||||||
- tests_require += ['Genshi']
|
|
||||||
-else:
|
|
||||||
- # Genshi added Python3 support in 0.7
|
|
||||||
- tests_require += ['Genshi>=0.7']
|
|
||||||
+# Genshi added Python3 support in 0.7
|
|
||||||
+tests_require += ['Genshi>=0.7']
|
|
||||||
|
|
||||||
#
|
|
||||||
# call setup
|
|
||||||
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 27 12:36:08 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.7.0
|
||||||
|
* added official support for Python 3.8 through 3.13 (#165)
|
||||||
|
* extensions pecan imports via `pecan.ext` has been removed (#157)
|
||||||
|
- Update BuildRequires and Requires from setup.py
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 7 10:19:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.6.0
|
||||||
|
* address a few deprecation warnings
|
||||||
|
* update doc to address upcoming setuptools deprecation
|
||||||
|
* remove the colorlog dependency
|
||||||
|
- Use Python 3.11 on SLE-15 by default
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 9 07:08:18 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.5.1:
|
||||||
|
* addressed an installation bug caused by a duplicate entry script (#142)
|
||||||
|
* pecan no longer has a dependency on six (#144)
|
||||||
|
* pecan now supports SQLAlchemy 2.0 (#143)
|
||||||
|
* pecan no longer supports SQLAlchemy 1.3
|
||||||
|
- Drop patches pecan-no-kajiki.patch, sqlalchemy2.patch:
|
||||||
|
* No longer required.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 22 11:27:36 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
Mon May 22 11:27:36 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pecan
|
# spec file for package python-pecan
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,18 +22,14 @@
|
|||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-pecan
|
Name: python-pecan
|
||||||
Version: 1.4.2
|
Version: 1.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A WSGI object-dispatching web framework
|
Summary: A WSGI object-dispatching web framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/pecan/pecan
|
URL: https://github.com/pecan/pecan
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pecan/pecan-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pecan/pecan-%{version}.tar.gz
|
||||||
Patch0: pecan-no-kajiki.patch
|
|
||||||
#PATCH-FIX-UPSTREAM https://github.com/pecan/pecan/pull/145 remove six as a requirement, add support for SQLAlchemy 2.0, drop support for SQLAlchemy 1.3
|
|
||||||
Patch1: sqlalchemy2.patch
|
|
||||||
BuildRequires: %{python_module Genshi >= 0.7}
|
BuildRequires: %{python_module Genshi >= 0.7}
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module Mako >= 0.4.0}
|
BuildRequires: %{python_module Mako >= 0.4.0}
|
||||||
@@ -41,9 +37,10 @@ BuildRequires: %{python_module SQLAlchemy}
|
|||||||
BuildRequires: %{python_module WebOb >= 1.8}
|
BuildRequires: %{python_module WebOb >= 1.8}
|
||||||
BuildRequires: %{python_module WebTest >= 1.3.1}
|
BuildRequires: %{python_module WebTest >= 1.3.1}
|
||||||
BuildRequires: %{python_module gunicorn}
|
BuildRequires: %{python_module gunicorn}
|
||||||
BuildRequires: %{python_module logutils}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: uwsgi
|
BuildRequires: uwsgi
|
||||||
# we need sqlite module
|
# we need sqlite module
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
@@ -53,14 +50,13 @@ Requires: python-Mako >= 0.4.0
|
|||||||
Requires: python-WebOb >= 1.8
|
Requires: python-WebOb >= 1.8
|
||||||
# Still needed by pecan.testing
|
# Still needed by pecan.testing
|
||||||
Requires: python-WebTest >= 1.3.1
|
Requires: python-WebTest >= 1.3.1
|
||||||
Requires: python-logutils >= 0.3
|
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
Requires: alts
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@@ -79,10 +75,10 @@ sed -ie "/^uwsgi$/d" test-requirements.txt
|
|||||||
sed -ie "/^pep8$/d" test-requirements.txt
|
sed -ie "/^pep8$/d" test-requirements.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pecan
|
%python_clone -a %{buildroot}%{_bindir}/pecan
|
||||||
%python_clone -a %{buildroot}%{_bindir}/gunicorn_pecan
|
%python_clone -a %{buildroot}%{_bindir}/gunicorn_pecan
|
||||||
@@ -108,6 +104,7 @@ sed -ie "/^pep8$/d" test-requirements.txt
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%python_alternative %{_bindir}/pecan
|
%python_alternative %{_bindir}/pecan
|
||||||
%python_alternative %{_bindir}/gunicorn_pecan
|
%python_alternative %{_bindir}/gunicorn_pecan
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pecan
|
||||||
|
%{python_sitelib}/pecan-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
4429
sqlalchemy2.patch
4429
sqlalchemy2.patch
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user