aboutsummaryrefslogtreecommitdiff
path: root/extra/python2
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/python2
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/python2')
-rwxr-xr-xextra/python2/build14
-rw-r--r--extra/python2/checksums1
-rw-r--r--extra/python2/depends3
-rw-r--r--extra/python2/sources1
-rw-r--r--extra/python2/version1
5 files changed, 20 insertions, 0 deletions
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