aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-fann2/APKBUILD
blob: 16c9c8f6f59076c4b26fa89ddd12d0cd1b32b8bb (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-fann2
pkgver=1.2.0
pkgrel=0
pkgdesc="Python bindings for Fast Artificial Neural Networks 2.2.0"
url="https://github.com/FutureLinkCorporation/fann2"
arch="all"
license="LGPL-2.1-only"
depends="python3"
makedepends="py3-setuptools fann-dev swig python3-dev"
subpackages="$pkgname-dev"
source="https://github.com/FutureLinkCorporation/fann2/archive/$pkgver/fann2-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/fann2-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="6bdb661a6c48666e2d87edee9fa6c830af2fd73c8a4e3d93ef1411084a70aac27a87637e780e0c1f6c95e8ef5ae2b4c718a5d583fda1f9aeaf64490144ec9abe  fann2-1.2.0.tar.gz"