diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/python-exceptiongroup/python-exceptiongroup.xibuild | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/python-exceptiongroup/python-exceptiongroup.xibuild')
-rw-r--r-- | repo/python-exceptiongroup/python-exceptiongroup.xibuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/python-exceptiongroup/python-exceptiongroup.xibuild b/repo/python-exceptiongroup/python-exceptiongroup.xibuild new file mode 100644 index 0000000..fa101ca --- /dev/null +++ b/repo/python-exceptiongroup/python-exceptiongroup.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +MAKEDEPS="python python-build python-flit-core python-installer python-wheel" +DEPS="python-pytest" + +PKG_VER=1.0.0rc8 +SOURCE=https://github.com/agronholm/exceptiongroup/archive/refs/tags/$PKG_VER.tar.gz +MAKEDEPS="python" +DESC="Backport of PEP 654 (exception groups)" +ADDITIONAL=" +use-flit-core.patch +" + +prepare () { + apply_patches + sed -i "s/%VERSION%/$PKG_VER/" src/exceptiongroup/__init__.py +} + +build() { + python3 -m build --no-isolation --wheel +} + +package () { + python3 -m installer -d "$PKG_DEST" \ + dist/exceptiongroup-$PKG_VER-py3-none-any.whl +} |