6 Commits

Author SHA256 Message Date
b593b05130 Accepting request 1296594 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1296594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pecan?expand=0&rev=36
2025-07-31 15:45:10 +00:00
049a8ceb73 Accepting request 1295954 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1295954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=73
2025-07-30 14:48:29 +00:00
e0f2b90590 Accepting request 1267652 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1267652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pecan?expand=0&rev=35
2025-04-08 15:51:04 +00:00
885ab08eb1 Accepting request 1267611 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1267611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=71
2025-04-07 12:14:04 +00:00
3161ff1193 Accepting request 1199558 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1199558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pecan?expand=0&rev=34
2024-09-09 12:43:27 +00:00
771194e95c - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=69
2024-09-09 07:09:03 +00:00
6 changed files with 43 additions and 4467 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7de15bf4a2600dc584bed0f25431dfed6bf20a7a5bc935a48d2ce50063339815
size 123025

View File

@@ -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

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,18 +22,14 @@
%bcond_with libalternatives
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pecan
Version: 1.4.2
Version: 1.7.0
Release: 0
Summary: A WSGI object-dispatching web framework
License: BSD-3-Clause
URL: https://github.com/pecan/pecan
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 Jinja2}
BuildRequires: %{python_module Mako >= 0.4.0}
@@ -41,9 +37,10 @@ BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module WebOb >= 1.8}
BuildRequires: %{python_module WebTest >= 1.3.1}
BuildRequires: %{python_module gunicorn}
BuildRequires: %{python_module logutils}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv}
BuildRequires: %{python_module wheel}
BuildRequires: uwsgi
# we need sqlite module
BuildRequires: %{pythons}
@@ -53,14 +50,13 @@ Requires: python-Mako >= 0.4.0
Requires: python-WebOb >= 1.8
# Still needed by pecan.testing
Requires: python-WebTest >= 1.3.1
Requires: python-logutils >= 0.3
Requires: python-setuptools
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
%if 0%{?suse_version}
@@ -79,10 +75,10 @@ sed -ie "/^uwsgi$/d" test-requirements.txt
sed -ie "/^pep8$/d" test-requirements.txt
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/pecan
%python_clone -a %{buildroot}%{_bindir}/gunicorn_pecan
@@ -108,6 +104,7 @@ sed -ie "/^pep8$/d" test-requirements.txt
%doc README.rst
%python_alternative %{_bindir}/pecan
%python_alternative %{_bindir}/gunicorn_pecan
%{python_sitelib}/*
%{python_sitelib}/pecan
%{python_sitelib}/pecan-%{version}.dist-info
%changelog

File diff suppressed because it is too large Load Diff