summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76c9217914e7915578ab0f18d7326e62aa0e9625 (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
# Maintainer: Zhuoyun Wei <wzyboy at wzyboy dot org>
# Contributor: AlphaJack <alphajack at tuta dot io>
# Contributor: Matthew Gamble <git@matthewgamble.net>
# Contributor: Nathan Owens <ndowens @ artixlinux.org>
# Contributor: carstene1ns <arch carsten-teibes de>

pkgname=python-tatsu-lts
_name="tatsu"
pkgver=5.13.1
pkgrel=1
pkgdesc="TatSu-LTS is a friendly fork of TatSu that guarantees compatibility with all supported versions of Python."
arch=("any")
url="https://github.com/dnicolodi/TatSu-LTS"
license=("BSD")
depends=("python")
conflicts=("python-tatsu")
optdepends=("python-colorama" "python-rich")
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
b2sums=('c5542b536abfb21a925b62296a1885334d41d6f79871883a5f19724644c8244f7fba783a4274685268cc4b3bd6ed943d35c301ad9a1a1ccbffc81ee8b51699b6')

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

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