aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/python-distlib/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-08-22 06:47:55 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-08-22 06:47:55 +0800
commit0d7f789020506544f9ca76850780d5c27833454e (patch)
treeeac89ff5b13f650d9e93802f6a93fa06aefaa2a5 /repos/extra/python-distlib/abuild
parente7f21bafadd2c9e657a751486cbe930faf0f6ed4 (diff)
downloadalicelinux-0d7f789020506544f9ca76850780d5c27833454e.tar.gz
alicelinux-0d7f789020506544f9ca76850780d5c27833454e.zip
python-distlib: new added
Diffstat (limited to 'repos/extra/python-distlib/abuild')
-rw-r--r--repos/extra/python-distlib/abuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/repos/extra/python-distlib/abuild b/repos/extra/python-distlib/abuild
new file mode 100644
index 00000000..75d87c7b
--- /dev/null
+++ b/repos/extra/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
+}