diff options
author | Misaka13514 | 2024-01-27 13:38:08 +0800 |
---|---|---|
committer | Misaka13514 | 2024-01-27 13:38:08 +0800 |
commit | 040478dbe59da8a93d9720fbe9d0e4483e97fae3 (patch) | |
tree | a8d5d43744ed51c5f900c0bf1367d77a4c7fe04d | |
parent | 688240282c471372e13334a2e76b4ec9e59b31e2 (diff) | |
download | aur-040478dbe59da8a93d9720fbe9d0e4483e97fae3.tar.gz |
fix python packages
upgpkg: python-ite8291r3-ctl-git r22.d2c490a-4
upgpkg: python-largestinteriorrectangle 0.2.0-5
upgpkg: python-lzf 0.2.4-5
upgpkg: python-rdbtools 0.1.15-4
upgpkg: python-stitching 0.5.3-5
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-largestinteriorrectangle pkgdesc = Largest Interior/Inscribed Rectangle implementation in Python pkgver = 0.2.0 - pkgrel = 4 + pkgrel = 5 url = https://github.com/OpenStitching/lir arch = any license = Apache-2.0 @@ -2,8 +2,9 @@ pkgname=python-largestinteriorrectangle _name=${pkgname#python-} +_shortname=lir pkgver=0.2.0 -pkgrel=4 +pkgrel=5 pkgdesc="Largest Interior/Inscribed Rectangle implementation in Python" arch=('any') url="https://github.com/OpenStitching/lir" @@ -14,11 +15,11 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('ffac62a19b9fdb581c74ae4b8e96834d0baef847cce75443c78feeff1d1045ce') build() { - cd "$_name-$pkgver" + cd "$_shortname-$pkgver" python -m build --wheel --no-isolation } package() { - cd "$_name-$pkgver" + cd "$_shortname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl } |