1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/py3-fireflyalgorithm/APKBUILD
2022-03-16 10:50:40 +00:00

31 lines
909 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-fireflyalgorithm
_pkgorig=FireflyAlgorithm
pkgver=0.3
pkgrel=0
pkgdesc="Implementation of Firefly Algorithm for optimization in Python"
url="https://github.com/firefly-cpp/FireflyAlgorithm"
arch="noarch"
license="MIT"
depends="python3 py3-numpy"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/f/fireflyalgorithm/FireflyAlgorithm-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
5485c28a39f70b5bba3450f5ad418a2bb91f777183fa7e6ec131820397592192567fe691858b1dce7fb7228939ee2b1c86ec1a247cbbbf4a3ac29754703fdb9c py3-fireflyalgorithm-0.3.tar.gz
"