mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 00:34:41 +02:00
36 lines
930 B
Text
36 lines
930 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer:
|
|
pkgname=py3-deap
|
|
_pkgorig=deap
|
|
pkgver=1.4.1
|
|
pkgrel=3
|
|
pkgdesc="Distributed Evolutionary Algorithms in Python"
|
|
url="https://github.com/DEAP/deap"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
depends="python3 py3-numpy py3-matplotlib"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="py3-nose2 py3-coverage"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/DEAP/deap/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
options="!check" # 4 tests fail in new version | skip for now
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
nose2 -v
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
1683da645ad6d49dda8aceefe3e9f3b6953c99bcd0b1a356d02052fd2cc6c5c53f3af64d1eb8357e4b319b27a2fab693b6e3afc1a8ff9714fe4abb97566cc8a6 deap-1.4.1.tar.gz
|
|
"
|