[arch-commits] Commit in python-texttable/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Apr 2 12:49:19 UTC 2019
Date: Tuesday, April 2, 2019 @ 12:49:12
Author: felixonmars
Revision: 447676
archrelease: copy trunk to community-any
Added:
python-texttable/repos/community-any/PKGBUILD
(from rev 447675, python-texttable/trunk/PKGBUILD)
Deleted:
python-texttable/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++------------------------------------
1 file changed, 34 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-02 12:48:53 UTC (rev 447675)
+++ PKGBUILD 2019-04-02 12:49:12 UTC (rev 447676)
@@ -1,46 +0,0 @@
-# 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>
-
-pkgbase=python-texttable
-pkgname=(python-texttable python2-texttable)
-pkgver=1.6.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' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/foutaise/texttable/archive/v$pkgver.tar.gz")
-sha512sums=('72d4bb5c4f03b1f9dbfc4b1e375ad754e92610f71e65c7e9a0b7bdc88b3753254b143aa607570d49cfca56a3cf889a819e12ea184fdf34594f1f5d118de3c12c')
-
-build() {
- cd texttable-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd texttable-$pkgver
- pytest tests.py
- pytest2 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
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-texttable/repos/community-any/PKGBUILD (from rev 447675, python-texttable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-02 12:49:12 UTC (rev 447676)
@@ -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.1
+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=('72d4bb5c4f03b1f9dbfc4b1e375ad754e92610f71e65c7e9a0b7bdc88b3753254b143aa607570d49cfca56a3cf889a819e12ea184fdf34594f1f5d118de3c12c')
+
+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