Package customizations and pure-i686 packages

PKGBUILD 900B

1234567891011121314151617181920212223242526272829
  1. # Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
  2. pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
  3. pkgver='19.2.3'
  4. pkgrel='1'
  5. pkgdesc="bootstap pip and setuptools for bootstrapping python"
  6. arch=('x86_64' 'armv6h' 'armv7h')
  7. url="https://bootstrap.pypa.io/"
  8. source=("get-pip-${pkgver}.py::https://bootstrap.pypa.io/get-pip.py")
  9. sha512sums=('5b3ad6ebf52ba70452d79175860829f5d9c1ed21b6cc77daf972df8ab987fe3c08b0f04e0577388ceeba0f2ecf4adab8e6254d1ec7f3d39ca31bc2ab0e341c86')
  10. package_python-pip-bootstrap() {
  11. provides=("python-pip=${pkgver}")
  12. depends=('python')
  13. install=install.sh
  14. mkdir -p "${pkgdir}/usr/bin"
  15. cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/."
  16. }
  17. package_python2-pip-bootstrap() {
  18. provides=("python2-pip=${pkgver}")
  19. depends=('python2')
  20. install=install2.sh
  21. mkdir -p "${pkgdir}/usr/bin"
  22. cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/get-pip2.py"
  23. }