1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/py3-evoopt/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

31 lines
900 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-evoopt
_pkgorig=EvoOpt
pkgver=0.14
pkgrel=0
pkgdesc="Python implementation of meta-heuristic and evolutionary optimisation algorithms"
url="https://github.com/tsyet12/EvoOpt"
arch="noarch"
license="BSD-2-Clause"
options="!check" # no tests provided by the upstream
depends="
python3
py3-numpy
py3-matplotlib
"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/E/EvoOpt/EvoOpt-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
07722aa5aef504fbf39804aa46519f68efbeecbfe9fb5556d90a613f50e832969dc63103ec1bed63960c1a1cc423509f4519a6ec65016d879eefd4b3e5f420b4 py3-evoopt-0.14.tar.gz
"