aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-rich/APKBUILD
blob: 0cf042e8abce1d428eb30bac531a5d8fb73cb27c (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-rich
_pkgname=rich
pkgver=9.8.2
pkgrel=0
pkgdesc="Python library for rich text formatting and terminal formatting"
options="!check" # Testsuite not present in pypi tarball and uses poetry
url="https://rich.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="
	py3-colorama
	py3-commonmark
	py3-pygments
	py3-typing-extensions
	"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d3ddecab0fcd9f6bc1d820713332f085c3ed857ffaf062701b8bbf2d5d89f1dc8f6d24af42db4a620fd3a29d9d82ebf74ac6648d65e9b197950a76bf94851c14  rich-9.8.2.tar.gz"