Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-clarabel
Commits: 2ca25f6f by Antonio Rojas at 2024-02-12T08:48:49+01:00 upgpkg: 0.6.0.post1-1: Update to 0.6.0.post1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-clarabel pkgdesc = Interior-point solver for convex conic optimisation problems - pkgver = 0.6.0 - pkgrel = 2 + pkgver = 0.6.0.post1 + pkgrel = 1 url = https://github.com/oxfordcontrol/Clarabel.rs arch = x86_64 license = Apache @@ -11,7 +11,7 @@ pkgbase = python-clarabel makedepends = rust depends = gcc-libs depends = glibc - source = https://pypi.python.org/packages/source/c/clarabel/clarabel-0.6.0.tar.gz - sha256sums = ef909a393e72981ca10b1d866d9cc7fb6295ece20ae035def764338894961184 + source = https://github.com/oxfordcontrol/Clarabel.rs/archive/v0.6.0.post1/clarabel-0.6.0.post1.tar.gz + sha256sums = a10d3636a9424b25221a0cf12f8f65427e95c5b305d8855970f97b2fd3c9561b pkgname = python-clarabel ===================================== PKGBUILD ===================================== @@ -2,8 +2,8 @@ _pyname=clarabel pkgname=python-$_pyname -pkgver=0.6.0 -pkgrel=2 +pkgver=0.6.0.post1 +pkgrel=1 pkgdesc='Interior-point solver for convex conic optimisation problems' arch=(x86_64) url='https://github.com/oxfordcontrol/Clarabel.rs' @@ -14,21 +14,22 @@ makedepends=(python-build python-installer python-maturin rust) -source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz) -sha256sums=('ef909a393e72981ca10b1d866d9cc7fb6295ece20ae035def764338894961184') +source=(https://github.com/oxfordcontrol/Clarabel.rs/archive/v$pkgver/$_pyname-$pkgver.tar.gz) +sha256sums=('a10d3636a9424b25221a0cf12f8f65427e95c5b305d8855970f97b2fd3c9561b') prepare() { - cd $_pyname-$pkgver + cd Clarabel.rs-$pkgver + cargo generate-lockfile # https://github.com/oxfordcontrol/Clarabel.rs/pull/64 cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { - cd $_pyname-$pkgver + cd Clarabel.rs-$pkgver python -m build --wheel --no-isolation } package() { - cd $_pyname-$pkgver + cd Clarabel.rs-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-clarabel/-/commit/2ca25f6fd5399c35b15c1bfcc5a3f3b82464d5c7 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-clarabel/-/commit/2ca25f6fd5399c35b15c1bfcc5a3f3b82464d5c7 You're receiving this email because of your account on gitlab.archlinux.org.