1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-inspyred/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

32 lines
989 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-inspyred
_pkgorig=inspyred
_commit=5fa8224f0c81c74e3c6183457f760af854ad72fb
pkgver=1.0.1
pkgrel=2
pkgdesc="A framework for creating bio-inspired computational intelligence algorithms in Python"
url="https://github.com/aarongarrett/inspyred"
arch="noarch"
license="MIT"
depends="python3 py3-numpy py3-matplotlib py3-click"
makedepends="py3-setuptools"
checkdepends="python3-dev py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/aarongarrett/$_pkgorig/archive/$_commit/$_pkgorig-$_commit.tar.gz"
builddir="$srcdir/$_pkgorig-$_commit"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
85111498c90f16d5f1124743168f68eaab3495809c40cac6b8530b08e47652045cc8ad043657f77b172561f7e570d5f42594adc702d960df6e992d6769baeeba py3-inspyred-1.0.1.tar.gz
"