From 1a9038b24071546a11a5db104e43ce15de766831 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 May 2023 16:35:58 +0200 Subject: some cleanup --- build-support/disabled/python-pip-bootstrap/PKGBUILD | 18 ++++++++++++++++++ build-support/disabled/python-pip-bootstrap/install.sh | 4 ++++ .../disabled/python-pip-bootstrap/install2.sh | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 build-support/disabled/python-pip-bootstrap/PKGBUILD create mode 100644 build-support/disabled/python-pip-bootstrap/install.sh create mode 100644 build-support/disabled/python-pip-bootstrap/install2.sh (limited to 'build-support/disabled') diff --git a/build-support/disabled/python-pip-bootstrap/PKGBUILD b/build-support/disabled/python-pip-bootstrap/PKGBUILD new file mode 100644 index 00000000..4afb97a8 --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Andreas Baumann + +pkgname=('python-pip-bootstrap') +pkgver=0.0.1 +pkgrel=2 +pkgdesc="bootstap pip and setuptools for bootstrapping python" +arch=(i486 'i686' 'pentium4' 'x86_64' 'armv6h' 'armv7h') +url="https://bootstrap.pypa.io/" +source=("https://bootstrap.pypa.io/get-pip.py") +sha512sums=('ba6c35de136e769bc67cbd41417c62ed2d7eebf893473ae3a98c50fd130b53fc02d7d9de266323197e30a4895c826c301a205595e129fb9e90d294d8f0e53afd') + +package_python-pip-bootstrap() { + depends=('python') + install=install.sh + + mkdir -p "${pkgdir}/usr/bin" + cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/." +} diff --git a/build-support/disabled/python-pip-bootstrap/install.sh b/build-support/disabled/python-pip-bootstrap/install.sh new file mode 100644 index 00000000..e81432e6 --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/install.sh @@ -0,0 +1,4 @@ +post_install() { + echo "Bootstrapping python pip, setuptools and wheel.." + python /usr/bin/get-pip.py +} diff --git a/build-support/disabled/python-pip-bootstrap/install2.sh b/build-support/disabled/python-pip-bootstrap/install2.sh new file mode 100644 index 00000000..b6aa16fa --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/install2.sh @@ -0,0 +1,4 @@ +post_install() { + echo "Bootstrapping python2 pip, setuptools and wheel.." + python2 /usr/bin/get-pip2.py +} -- cgit v1.2.3-54-g00ecf