Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/python-pip-bootstrap/PKGBUILD
blob: a66aad84d25e27c6d9b67f9e23dff36d4891d2fd (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
27
28
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>

pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
pkgver='19.1'
pkgrel='1'
pkgdesc="bootstap pip and setuptools for bootstrapping python"
arch=('x86_64' 'armv6h' 'armv7h')
url="https://bootstrap.pypa.io/"
source=("get-pip-${pkgver}.py::https://bootstrap.pypa.io/get-pip.py")
sha512sums=('99520d223819708b8f6e4b839d1fa215e4e8adc7fcd0db6c25a0399cf2fa10034b35673cf450609303646d12497f301ef53b7e7cc65c78e7bce4af0c673555ad')

package_python-pip-bootstrap() {
	provides=("python-pip=${pkgver}")
	depends=('python')
	install=install.sh

	mkdir -p "${pkgdir}/usr/bin"
	cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/."
}

package_python2-pip-bootstrap() {
	provides=("python2-pip=${pkgver}")
	depends=('python2')
	install=install2.sh

	mkdir -p "${pkgdir}/usr/bin"
	cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/get-pip2.py"
}