diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-05-10 12:11:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 12:11:07 +0800 |
| commit | 8a36b03870fd2f6b75b8890ce912660e00ccade8 (patch) | |
| tree | 5e03f31c967408fe8ce0e7e3d470f4d5eb0a3863 /lang/python/python-exceptiongroup | |
| parent | 83dd66fd34792c692a477c2ed8430f81802d8f22 (diff) | |
| parent | b1b008f42ff0a6da96b801e2eaf68be4e2f2b5bb (diff) | |
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
Diffstat (limited to 'lang/python/python-exceptiongroup')
| -rw-r--r-- | lang/python/python-exceptiongroup/Makefile | 12 | ||||
| -rw-r--r-- | lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch | 31 |
2 files changed, 6 insertions, 37 deletions
diff --git a/lang/python/python-exceptiongroup/Makefile b/lang/python/python-exceptiongroup/Makefile index 7c096dc5e..80be44b2e 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_RELEASE:=1 +PKG_VERSION:=1.1.1 +PKG_RELEASE:=2 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 deleted file mode 100644 index 5c6cf2519..000000000 --- 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 <julien.malik@paraiso.me> -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.0', -+ description='Backport of PEP 654 (exception groups)', -+ author='Alex Grönholm', -+ author_email='Alex Grönholm <alex.gronholm@nextday.fi>', -+ url='https://github.com/agronholm/exceptiongroup', -+ packages=['exceptiongroup'], -+ package_data={'': ['*']}, -+ package_dir={'': 'src'}, -+ extras_require={'test': ['pytest >= 6']}, -+ python_requires='>=3.7', -+) -+ |
