diff options
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 -} |