mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
31 lines
921 B
Text
31 lines
921 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-niapy
|
|
_pkgorig=NiaPy
|
|
pkgver=2.0.4
|
|
pkgrel=1
|
|
pkgdesc="Python micro framework for building nature-inspired algorithms."
|
|
url="https://niapy.org"
|
|
arch="noarch !riscv64" # py3-matplotlib
|
|
license="MIT"
|
|
depends="python3 py3-numpy py3-pandas py3-openpyxl py3-matplotlib"
|
|
checkdepends="python3-dev py3-pytest py3-pytest-xdist"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/NiaOrg/NiaPy/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -n $JOBS
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
d74a528f1d0c79c5593054c958c5c450054f87bd9be12891ff373783040dbf643024bc32f9b40330d1bd0e6d5c920414c415ec1e832cccd25e81010a738f4678 py3-niapy-2.0.4.tar.gz
|
|
"
|