summaryrefslogtreecommitdiff
path: root/opcut/PKGBUILD
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2023-12-29 21:45:08 +0100
committerbozo.kopic <bozo@kopic.xyz>2023-12-29 21:45:08 +0100
commitfd7675f4ee6a67db5f88da7ae7cf46b8fa5bedbc (patch)
tree71840aeb53c51ad30b5a7510f79b783684ef427a /opcut/PKGBUILD
parentfa1dacca0175d555100221b20bf450b1d796456b (diff)
.
Diffstat (limited to 'opcut/PKGBUILD')
-rw-r--r--opcut/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/opcut/PKGBUILD b/opcut/PKGBUILD
index ff3b07a..f962f7a 100644
--- a/opcut/PKGBUILD
+++ b/opcut/PKGBUILD
@@ -1,24 +1,24 @@
# Maintainer: Bozo Kopic <bozo@kopic.xyz>
pkgname=opcut
-pkgver=0.4.9
+pkgver=0.4.10
pkgrel=1
pkgdesc="Cutting stock problem optimizer"
url="https://github.com/bozokopic/opcut"
license=('GPL3')
arch=('x86_64' 'armv7l' 'aarch64')
depends=('python-aiohttp' 'python-hat-aio' 'python-hat-json' 'python-cairo')
-makedepends=('python-hat-doit' 'python-installer' 'yarn')
+makedepends=('python-build' 'python-hat-doit' 'python-installer' 'yarn')
source=("https://github.com/bozokopic/opcut/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('965303a6b69b5cfa5070abb8ae6d4a41e46148b987a3b0f658d997d8c580b20a')
+sha256sums=('cc6daaa378bf6c8e2790842749ff52705c8660dff41b0b1bfd44480f0b13336a')
build() {
cd "$srcdir/$pkgname-$pkgver"
- SKIP_CROSS_COMPILE=1 python -m doit
+ python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- python -m installer --destdir="$pkgdir" build/py/dist/*.whl
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}