From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- extra/python2/build | 14 ++++++++++++++ extra/python2/checksums | 1 + extra/python2/depends | 3 +++ extra/python2/sources | 1 + extra/python2/version | 1 + 5 files changed, 20 insertions(+) create mode 100755 extra/python2/build create mode 100644 extra/python2/checksums create mode 100644 extra/python2/depends create mode 100644 extra/python2/sources create mode 100644 extra/python2/version (limited to 'extra/python2') diff --git a/extra/python2/build b/extra/python2/build new file mode 100755 index 00000000..3b3866ff --- /dev/null +++ b/extra/python2/build @@ -0,0 +1,14 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --without-ensurepip + +make +make DESTDIR="$1" install + +rm "$1/usr/bin/2to3" +rm "$1/usr/bin/python" + +# Make static library writable. +chmod -v u+w "$1/usr/lib/libpython"*.a diff --git a/extra/python2/checksums b/extra/python2/checksums new file mode 100644 index 00000000..01c6883e --- /dev/null +++ b/extra/python2/checksums @@ -0,0 +1 @@ +4d43f033cdbd0aa7b7023c81b0e986fd11e653b5248dac9144d508f11812ba41 Python-2.7.17.tar.xz diff --git a/extra/python2/depends b/extra/python2/depends new file mode 100644 index 00000000..4711f7dd --- /dev/null +++ b/extra/python2/depends @@ -0,0 +1,3 @@ +bzip2 +sqlite +zlib diff --git a/extra/python2/sources b/extra/python2/sources new file mode 100644 index 00000000..af09d116 --- /dev/null +++ b/extra/python2/sources @@ -0,0 +1 @@ +https://www.python.org/ftp/python/2.7.17/Python-2.7.17.tar.xz diff --git a/extra/python2/version b/extra/python2/version new file mode 100644 index 00000000..6b274355 --- /dev/null +++ b/extra/python2/version @@ -0,0 +1 @@ +2.7.17 1 -- cgit v1.2.3