[arch-commits] Commit in python-cvxopt/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Mar 7 22:09:33 UTC 2022


    Date: Monday, March 7, 2022 @ 22:09:33
  Author: arojas
Revision: 1145175

Update to 1.3.0

Modified:
  python-cvxopt/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-07 22:02:27 UTC (rev 1145174)
+++ PKGBUILD	2022-03-07 22:09:33 UTC (rev 1145175)
@@ -6,20 +6,20 @@
 # Contributor: Gustavao A. Gomez Farhat <gustavo_gomez_farhat_at_gmail_dot_com>
 
 pkgname=python-cvxopt
-pkgver=1.2.8
+pkgver=1.3.0
 pkgrel=1
 pkgdesc='A free software package for convex optimization written in Python'
 url='https://cvxopt.org/'
-arch=('x86_64')
+arch=(x86_64)
 license=(GPL3)
 depends=(python suitesparse)
-makedepends=(gsl fftw glpk dsdp python-setuptools suitesparse)
+makedepends=(gsl fftw glpk dsdp suitesparse python-build python-installer python-setuptools python-wheel)
 optdepends=('gsl: for custom random number generators'
             'fftw: for FFTW interface'
             'glpk: solver for linear cone and PWL programming problems'
             'dsdp: solver for linear cone semidefinite programming problems')
 source=(https://github.com/cvxopt/cvxopt/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('c5451d5dd3b0614585b4d3eec36ed829f16eb1342abc37c7b70c6cf7a3823d77')
+sha256sums=('7aac94a116b7142a5f362e567c4b6c3b7c67b04b4a6a2a3c3b90b4c9f0ac74e1')
 
 build() {
   cd cvxopt-$pkgver
@@ -27,10 +27,10 @@
   for lib in GSL FFTW GLPK DSDP; do
     eval "export $'CVXOPT_BUILD_$lib'=1"
   done
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd cvxopt-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



More information about the arch-commits mailing list