7 Commits

Author SHA1 Message Date
Josef Schlehofer
8ab520eef7 python-yaml: update to version 6.0.3
Release notes:
https://github.com/yaml/pyyaml/releases/tag/6.0.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 63aa7856bf)
2025-12-03 20:32:58 +01:00
Josef Schlehofer
cac957166a python-flask-login: update to version 0.6.3
Release notes:
https://github.com/maxcountryman/flask-login/releases/tag/0.6.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 0655f4ed3b)
2025-12-03 20:21:10 +01:00
Josef Schlehofer
c4b3cfae10 python-flask-seasurf: update to 2.0.0
Changes can be found here:
https://github.com/maxcountryman/flask-seasurf/tree/2.0.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit f02c368344)
2025-12-03 20:21:05 +01:00
Josef Schlehofer
14f766efff python-flask-socketio: update to version 5.5.1
Release notes:
https://github.com/miguelgrinberg/Flask-SocketIO/releases/tag/v5.5.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ff9c11a9d7)
2025-12-03 20:20:58 +01:00
Josef Schlehofer
a9891c2877 python-flask-session: update to version 0.8.0
Release notes:
https://flask-session.readthedocs.io/en/latest/changes.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 03303c362d)
2025-12-03 20:20:47 +01:00
Josef Schlehofer
75ba28479e python-pysocks: remove outdated and not maintained package
The latest commit in https://github.com/Anorov/PySocks
is from 2019, it looks outdated and not maintained.

It does not follow PEP 625.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 95fe4bf332)
2025-12-03 20:19:33 +01:00
Josef Schlehofer
b03875c738 python-parsley: drop package
This looks like it is not maintained anymore.
The last commit in the repository [1] is from 2017,
and the last tarball uploaded on PyPI is from 2015.

That tarball does not follow PEP625, because the
wheel and tarball begins with uppercase, it should be
in lowercase and as well it is still using setup.py.

Python these days is using pyproject.toml.

[1] https://github.com/washort/parsley

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 598dc276f7)
2025-12-03 20:19:25 +01:00
12 changed files with 106 additions and 144 deletions

View File

@@ -9,11 +9,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-flask-login
PKG_VERSION:=0.6.2
PKG_VERSION:=0.6.3
PKG_RELEASE:=1
PYPI_NAME:=Flask-Login
PKG_HASH:=c0a7baa9fdc448cdd3dd6f0939df72eec5177b2f7abe6cb82fc934d29caac9c3
PYTHON3_PKG_WHEEL_NAME:=flask_login
PKG_HASH:=5e23d14a607ef12806c699590b89d0f0e0d67baeec599d75947bf9c147330333
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT

View File

@@ -8,11 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-flask-seasurf
PKG_VERSION:=1.1.1
PKG_VERSION:=2.0.0
PKG_RELEASE:=1
PYPI_NAME:=Flask-SeaSurf
PKG_HASH:=54537008c769ac0ada8237877327c3e7ed74dcd8b01e74a9120ee0232c5951a9
PYTHON3_PKG_WHEEL_NAME:=flask_seasurf
PKG_HASH:=8e4003be1580ea8663d6bd3adf272f549ca4d735848895192618ed1945d5ad3c
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=BSD-3-Clause

View File

@@ -0,0 +1,34 @@
From 8e6267a4c0e8cfedd18ab3efe616904d77ef99d6 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Mon, 3 Nov 2025 23:15:33 +0100
Subject: [PATCH] setup.py: use up-to-date SPDX license identifier with LICENSE
file
It fixes setuptoolsDeprecationWarning about deprecated license
classifiers and adds LICENSE file.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,8 @@ setup(
name='Flask-SeaSurf',
version=__version__,
url='https://github.com/maxcountryman/flask-seasurf/',
- license='BSD',
+ license='BSD-3-Clause',
+ license_files=['LICENSE'],
author='Max Countryman',
author_email='maxc@me.com',
description='An updated CSRF extension for Flask.',
@@ -30,7 +31,6 @@ setup(
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',

View File

@@ -0,0 +1,56 @@
From 6b578f03f4efd89a05a120de919386a5834e4900 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Mon, 3 Nov 2025 23:35:26 +0100
Subject: [PATCH 2/3] Add pyproject.toml with modern Python packaging
configuration
This follows PEP 621 and as well while keeping backward compatibility
with existing setup.py.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
---
pyproject.toml | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 pyproject.toml
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,38 @@
+[build-system]
+requires = ["setuptools>=61.0", "wheel"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "Flask-SeaSurf"
+version = "2.0.0"
+description = "An updated CSRF extension for Flask."
+readme = {file = "README.markdown", content-type = "text/markdown"}
+license = "BSD-3-Clause"
+license-files = ["LICENSE"]
+authors = [{name = "Max Countryman", email = "maxc@me.com"}]
+requires-python = ">=3.8"
+dependencies = ["Flask"]
+classifiers = [
+ "Development Status :: 4 - Beta",
+ "Environment :: Web Environment",
+ "Intended Audience :: Developers",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+]
+
+[project.urls]
+Homepage = "https://github.com/maxcountryman/flask-seasurf/"
+
+[tool.setuptools]
+py-modules = ["flask_seasurf"]
+
+[project.optional-dependencies]
+test = ["pytest"]

View File

@@ -8,11 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-flask-session
PKG_VERSION:=0.3.2
PKG_VERSION:=0.8.0
PKG_RELEASE:=1
PYPI_NAME:=Flask-Session
PKG_HASH:=0768e2bbf06f963ec1aa711bde7aa32dc39ff70f89b495d6db687d899eae4423
PYPI_SOURCE_NAME:=flask_session
PKG_HASH:=20e045eb01103694e70be4a49f3a80dbb1b57296a22dc6f44bbf3f83ef0742ff
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=BSD-3-Clause

View File

@@ -8,11 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-flask-socketio
PKG_VERSION:=5.3.5
PKG_VERSION:=5.5.1
PKG_RELEASE:=1
PYPI_NAME:=Flask-SocketIO
PKG_HASH:=5f01158d10db71aa78c969b631ce3b9148b47ab0de1995158f9577f85b004d25
PYPI_SOURCE_NAME:=flask_socketio
PKG_HASH:=d946c944a1074ccad8e99485a6f5c79bc5789e3ea4df0bb9c864939586c51ec4
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT

View File

@@ -1,40 +0,0 @@
#
# Copyright (C) 2015, 2017-2018 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-parsley
PKG_VERSION:=1.3
PKG_RELEASE:=6
PYPI_NAME:=Parsley
PKG_HASH:=9444278d47161d5f2be76a767809a3cbe6db4db822f46a4fd7481d4057208d41
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-parsley
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Parsing and pattern matching
URL:=http://launchpad.net/parsley
DEPENDS:=+python3-light
endef
define Package/python3-parsley/description
Parsing and pattern matching made easy.
endef
$(eval $(call Py3Package,python3-parsley))
$(eval $(call BuildPackage,python3-parsley))
$(eval $(call BuildPackage,python3-parsley-src))

View File

@@ -1,19 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,7 @@
Setup script for the Parsley distribution.
"""
+import io
from distutils.core import setup
setup(
name="Parsley",
@@ -13,7 +14,7 @@ setup(
author="Allen Short",
author_email="washort42@gmail.com",
license="MIT License",
- long_description=open("README").read(),
+ long_description=io.open("README", encoding="utf-8").read(),
packages=["ometa", "terml", "ometa._generated", "terml._generated",
"ometa.test", "terml.test"],
py_modules=["parsley"]

View File

@@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,6 @@ setup(
author_email="washort42@gmail.com",
license="MIT License",
long_description=io.open("README", encoding="utf-8").read(),
- packages=["ometa", "terml", "ometa._generated", "terml._generated",
- "ometa.test", "terml.test"],
+ packages=["ometa", "terml", "ometa._generated", "terml._generated"],
py_modules=["parsley"]
)

View File

@@ -1,45 +0,0 @@
#
# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-pysocks
PKG_VERSION:=1.7.1
PKG_RELEASE:=1
PYPI_NAME:=PySocks
PKG_HASH:=3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-pysocks
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Python SOCKS client module
URL:=https://github.com/Anorov/PySocks
DEPENDS:= \
+python3-light \
+python3-logging \
+python3-openssl \
+python3-urllib
endef
define Package/python3-pysocks/description
PySocks lets you send traffic through SOCKS proxy servers.
It is a modern fork of SocksiPy with bug fixes and extra features.
endef
$(eval $(call Py3Package,python3-pysocks))
$(eval $(call BuildPackage,python3-pysocks))
$(eval $(call BuildPackage,python3-pysocks-src))

View File

@@ -8,11 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-yaml
PKG_VERSION:=6.0.1
PKG_RELEASE:=2
PKG_VERSION:=6.0.3
PKG_RELEASE:=1
PYPI_NAME:=PyYAML
PKG_HASH:=bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43
PYPI_SOURCE_NAME:=pyyaml
PKG_HASH:=d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT

View File

@@ -1,18 +0,0 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools", "wheel", "Cython<3.0"]
+requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"
--- a/setup.py
+++ b/setup.py
@@ -82,7 +82,7 @@ if 'sdist' in sys.argv or os.environ.get
with_cython = True
try:
from Cython.Distutils.extension import Extension as _Extension
- from Cython.Distutils import build_ext as _build_ext
+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
with_cython = True
except ImportError:
if with_cython: