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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 19:59:35 UTC 2019


    Date: Friday, October 25, 2019 @ 19:59:34
  Author: foutrelis
Revision: 519669

archrelease: copy trunk to community-staging-any

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

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

Copied: python-texttable/repos/community-staging-any/PKGBUILD (from rev 519666, python-texttable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 19:59:34 UTC (rev 519669)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yen Chi Hsuan <yan12125 at gmail.com>
+# Contributor: rich_o <rich_o at lavabit.com>
+# Contributor: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: Daniel YC Lin <dlin.tw at gmail>
+
+pkgname=python-texttable
+pkgver=1.6.2
+pkgrel=2
+pkgdesc="Generate a formatted text table using ASCII characters"
+arch=('any')
+url="https://pypi.python.org/pypi/texttable/"
+license=('LGPL')
+depends=('python')
+optdepends=('python-cjkwrap: for better CJK support')
+makedepends=('python-cjkwrap' 'python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/foutaise/texttable/archive/v$pkgver.tar.gz")
+sha512sums=('e59275c64813bd00fa5172c43491820122b6045e1a416c917576cbf595c1ec24d146e571708379f4b32775bda904f16ced0e9e15ab7b2dde78a214f26a1c4de6')
+
+build() {
+  cd texttable-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd texttable-$pkgver
+  pytest tests.py
+}
+
+package() {
+  cd texttable-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list