summaryrefslogtreecommitdiff
path: root/repo/system/python.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-05 23:51:45 +0000
committerdavidovski <david@davidovski.xyz>2022-03-05 23:51:45 +0000
commit80220d777d783fc0b11c491f0c93eb712d38e427 (patch)
treee7d84e50f6a3c41c25d8808fa6aa746a24a3a88f /repo/system/python.xibuild
parent5bbf53467cd7b68557d8e37332968081c64e9908 (diff)
fixed up js78
Diffstat (limited to 'repo/system/python.xibuild')
-rw-r--r--repo/system/python.xibuild37
1 files changed, 0 insertions, 37 deletions
diff --git a/repo/system/python.xibuild b/repo/system/python.xibuild
deleted file mode 100644
index 7198649..0000000
--- a/repo/system/python.xibuild
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-
-MAKEDEPS="make autoconf automake autoconf-archive"
-DEPS="bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib grep"
-
-PKG_VER=3.10.2
-SOURCE=https://www.python.org/ftp/python/$PKG_VER/Python-$PKG_VER.tgz
-DESC="The Python development environment"
-
-prepare () {
- rm -r Modules/expat
- rm -r Modules/_ctypes/darwin*
- rm -r Modules/_ctypes/libffi*
-}
-
-build () {
- CFLAGS="-flto"
- autoreconf -i
- GREP="/usr/bin/ggrep" ./configure --prefix=/usr \
- --enable-shared \
- --with-system-expat \
- --with-system-ffi \
- --with-ensurepip=yes \
- --with-pip=yes \
- --with-openssl="/usr" \
- --enable-ipv6 \
- --enable-loadable-sqlite-extensions \
- --with-computed-gotos
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- ln -s /usr/bin/python3 $PKG_DEST/usr/bin/python
- ln -s /usr/bin/pip3 $PKG_DEST/usr/bin/pip
-}