From 031bc1627fdc38d1c178707c86dd267224b94693 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Sep 2019 23:35:07 -0400 Subject: Initial commit --- scripts/python-pip/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/python-pip/build.sh (limited to 'scripts/python-pip') 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" +} -- cgit