blob: 386b19f28f9197c771ac5b8c70d069f7ea3a37d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: TheFeelTrain <the@feeltra.in>
pkgname=vsview-cli
_origpkgname=vsview_cli
pkgver=1.1.0
pkgrel=1
pkgdesc='Internal Rust-based CLI module for VSView.'
arch=('x86_64')
url='https://pypi.org/project/vsview-cli'
license=('Unlicense')
depends=(
'python'
)
makedepends=(
'python-build'
'python-hatchling'
'python-installer'
'python-setuptools'
'python-versioningit'
'python-wheel'
'python-maturin'
)
source=("https://files.pythonhosted.org/packages/source/v/${_origpkgname}/${_origpkgname}-${pkgver}.tar.gz")
sha256sums=('b119bdb559f64bd340afa8f6d0ab63d20cb2a01dc34e8e343391d8862558752b')
package() {
cd "${_origpkgname}-${pkgver}" || exit
python -m build --wheel --no-isolation
python -m installer --destdir="$pkgdir" dist/*.whl
rm -rf "$pkgdir"/usr/lib/python*/site-packages/*.dist-info/sboms
}
|