[arch-commits] Commit in python-tabview/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Aug 13 11:41:10 UTC 2021
Date: Friday, August 13, 2021 @ 11:41:10
Author: felixonmars
Revision: 997965
archrelease: copy trunk to community-any
Added:
python-tabview/repos/community-any/
python-tabview/repos/community-any/PKGBUILD
(from rev 997964, python-tabview/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-tabview/repos/community-any/PKGBUILD (from rev 997964, python-tabview/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-08-13 11:41:10 UTC (rev 997965)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tabview
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="A curses command-line CSV and list (tabular data) viewer"
+url="https://github.com/TabViewer/tabview"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('expect')
+source=("https://github.com/TabViewer/tabview/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('8ce8957d209f9bdf447341523ca457bc878f7195536a8e8a1259999bfa00571ce62bda617001e49cf31fade1c106a8e34647c9d7f9dc25be38b0cf6832ed136f')
+
+build() {
+ cd tabview-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tabview-$pkgver
+ unbuffer python -m unittest discover
+}
+
+package() {
+ cd tabview-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list