From 013705dd4e7ed6a3fe287e6be86d8f0e9ba18c96 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 2 Jan 2022 23:42:16 +0000 Subject: added python requests --- repo/core/python-requests.xibuild | 11 +++++++++++ repo/extra/xipkg.xibuild | 7 +------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 repo/core/python-requests.xibuild 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 -} -- cgit v1.2.1