summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f62c40473bd7ab4eeba57415fc9e7c79add48465 (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
# Maintainer: Ivan Batrakov <blackfan321 at disroot dot org>
# Contributor: Philipp A. <flying-sheep@web.de>

_name=yte
pkgname=python-$_name
pkgver=1.5.4
pkgrel=1
pkgdesc='YAML template engine with Python expressions'
arch=(any)
url="https://github.com/koesterlab/$_name"
license=(MIT)
depends=(python-dpath python-plac python-pyyaml)
makedepends=(python-poetry-core python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('d2d77e53eafca74f58234fcd3fea28cc0a719e4f3784911511e35e86594bc880')

build() {
	cd "$_name-$pkgver"
	python -m build --wheel --no-isolation
}

package() {
	cd "$_name-$pkgver"
	python -m installer --destdir="$pkgdir" dist/*.whl
}