[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Aug 17 06:41:52 UTC 2018


    Date: Friday, August 17, 2018 @ 06:41:51
  Author: felixonmars
Revision: 372140

addpkg: python-ptable 0.9.2.20180730-1

Added:
  python-ptable/
  python-ptable/repos/
  python-ptable/trunk/
  python-ptable/trunk/PKGBUILD

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

Added: python-ptable/trunk/PKGBUILD
===================================================================
--- python-ptable/trunk/PKGBUILD	                        (rev 0)
+++ python-ptable/trunk/PKGBUILD	2018-08-17 06:41:51 UTC (rev 372140)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-ptable
+pkgver=0.9.2.20180730
+_commit=bcfdb92811ae1f39e1065f31544710bf87d3bc21
+pkgrel=1
+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
+}


Property changes on: python-ptable/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list