summaryrefslogtreecommitdiff
path: root/python-pip
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
commit13984f725db156cbc952d0afe90f27da15a0b85d (patch)
treeb3a39b75ecaecca11ee1525a99153a7606e460cb /python-pip
downloadspm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz
Initial commit
Diffstat (limited to 'python-pip')
-rw-r--r--python-pip/build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/python-pip/build.sh b/python-pip/build.sh
new file mode 100644
index 0000000..8a80b21
--- /dev/null
+++ b/python-pip/build.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+name=python-pip
+version=19.2.3
+revision=0
+sources=(https://github.com/pypa/${name/python-/}/archive/${version}.tar.gz)
+depends=(
+ 'git'
+ 'python'
+ 'python-setuptools'
+)
+
+function prepare() {
+ tar xf ${version}.tar.gz
+ cd ${name/python-/}-${version}
+}
+
+function package() {
+ python setup.py install --root="${_pkgdir}" --prefix="${_prefix}"
+ #find ${_pkgdir} -type f | xargs sed -i -e "s|${build_runtime}|${_prefix}|g"
+}