summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9da3ebb8969a44afb888e05fc14fe723bebaeba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>

pkgname=python-raet
pkgver=0.6.8
pkgrel=8
pkgdesc='Asynchronous encrypted transaction based protocol using Ioflo'
arch=('any')
url='https://github.com/saltstack/raet'
license=('Apache')
depends=('python-libnacl' 'python-ioflo' 'python-six')
makedepends=('python-setuptools-git')
checkdepends=('python-pytest-runner' 'python-bitvector')
source=("https://pypi.io/packages/source/r/raet/raet-$pkgver.tar.gz")
sha512sums=('01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20')

build() {
  cd raet-$pkgver
  python setup.py build
}

check() {
  cd raet-$pkgver
  # Disabled: very broken
  # sed -e '/import data/d' -e 's/data.createData/createData/' -i systest/lib/data.py
  # python setup.py pytest
}

package() {
  cd raet-$pkgver
  python setup.py install --root="$pkgdir" -O1
}