blob: b5b99f9de37f94aa5a466c84e259cfdddf07cdc2 (
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
|
# Maintainer: Ivan Batrakov <blackfan321 at disroot dot org>
# Contributor: Philipp A. <flying-sheep@web.de>
_name=yte
pkgname=python-$_name
pkgver=1.9.4
pkgrel=1
pkgdesc='YAML template engine with Python expressions'
arch=(any)
url=https://github.com/yte-template-engine
license=(MIT)
depends=(python-argparse_dataclass python-dpath python-pyyaml)
makedepends=(python-uv-build python-build python-installer python-wheel)
source=($_name-$pkgver.tar.gz::$url/yte/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('b55072f942bfbaa37bcf67455201c14be0ff9f3f85c267bb95c39a9515cc3647')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|