### this file is sourced not run
#PKGVER=0.7.0
PKGVER=0.9.0
PKGARCH=x86_64
PKGBUILD=1

# source: james
#TARBALL=python-lz4-master-2015.02.tar.gz # this is version 0.7.0
#MD5SUM=d5617b6185412700caabad6d73dc5956
#SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
TARBALL=python-lz4-$PKGVER.tar.gz
MD5SUM=6e471cf32af1592ec0e439ad1c8bea16
SRC_URL=https://files.pythonhosted.org/packages/da/9c/a00d5a3f47c5339471938ed826a536ed0a3313a512ef8ec329c6477adc6f/lz4-0.9.0.tar.gz
BUNDLE=

SLACKREQ='python'
SLACKDESC="python-lz4: python-lz4 $PKGVER (Python binding for lz4 compressor)
python-lz4: 
python-lz4: lz4 is a fast (de-)compressor. This package implements python binding 
python-lz4: for lz4 (de-)compression library.
python-lz4: 
python-lz4: https://pypi.python.org/pypi/lz4
python-lz4: 
python-lz4: 
python-lz4: 
python-lz4: 
python-lz4: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/*lz4*
	sed -i -e '/setuptools_scm/d' -e '/nose/d' setup.py &&
	python setup.py build &&
	python setup.py install \
		--single-version-externally-managed \
		--root / &&
	pkg_build_slackdesc
}


