From 95eab24d11e27009fbdfe7a97b3490b0873e08a6 Mon Sep 17 00:00:00 2001
From: ptrcnull <git@ptrcnull.me>
Date: Thu, 6 Apr 2023 21:43:14 +0200
Subject: [PATCH] testing/py3-scs: upgrade to 3.2.3

---
 testing/py3-scs/APKBUILD | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/testing/py3-scs/APKBUILD b/testing/py3-scs/APKBUILD
index 9b1483e41bc5..39ecab45660d 100644
--- a/testing/py3-scs/APKBUILD
+++ b/testing/py3-scs/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Anjandev Momi <anjan@momi.ca>
 # Maintainer: Anjandev Momi <anjan@momi.ca>
 pkgname=py3-scs
-pkgver=3.2.2
-pkgrel=1
+pkgver=3.2.3
+pkgrel=0
 pkgdesc="C package that solves convex cone problems via operator splitting"
 url="https://github.com/cvxgrp/scs"
 arch="all"
@@ -12,16 +12,14 @@ makedepends="py3-setuptools py3-numpy-dev"
 checkdepends="py3-pytest"
 source="scs-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/scs/scs-$pkgver.tar.gz"
 builddir="$srcdir/scs-$pkgver"
-options="!check" # upstream tests broken
+options="!check" # Cannot solve SDPs without linked blas+lapack libraries
 
 build() {
 	python3 setup.py build
 }
 
 check() {
-	python3 setup.py build_ext --inplace
-	cp src/__init__.py scs
-	PYTHONPATH=. pytest
+	PYTHONPATH=$(echo build/lib*) pytest
 }
 
 package() {
@@ -29,5 +27,5 @@ package() {
 }
 
 sha512sums="
-412b1ac34e805a46bd5dc25a0bcef29751a46a6617d8fc4db14c3b80f7ff09dd2c5dcde5910ab5770578841432f3a03815ca8c65f44e6ef150db2c4960010c56  scs-3.2.2.tar.gz
+9b3bef40f34fc9350444e2bd56602def10d2fedd6efd0c78eceacfba2f8276bfd16cd7e8a479cd9431c55f5efe65f6869d2d9ecb5dc6450801dd371f802ff3a9  scs-3.2.3.tar.gz
 "
-- 
GitLab