[arch-commits] Commit in python-ptable/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:21:55 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:21:55
  Author: felixonmars
Revision: 1058111

archrelease: copy trunk to community-staging-any

Added:
  python-ptable/repos/community-staging-any/
  python-ptable/repos/community-staging-any/PKGBUILD
    (from rev 1058105, python-ptable/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-ptable/repos/community-staging-any/PKGBUILD (from rev 1058105, python-ptable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:21:55 UTC (rev 1058111)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-ptable
+pkgver=0.9.2.20180730
+_commit=bcfdb92811ae1f39e1065f31544710bf87d3bc21
+pkgrel=6
+pkgdesc="A simple Python library for easily displaying tabular data in a visually appealing ASCII table format"
+url="https://github.com/kxxoling/PTable"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$_commit.tar.gz::https://github.com/kxxoling/PTable/archive/$_commit.tar.gz")
+sha512sums=('1f066c85b61d0b370c4da509db2e07d40b573b7f3c4388036dee2fc03c82bcaecbb2871fca1c7760479e072b172bf0ace0543caec38f0d7a58322bb4b4fafd20')
+
+build() {
+  cd PTable-$_commit
+  python setup.py build
+}
+
+check() {
+  cd PTable-$_commit
+  python setup.py nosetests
+}
+
+package() {
+  cd PTable-$_commit
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list