summaryrefslogtreecommitdiff
path: root/lang/python/python-exceptiongroup
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-18 01:05:56 +0800
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2023-11-02 01:14:01 +0100
commit43e34d9b7d17ff2940db87f4d164e2175880868a (patch)
tree7126f4c81e3d16524d01d6ae8b4ee6be01c3579e /lang/python/python-exceptiongroup
parentd8b19b3df4a80c447097031efcb9b558923bd32f (diff)
python-exceptiongroup: Update to 1.1.1
This adds a build dependency that will be required for pyproject.toml-based builds. This also removes the run-time dependency on python3-attrs; there is no indication this package is required. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 59b7a81964c879e9a92af3122916f8d33ac2ee0a)
Diffstat (limited to 'lang/python/python-exceptiongroup')
-rw-r--r--lang/python/python-exceptiongroup/Makefile10
-rw-r--r--lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch2
2 files changed, 6 insertions, 6 deletions
diff --git a/lang/python/python-exceptiongroup/Makefile b/lang/python/python-exceptiongroup/Makefile
index 7c096dc5e..4cde0a6c5 100644
--- a/lang/python/python-exceptiongroup/Makefile
+++ b/lang/python/python-exceptiongroup/Makefile
@@ -8,16 +8,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-exceptiongroup
-PKG_VERSION:=1.1.0
+PKG_VERSION:=1.1.1
PKG_RELEASE:=1
PYPI_NAME:=exceptiongroup
-PKG_HASH:=bcb67d800a4497e1b404c2dd44fca47d3b7a5e5433dbab67f96c1a685cdfdf23
+PKG_HASH:=d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785
PKG_LICENSE:=MIT,Python-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Julien Malik <julien.malik@paraiso.me>
+PKG_BUILD_DEPENDS:=python-flit-scm/host
+
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
@@ -28,9 +30,7 @@ define Package/python3-exceptiongroup
SUBMENU:=Python
TITLE:=Backport of PEP 654 (exception groups)
URL:=https://github.com/agronholm/exceptiongroup
- DEPENDS:= \
- +python3-light \
- +python3-attrs
+ DEPENDS:=+python3-light
endef
define Package/python3-exceptiongroup/description
diff --git a/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch b/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch
index 5c6cf2519..aca11e3be 100644
--- a/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch
+++ b/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch
@@ -17,7 +17,7 @@ Subject: [PATCH] add setup.py to avoid depending on flit for building
+
+setuptools.setup(
+ name='exceptiongroup',
-+ version='1.1.0',
++ version='1.1.1',
+ description='Backport of PEP 654 (exception groups)',
+ author='Alex Grönholm',
+ author_email='Alex Grönholm <alex.gronholm@nextday.fi>',