From 773450269365bc1710c8c85b52566d0db0bb0b27 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Fri, 14 Apr 2023 01:36:12 +0800 Subject: [PATCH] python-exceptiongroup: Remove previous build workaround With proper support for pyproject.toml-based builds in place, this is no longer necessary. Signed-off-by: Jeffery To --- lang/python/python-exceptiongroup/Makefile | 2 +- ...avoid-depending-on-flit-for-building.patch | 31 ------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch diff --git a/lang/python/python-exceptiongroup/Makefile b/lang/python/python-exceptiongroup/Makefile index 4cde0a6c53..80be44b2ef 100644 --- a/lang/python/python-exceptiongroup/Makefile +++ b/lang/python/python-exceptiongroup/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-exceptiongroup PKG_VERSION:=1.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=exceptiongroup PKG_HASH:=d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785 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 deleted file mode 100644 index aca11e3be5..0000000000 --- a/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d6a0c3045598597023ee2423144b134fc87f4b6f Mon Sep 17 00:00:00 2001 -From: Julien Malik -Date: Sat, 26 Nov 2022 13:05:20 +0100 -Subject: [PATCH] add setup.py to avoid depending on flit for building - ---- - setup.py | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - create mode 100644 setup.py - ---- /dev/null -+++ b/setup.py -@@ -0,0 +1,18 @@ -+#!/usr/bin/env python -+ -+import setuptools -+ -+setuptools.setup( -+ name='exceptiongroup', -+ version='1.1.1', -+ description='Backport of PEP 654 (exception groups)', -+ author='Alex Grönholm', -+ author_email='Alex Grönholm ', -+ url='https://github.com/agronholm/exceptiongroup', -+ packages=['exceptiongroup'], -+ package_data={'': ['*']}, -+ package_dir={'': 'src'}, -+ extras_require={'test': ['pytest >= 6']}, -+ python_requires='>=3.7', -+) -+ -- 2.30.2