[arch-commits] Commit in python-cvxopt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Mar 7 22:09:47 UTC 2022
Date: Monday, March 7, 2022 @ 22:09:47
Author: arojas
Revision: 1145176
archrelease: copy trunk to community-x86_64
Added:
python-cvxopt/repos/community-x86_64/PKGBUILD
(from rev 1145175, python-cvxopt/trunk/PKGBUILD)
Deleted:
python-cvxopt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-07 22:09:33 UTC (rev 1145175)
+++ PKGBUILD 2022-03-07 22:09:47 UTC (rev 1145176)
@@ -1,36 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: BinkyTheClown <binky_at_archlinux_dot_us>
-# Contributor: Julien Ugon <bzklrm at gmail dot com>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Gustavao A. Gomez Farhat <gustavo_gomez_farhat_at_gmail_dot_com>
-
-pkgname=python-cvxopt
-pkgver=1.2.8
-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-setuptools suitesparse)
-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')
-
-build() {
- cd cvxopt-$pkgver
-
- for lib in GSL FFTW GLPK DSDP; do
- eval "export $'CVXOPT_BUILD_$lib'=1"
- done
- python setup.py build
-}
-
-package() {
- cd cvxopt-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
Copied: python-cvxopt/repos/community-x86_64/PKGBUILD (from rev 1145175, python-cvxopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-07 22:09:47 UTC (rev 1145176)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: BinkyTheClown <binky_at_archlinux_dot_us>
+# Contributor: Julien Ugon <bzklrm at gmail dot com>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Gustavao A. Gomez Farhat <gustavo_gomez_farhat_at_gmail_dot_com>
+
+pkgname=python-cvxopt
+pkgver=1.3.0
+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 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=('7aac94a116b7142a5f362e567c4b6c3b7c67b04b4a6a2a3c3b90b4c9f0ac74e1')
+
+build() {
+ cd cvxopt-$pkgver
+
+ for lib in GSL FFTW GLPK DSDP; do
+ eval "export $'CVXOPT_BUILD_$lib'=1"
+ done
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd cvxopt-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list