# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-pip
version=22.2.2
build=1sml
homepage="https://pypi.org/project/pip/"
download="https://github.com/pypa/pip/archive/refs/tags/$version.tar.gz"
desc="Package installer for python"
requires="python3 python-setuptools"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf pip-$version

  tar xf $srcdir/pip-$version.tar.?z*
  cd pip-$version 
  fixbuilddirpermissions
}

build() {
  python setup.py install --root=$pkg
  cp LICENSE.txt $pkgdocs/

  mkfinalpkg
}

sha512sums="
bd59e28b55475b77a8f11ea771cbad3b2602ff974e219f9a55288963a9522c9279a5b00fde40fb65cfebefae0e905d3da3c06fe50b402aa5326b25f70a98a015  pip-22.2.2.tar.gz
"
