Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/disabled/python-pip-bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/disabled/python-pip-bootstrap')
-rw-r--r--build-support/disabled/python-pip-bootstrap/.SRCINFO21
-rw-r--r--build-support/disabled/python-pip-bootstrap/PKGBUILD26
-rw-r--r--build-support/disabled/python-pip-bootstrap/install.sh4
-rw-r--r--build-support/disabled/python-pip-bootstrap/install2.sh4
4 files changed, 55 insertions, 0 deletions
diff --git a/build-support/disabled/python-pip-bootstrap/.SRCINFO b/build-support/disabled/python-pip-bootstrap/.SRCINFO
new file mode 100644
index 00000000..d88edfcc
--- /dev/null
+++ b/build-support/disabled/python-pip-bootstrap/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = python-pip-bootstrap
+ pkgdesc = bootstap pip and setuptools for bootstrapping python
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://bootstrap.pypa.io/
+ arch = i486
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ source = https://bootstrap.pypa.io/get-pip.py
+ sha512sums = 29971130c5d1d1baf2b51ef689b40c91fcd0d1e62de6f99d6abef6879684a59843be539cd112dfddc3637cc3d1a91c79f775d80f6aa2fe920252710d48d2934d
+
+pkgname = python-pip-bootstrap
+ install = install.sh
+ depends = python
+
+pkgname = python2-pip-bootstrap
+ install = install2.sh
+ depends = python2
+
diff --git a/build-support/disabled/python-pip-bootstrap/PKGBUILD b/build-support/disabled/python-pip-bootstrap/PKGBUILD
new file mode 100644
index 00000000..93c5d86e
--- /dev/null
+++ b/build-support/disabled/python-pip-bootstrap/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="bootstap pip and setuptools for bootstrapping python"
+arch=(i486 'i686' 'x86_64' 'armv6h' 'armv7h')
+url="https://bootstrap.pypa.io/"
+source=("https://bootstrap.pypa.io/get-pip.py")
+sha512sums=('29971130c5d1d1baf2b51ef689b40c91fcd0d1e62de6f99d6abef6879684a59843be539cd112dfddc3637cc3d1a91c79f775d80f6aa2fe920252710d48d2934d')
+
+package_python-pip-bootstrap() {
+ depends=('python')
+ install=install.sh
+
+ mkdir -p "${pkgdir}/usr/bin"
+ cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/."
+}
+
+package_python2-pip-bootstrap() {
+ depends=('python2')
+ install=install2.sh
+
+ mkdir -p "${pkgdir}/usr/bin"
+ cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/get-pip2.py"
+}
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
+}