diff options
| author | Julien Malik <julien.malik@paraiso.me> | 2022-11-26 15:24:04 +0100 |
|---|---|---|
| committer | Julien Malik <julien.malik@paraiso.me> | 2022-11-26 15:24:04 +0100 |
| commit | a19f331b068ba9f5fab60f149acdd9805ccdb390 (patch) | |
| tree | 879b7ad33198c85f777435dde7220e4e239233bf /lang/python/python-exceptiongroup/patches | |
| parent | 69655222fcedb299054bfdff8cf7acf24de4cefa (diff) | |
python-exceptiongroup: add package for 1.0.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
Diffstat (limited to 'lang/python/python-exceptiongroup/patches')
| -rw-r--r-- | lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch | 31 |
1 files changed, 31 insertions, 0 deletions
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 new file mode 100644 index 000000000..ec2763825 --- /dev/null +++ b/lang/python/python-exceptiongroup/patches/0001-add-setup.py-to-avoid-depending-on-flit-for-building.patch @@ -0,0 +1,31 @@ +From 99e590f2177148420f3556bbb0dc2e493e94e45f 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.0.4', ++ 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', ++) ++ |
