mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 10:45:15 +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
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-scikit-opt
|
|
pkgver=0.6.6
|
|
pkgrel=1
|
|
pkgdesc="Swarm Intelligence in Python"
|
|
url="https://github.com/guofei9987/scikit-opt"
|
|
arch="noarch !x86" # AssertionErrors
|
|
license="MIT"
|
|
depends="python3 py3-numpy py3-scipy"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/scikit-opt/scikit-opt-$pkgver.tar.gz
|
|
do-not-install-tests.patch"
|
|
builddir="$srcdir/scikit-opt-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b71813b0be3345cffe394e2f822edbe108cecec21308a4a8a46763f41237178d7b7a74a2a2fb9747ae51e04e0b44c933ede8c5885e5762ad53fbec37d232c5f9 py3-scikit-opt-0.6.6.tar.gz
|
|
488a2eefbd52e9b1c4a38e42d8dc6980db5fba1ef690a62fe594ecdd1675fe7c193576cbacea452c9ffc8a7b792a225a3e4ca12f073276db77dd0050155e43f3 do-not-install-tests.patch
|
|
"
|