summaryrefslogtreecommitdiff
path: root/build-support/disabled/python-pip-bootstrap/PKGBUILD
blob: 7dc642581e188f9cf3300adfa192e962306018e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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=('ae0f0b2e41f435d80f955eb577f74fa9561ba283b8c7f65a5dd96270beebf7d2c220d107865e07a31e66d25dd33953cca852100b3f04bf8990626aa69c60fa98')

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"
}