diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-30 23:35:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-30 23:35:07 -0400 |
commit | 031bc1627fdc38d1c178707c86dd267224b94693 (patch) | |
tree | 9e44e7bfd24da233e0b950892f48932bdde37618 /scripts/python-pip/build.sh | |
download | spm-031bc1627fdc38d1c178707c86dd267224b94693.tar.gz |
Initial commit
Diffstat (limited to 'scripts/python-pip/build.sh')
-rw-r--r-- | scripts/python-pip/build.sh | 19 |
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" +} |