mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03: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
31 lines
985 B
Text
31 lines
985 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-mealpy
|
|
pkgver=2.5.1
|
|
pkgrel=1
|
|
pkgdesc="Meta-Heuristic Algorithms using Python"
|
|
url="https://github.com/thieu1995/mealpy"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="python3 py3-numpy py3-matplotlib py3-opfunu py3-scipy"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/m/mealpy/mealpy-$pkgver.tar.gz"
|
|
builddir="$srcdir/mealpy-$pkgver"
|
|
options="!check" #several tests are failing during collection | reported to the upstream
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -k "not test_HC"
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
68d27404a8c6b49f7ada855cebb8d56ceb38bb53a5aa43fc82c64d699b764df34bc056fdef6d7e1938edd9590a04367d3f4000f351488b1e500b0125cbb7d213 py3-mealpy-2.5.1.tar.gz
|
|
"
|