summaryrefslogtreecommitdiff
path: root/lang/python/python-exceptiongroup/patches
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-11-29 16:57:10 +0200
committerGitHub <noreply@github.com>2022-11-29 16:57:10 +0200
commitd115eec84f22ca87e83d284c88e525f19e5fa4b4 (patch)
tree5a77e2b7cdb0020ecf6d8b422b16d0c1ab507d80 /lang/python/python-exceptiongroup/patches
parent8bd96675b27584b7686f053af0a6bd63c2484c92 (diff)
parent2ad61a4529a5f600da47c071bb1bf2ce7462c14c (diff)
Merge pull request #19973 from julienmalik/borg
borgbackup: initial commit
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.patch31
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',
++)
++