mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-30 07:51:58 +01: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
34 lines
997 B
Plaintext
34 lines
997 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-deap
|
|
_pkgorig=deap
|
|
pkgver=1.3.3
|
|
pkgrel=1
|
|
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-setuptools"
|
|
checkdepends="py3-nose py3-coverage"
|
|
source="https://github.com/DEAP/deap/archive/$pkgver/$_pkgorig-$pkgver.tar.gz
|
|
exclude-tests.patch"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
nosetests -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9cc5687c95c5404e9f31aca52b4f5d2724c48fbde338e6790c8b0b9e134fbcd8ea91ad35ae0b05f5d2271caa27b2a1dd398b582813d6721fcd2cbd46ee26065b deap-1.3.3.tar.gz
|
|
25c3f6a89efa2c3fe82e2d634789aea8618420b16922bb6c4f914feb4d67cd876d9e49d4ddcb7e4389fdc80c199ec787fc45dd3135bf596694b23833e3b48052 exclude-tests.patch
|
|
"
|