mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
41 lines
1 KiB
Text
41 lines
1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-pymoo
|
|
_pkgorig=pymoo
|
|
pkgver=0.6.0.1
|
|
pkgrel=0
|
|
pkgdesc="Multi-objective Optimization in Python"
|
|
url="https://pymoo.org/"
|
|
# s390x: py3-dill missing
|
|
arch="all !s390x"
|
|
license="Apache-2.0"
|
|
depends="
|
|
python3
|
|
py3-alive-progress
|
|
py3-autograd
|
|
py3-cma
|
|
py3-dill
|
|
py3-matplotlib
|
|
py3-numpy
|
|
py3-scipy
|
|
"
|
|
makedepends="cython py3-setuptools py3-wheel py3-gpep517"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/anyoptimization/pymoo/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
options="!check" # some dependencies are not available | will work on it
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
520eb8ff29a12fecf8f4e20cf7fbe83003a47416617b9b4c5dc103592b908e020e77a247cee610050a9442a2b665f62f0723327676a71bd682783147ab0286d1 pymoo-0.6.0.1.tar.gz
|
|
"
|