aboutsummaryrefslogtreecommitdiff
path: root/python-distlib/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'python-distlib/abuild')
-rw-r--r--python-distlib/abuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/python-distlib/abuild b/python-distlib/abuild
new file mode 100644
index 00000000..75d87c7b
--- /dev/null
+++ b/python-distlib/abuild
@@ -0,0 +1,10 @@
+name=python-distlib
+version=0.4.0
+release=1
+source="https://github.com/pypa/distlib/archive/${version}/distlib-${version}.tar.gz"
+
+build() {
+ gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
+ python3 -m installer -d $PKG .dist/distlib*.whl
+ rm $PKG/usr/lib/python3*/site-packages/distlib/*.exe
+}