aports/community/py3-leap_ec/APKBUILD
2023-05-10 11:01:24 +02:00

47 lines
1.1 KiB
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-leap_ec
pkgver=0.8.0
pkgrel=1
pkgdesc="A general purpose Library for Evolutionary Algorithms in Python"
url="https://github.com/AureumChaos/LEAP"
arch="noarch"
license="AFL-3.0"
depends="
python3
py3-dask
py3-distributed
py3-docopt
py3-matplotlib
py3-networkx
py3-numpy
py3-pandas
py3-rich
py3-scipy
py3-toolz
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
subpackages="$pkgname-pyc"
source="https://github.com/AureumChaos/LEAP/archive/$pkgver/LEAP-$pkgver.tar.gz
257.patch"
builddir="$srcdir/LEAP-$pkgver"
options="!check" # missing dependencies | skip for now
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
f57282a6c466fedfd8b70a04eb228fba9f4bc4151cbc8d3d65e85e4563217c4777697eede08d6e0fe4bafc893c09043d4df4a77796f52880689491e68758b052 LEAP-0.8.0.tar.gz
eb101c6e12629f3dee829e63374077af9457de43bdc870e4fd54d7897e419b75ea7dd96c1044d817390426a7059e9b726e6f64494036d8db7ce8137fba11a91f 257.patch
"