upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-tabview / trunk / PKGBUILD
blob1b43244b443d0b33ab190ceb2c2ff7b0efeae303
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-tabview
4 pkgver=1.4.4
5 pkgrel=3
6 pkgdesc="A curses command-line CSV and list (tabular data) viewer"
7 url="https://github.com/TabViewer/tabview"
8 license=('MIT')
9 arch=('any')
10 depends=('python')
11 makedepends=('python-setuptools')
12 checkdepends=('expect')
13 source=("https://github.com/TabViewer/tabview/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('8ce8957d209f9bdf447341523ca457bc878f7195536a8e8a1259999bfa00571ce62bda617001e49cf31fade1c106a8e34647c9d7f9dc25be38b0cf6832ed136f')
16 build() {
17   cd tabview-$pkgver
18   python setup.py build
21 check() {
22   cd tabview-$pkgver
23   unbuffer python -m unittest discover
26 package() {
27   cd tabview-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1
30   install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/