# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-libtaxii _pkgname=libtaxii pkgver=1.1.119 pkgrel=7 pkgdesc='TAXII Library.' url='https://github.com/TAXIIProject/libtaxii' license=('BSD') arch=('any') depends=('python' 'python-lxml' 'python-requests' 'python-dateutil' 'python-six') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('73fe1f9f506154ace265980c6446c697db624b11e7726e611dc96a871cf16dcb39c22d152a5be08fe3e3d1945cfb636c7303ee08cba48b044ff4527e7a75b2de') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }