blob: ed297bc98e6521249d9c49dabe350aef8a3699b4 (
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
32
33
34
35
|
# Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>
pkgname=python-tyro
_pkgname=${pkgname#python-}
pkgver=0.9.5
pkgrel=1
pkgdesc='Strongly typed, zero-effort CLI interfaces'
arch=('any')
url='https://github.com/brentyi/tyro'
license=('MIT')
groups=()
depends=(
'python-colorama'
'python-docstring-parser'
'python-rich'
'python-shtab'
'python-typeguard'
'python-typing_extensions'
)
makedepends=('python-build' 'python-installer' 'python-hatchling'
'python-wheel')
optdepends=()
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('603394388a0f6240f23bde18b21c98263b9c8afd0e54e8ef70198e874231a13e')
build() {
python -m build -nw $srcdir/$_pkgname-$pkgver
}
package() {
python -m installer \
--compile-bytecode 1 \
--destdir $pkgdir \
$srcdir/$_pkgname-$pkgver/dist/$_pkgname-$pkgver-*-*.whl
}
|