aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-ioflo/APKBUILD
blob: 326bdcd15bf99550790b75b5967816729d1f1c8c (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-ioflo
_pkgname=ioflo
pkgver=1.7.5
pkgrel=0
pkgdesc="Automated Reasoning Engine and Flow Based Programming Framework"
url="https://github.com/ioflo/ioflo"
arch="noarch"
license="MIT"
replaces="py-ioflo" # for backwards compatibility
provides="py-ioflo=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="py3-setuptools-git"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	# keep ioflo and remove ioflo3
	rm -f "$pkgdir"/usr/bin/ioflo3
}

sha512sums="a7aeb7561b368e7020c39c92691e7c53dc83835d472a0a357ce9686b70af1fec0ad1a4e155a4777e90b242582a05df6e9bb27f8f2ee26e1916dbf39483f61e9f  ioflo-1.7.5.tar.gz"