aboutsummaryrefslogtreecommitdiff
path: root/scripts/python-pip
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/python-pip')
-rw-r--r--scripts/python-pip/build.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/python-pip/build.sh b/scripts/python-pip/build.sh
new file mode 100644
index 0000000..e2ba34c
--- /dev/null
+++ b/scripts/python-pip/build.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+name=python-pip
+version=19.2.3
+revision=0
+sources=(https://github.com/pypa/${name/python-/}/archive/${version}.tar.gz)
+depends=(
+ 'python-3'
+ 'python-setuptools'
+)
+
+function prepare() {
+ tar xf ${version}.tar.gz
+ cd ${name/python-/}-${version}
+}
+
+function package() {
+ python setup.py install --root="${destdir}" --prefix="${prefix}"
+ #find ${destdir} -type f | xargs sed -i -e "s|${build_runtime}|${prefix}|g"
+}