summaryrefslogtreecommitdiff
path: root/repo/python/python.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/python/python.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/python/python.xibuild')
-rw-r--r--repo/python/python.xibuild32
1 files changed, 0 insertions, 32 deletions
diff --git a/repo/python/python.xibuild b/repo/python/python.xibuild
deleted file mode 100644
index 3876d8b..0000000
--- a/repo/python/python.xibuild
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make autoconf automake autoconf-archive sqlite3"
-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 \
- --enable-optimizations &&
- 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
-}