diff options
author | davidovski <david@davidovski.xyz> | 2022-01-02 23:42:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-02 23:42:16 +0000 |
commit | 013705dd4e7ed6a3fe287e6be86d8f0e9ba18c96 (patch) | |
tree | cd7a112f29af1d6302866476eec4ef4e1d596182 /repo | |
parent | f7cff25abcc1b0e509d4478bdf685873ea17fe06 (diff) |
added python requests
Diffstat (limited to 'repo')
-rw-r--r-- | repo/core/python-requests.xibuild | 11 | ||||
-rw-r--r-- | repo/extra/xipkg.xibuild | 7 |
2 files changed, 12 insertions, 6 deletions
diff --git a/repo/core/python-requests.xibuild b/repo/core/python-requests.xibuild new file mode 100644 index 0000000..7752729 --- /dev/null +++ b/repo/core/python-requests.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(python) + +SOURCE=git://github.com/psf/requests.git +DESC="the requests module for python" + +build () { + mkdir -p $PKG_DEST/usr/lib/python3.10/site-packages/ + pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ . +} diff --git a/repo/extra/xipkg.xibuild b/repo/extra/xipkg.xibuild index 0779c1c..f18745f 100644 --- a/repo/extra/xipkg.xibuild +++ b/repo/extra/xipkg.xibuild @@ -1,6 +1,6 @@ #!/bin/bash -DEPS=(bash tar) +DEPS=(tar python python-requests) SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git DESC="The xilinux package manager" @@ -9,8 +9,3 @@ build () { make make DESTDIR=$PKG_DEST install } - -postinstall () { - echo "TESTING POSTINSTALL" - pip3 install --root $ROOT requests -} |