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-setuptools/build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/python-setuptools/build.sh (limited to 'scripts/python-setuptools') diff --git a/scripts/python-setuptools/build.sh b/scripts/python-setuptools/build.sh new file mode 100644 index 0000000..cc903a7 --- /dev/null +++ b/scripts/python-setuptools/build.sh @@ -0,0 +1,17 @@ +#!/bin/bash +name=python-setuptools +version=41.2.0 +revision=0 +sources=(https://github.com/pypa/setuptools/archive/v${version}.tar.gz) +depends=('python-3') + +function prepare() { + tar xf v${version}.tar.gz + cd ${name/python-/}-${version} +} + +function package() { + python bootstrap.py + python setup.py install --root="${destdir}" --prefix="${prefix}" + #find ${destdir} -type f | xargs -I'{}' sed -i -e "s|${build_runtime}|${prefix}|g" '{}' +} -- cgit