# Contributor: Anjandev Momi # Maintainer: Anjandev Momi pkgname=py3-scs pkgver=3.2.3 pkgrel=1 pkgdesc="C package that solves convex cone problems via operator splitting" url="https://github.com/cvxgrp/scs" arch="all" license="MIT" depends="python3 py3-numpy py3-scipy" makedepends="py3-setuptools py3-numpy-dev" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="scs-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/scs/scs-$pkgver.tar.gz" builddir="$srcdir/scs-$pkgver" options="!check" # Cannot solve SDPs without linked blas+lapack libraries build() { python3 setup.py build } check() { PYTHONPATH=$(echo build/lib*) pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 9b3bef40f34fc9350444e2bd56602def10d2fedd6efd0c78eceacfba2f8276bfd16cd7e8a479cd9431c55f5efe65f6869d2d9ecb5dc6450801dd371f802ff3a9 scs-3.2.3.tar.gz "