blob: 7790b9f3424e138f6f1e29ad50dc69254829e480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-opytimizer
_pkgorig=opytimizer
pkgver=3.1.2
pkgrel=2
pkgdesc="A Python library consisting of nature-inspired meta-heuristic optimization algorithms"
url="https://github.com/gugarosa/opytimizer"
arch="noarch !s390x" #py3-dill
license="Apache-2.0"
depends="
python3
py3-dill
py3-matplotlib
py3-networkx
py3-numpy
py3-opytimark
py3-tqdm
"
makedepends="py3-setuptools"
checkdepends="py3-pytest xvfb-run"
source="https://github.com/gugarosa/opytimizer/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
check() {
xvfb-run -a python3 -m pytest -k 'not plot'
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
d1f762ae3f6f50d580c254414a4a9986b4062fb5b14199ea1cb99bbdaf7edf22cfcddfe832caf58baae5b5dc1570edb0656bd0fda7ecb506bdabedfb2ae28038 opytimizer-3.1.2.tar.gz
"
|