[arch-commits] Commit in python-texttable/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 4 02:40:10 UTC 2018
Date: Thursday, January 4, 2018 @ 02:40:09
Author: felixonmars
Revision: 278392
archrelease: copy trunk to community-any
Added:
python-texttable/repos/community-any/PKGBUILD
(from rev 278391, python-texttable/trunk/PKGBUILD)
Deleted:
python-texttable/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 54 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-04 02:39:39 UTC (rev 278391)
+++ PKGBUILD 2018-01-04 02:40:09 UTC (rev 278392)
@@ -1,52 +0,0 @@
-# $Id$
-# 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 python2-texttable)
-pkgver=1.1.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')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.io/packages/source/t/texttable/texttable-$pkgver.tar.gz")
-sha512sums=('ed51b0bd4483af4ee10f9662286e271667b212f848f7ece44dd5adc053394ad9c3b6cfafa7519c8b1dd53728571298551ae501d0575d91922e257aa4ab8d5f2d')
-
-prepare() {
- cp -a texttable-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/texttable-$pkgver
- python setup.py build
-
- cd "$srcdir"/texttable-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/texttable-$pkgver
- py.test tests.py
-
- cd "$srcdir"/texttable-$pkgver-py2
- py.test2 tests.py
-}
-
-package_python-texttable() {
- depends=('python')
-
- cd texttable-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-texttable() {
- depends=('python2')
-
- cd texttable-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-texttable/repos/community-any/PKGBUILD (from rev 278391, python-texttable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-04 02:40:09 UTC (rev 278392)
@@ -0,0 +1,54 @@
+# $Id$
+# 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 python2-texttable)
+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-cjkwrap' 'python2-cjkwrap')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("https://pypi.io/packages/source/t/texttable/texttable-$pkgver.tar.gz")
+sha512sums=('7c6a49264b3b458ff3012e378ad5d6b1d466be6d6381e67915bfbd89ad3454c8d0bdc22684854a37901ee679bbd88a307f772ce70bd3bbf21070f5b4a1c95f94')
+
+prepare() {
+ cp -a texttable-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/texttable-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/texttable-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/texttable-$pkgver
+ py.test tests.py
+
+ cd "$srcdir"/texttable-$pkgver-py2
+ py.test2 tests.py
+}
+
+package_python-texttable() {
+ depends=('python')
+ optdepends=('python-cjkwrap: for better CJK support')
+
+ cd texttable-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+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