summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68e9acb6ead46f1a93e1aa4f6ce91e76d97f051b (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
# Maintainer: matt quintanilla <matt @ matt quintanilla . xyz>
pkgname=python-dashtable2
_pkgname=dash-table2
pkgver=1.4.17
_tarname=dashtable2-$pkgver
pkgrel=1
pkgdesc="A library for converting HTML/Markdown/RST tables into ASCII tables and vice versa, rowspan and colspan allowed!"
arch=(any)
url="https://github.com/PasaOpasen/dashtable2"
license=(MIT)
depends=('python-beautifulsoup4' 'python-docutils' 'python-typing_extensions' 'python-numpy')
makedepends=(python-setuptools python-{build,installer,wheel})


source=("$_tarname.tar.gz::$url/archive/$pkgver.zip")
build() {
	cd $_tarname
	python -m build -wn
}

package() {
	cd $_tarname
	install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$_pkgname/"
	python -m installer -d "$pkgdir" dist/*.whl
}
sha256sums=('11e793f33856b120f0063dc4549262686e3a8595d9e049ed3242b8aaf8021332')