diff options
| author | Bart Ribbers <bribbers@disroot.org> | 2020-03-27 17:54:14 +0100 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-06 20:36:43 +0000 |
| commit | e0e1ed08aa7a4b60fb4b00615cdc429c843956c1 (patch) | |
| tree | eb8f81e0d84a2ffc6f9435d8a0b578beb0a674a9 /testing | |
| parent | 634cb2c6329725a792b2f78257ac6c3115187be1 (diff) | |
| download | aports-e0e1ed08aa7a4b60fb4b00615cdc429c843956c1.tar.bz2 aports-e0e1ed08aa7a4b60fb4b00615cdc429c843956c1.tar.xz | |
testing/py3-fann2: new aport
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-fann2/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-fann2/APKBUILD b/testing/py3-fann2/APKBUILD new file mode 100644 index 0000000000..1d5951eebb --- /dev/null +++ b/testing/py3-fann2/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=py3-fann2 +pkgver=1.0.7 +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://pypi.python.org/packages/source/f/fann2/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="6080929838dd605897f392c55b18a431944718443a125c60f2d2eebffedb3f45ab955665a377f916f78430fc3a9fc58b2e99a7fd151ed1e553413e40851cf971 fann2-1.0.7.tar.gz" |
