[arch-commits] Commit in python-texttable/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 4 02:39:44 UTC 2018
Date: Thursday, January 4, 2018 @ 02:39:39
Author: felixonmars
Revision: 278391
upgpkg: python-texttable 1.2.1-1
Modified:
python-texttable/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-04 02:38:31 UTC (rev 278390)
+++ PKGBUILD 2018-01-04 02:39:39 UTC (rev 278391)
@@ -6,16 +6,16 @@
# Contributor: Daniel YC Lin <dlin.tw at gmail>
pkgname=(python-texttable python2-texttable)
-pkgver=1.1.1
+pkgver=1.2.1
pkgrel=1
pkgdesc="Generate a formatted text table using ASCII characters"
arch=('any')
url="https://pypi.python.org/pypi/texttable/"
license=('LGPL')
-makedepends=('python' 'python2')
+makedepends=('python-cjkwrap' 'python2-cjkwrap')
checkdepends=('python-pytest' 'python2-pytest')
source=("https://pypi.io/packages/source/t/texttable/texttable-$pkgver.tar.gz")
-sha512sums=('ed51b0bd4483af4ee10f9662286e271667b212f848f7ece44dd5adc053394ad9c3b6cfafa7519c8b1dd53728571298551ae501d0575d91922e257aa4ab8d5f2d')
+sha512sums=('7c6a49264b3b458ff3012e378ad5d6b1d466be6d6381e67915bfbd89ad3454c8d0bdc22684854a37901ee679bbd88a307f772ce70bd3bbf21070f5b4a1c95f94')
prepare() {
cp -a texttable-$pkgver{,-py2}
@@ -39,6 +39,7 @@
package_python-texttable() {
depends=('python')
+ optdepends=('python-cjkwrap: for better CJK support')
cd texttable-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
@@ -46,6 +47,7 @@
package_python2-texttable() {
depends=('python2')
+ optdepends=('python2-cjkwrap: for better CJK support')
cd texttable-$pkgver-py2
python2 setup.py install --root="$pkgdir" --optimize=1
More information about the arch-commits
mailing list