Date: Wednesday, May 10, 2023 @ 17:42:55
  Author: arojas
Revision: 1459799

upgpkg: python-cvxopt 1.3.1-1: Update to 1.3.1

Modified:
  python-cvxopt/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-10 17:15:58 UTC (rev 1459798)
+++ PKGBUILD    2023-05-10 17:42:55 UTC (rev 1459799)
@@ -6,20 +6,20 @@
 # Contributor: Gustavao A. Gomez Farhat <gustavo_gomez_farhat_at_gmail_dot_com>
 
 pkgname=python-cvxopt
-pkgver=1.3.0
-pkgrel=3
+pkgver=1.3.1
+pkgrel=1
 pkgdesc='A free software package for convex optimization written in Python'
 url='https://cvxopt.org/'
 arch=(x86_64)
 license=(GPL3)
 depends=(python suitesparse)
-makedepends=(gsl fftw glpk dsdp python-build python-installer 
python-setuptools python-wheel)
+makedepends=(gsl fftw glpk dsdp python-build python-installer 
python-setuptools-scm 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=('7aac94a116b7142a5f362e567c4b6c3b7c67b04b4a6a2a3c3b90b4c9f0ac74e1')
+sha256sums=('07df1db31ffde5ef57fc09da50185904f3a63154d8aa7f7b25b2c989c6dc8d41')
 
 build() {
   cd cvxopt-$pkgver
@@ -27,6 +27,7 @@
   for lib in GSL FFTW GLPK DSDP; do
     eval "export $'CVXOPT_BUILD_$lib'=1"
   done
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \
   python -m build --wheel --no-isolation
 }
 

Reply via email to