diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-26 23:29:15 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-26 23:29:15 +0800 |
| commit | d8a1404e15daf12552c33fdb23bc8fad5bd8fb15 (patch) | |
| tree | 44ab4e83107353becead16ec4d50cd49c3b1c7b6 /repos/extra/python-installer/abuild | |
| parent | fdad69e170edf764c6f12d3ecabf826e206cfafe (diff) | |
| download | alicelinux-d8a1404e15daf12552c33fdb23bc8fad5bd8fb15.tar.gz alicelinux-d8a1404e15daf12552c33fdb23bc8fad5bd8fb15.zip | |
python-installer: new added
Diffstat (limited to 'repos/extra/python-installer/abuild')
| -rw-r--r-- | repos/extra/python-installer/abuild | 13 |
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 |