### this file is sourced not run
PKGVER=9.0.1 # this is the latest version at time of build
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=get-pip.py
MD5SUM=3b74f5cd0740a05802a23b019ce579a3
SRC_URL=https://bootstrap.pypa.io/$TARBALL 
BUNDLE=

SLACKREQ='python'
SLACKDESC="python-pip: python-pip $PKGVER (Python Package Installer)
python-pip: 
python-pip: pip is package manager for python. You only need to use this if the 
python-pip: python package you need is not available in gslapt repository.
python-pip: 
python-pip: 
python-pip: 
python-pip: https://pip.pypa.io/en/latest/index.html
python-pip: 
python-pip: 
python-pip: 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	cp $SRC_DIR/$TARBALL tmp
}

### default pkg_package
### build
pkg_build() {
	cd /tmp
	echo nameserver 8.8.8.8 > /etc/resolv.conf # it needs to download stuff
	python $TARBALL &&
	pkg_build_slackdesc &&
	rm -f /etc/resolv.conf
}


