aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/python-installer/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/python-installer/abuild
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
Diffstat (limited to 'repos/extra/python-installer/abuild')
-rw-r--r--repos/extra/python-installer/abuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/python-installer/abuild b/repos/extra/python-installer/abuild
new file mode 100644
index 00000000..0d5fd403
--- /dev/null
+++ b/repos/extra/python-installer/abuild
@@ -0,0 +1,13 @@
+name=python-installer
+version=0.7.0
+release=1
+source="https://files.pythonhosted.org/packages/py3/i/installer/installer-${version}-py3-none-any.whl"
+
+build() {
+ mkdir tmp
+ unzip -d tmp $SRC/installer-${version}-py3-none-any.whl
+ sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
+ mkdir -p $PKG/$sitedir
+ cp -a tmp/installer* $PKG/$sitedir
+ python3 -m compileall $PKG/$sitedir
+} \ No newline at end of file