[arch-commits] Commit in python-tabulate/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Jan 29 11:25:30 UTC 2019


    Date: Tuesday, January 29, 2019 @ 11:25:29
  Author: dvzrv
Revision: 428390

upgpkg: python-tabulate 0.8.3-1

Upgrading to 0.8.3. Adding all required (test) dependencies for the packages. Running test suite properly.

Modified:
  python-tabulate/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-29 09:09:24 UTC (rev 428389)
+++ PKGBUILD	2019-01-29 11:25:29 UTC (rev 428390)
@@ -2,16 +2,18 @@
 _name=tabulate
 pkgbase=python-tabulate
 pkgname=('python-tabulate' 'python2-tabulate')
-pkgver=0.8.2
-pkgrel=3
+pkgver=0.8.3
+pkgrel=1
 pkgdesc="Pretty-print tabular data in Python, a library and a command-line utility."
 arch=('any')
 url="https://bitbucket.org/astanin/python-tabulate"
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
+makedepends=('python-numpy' 'python-pandas' 'python-setuptools'
+'python-wcwidth' 'python2-numpy' 'python2-pandas' 'python2-setuptools'
+'python2-wcwidth')
+checkdepends=('python-nose' 'python2-nose')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('9e34fb84e16f4b2c1378c0f53c5ef803438fcae7bc1637ac8975f358a11653f641bba0ea19529858e8e62aa45bb5bccd3b6f0492fd2d9d9c9a3bf963dd1ac0a7')
+sha512sums=('7f0205a4d80ed0b426a45622a3b8ec0a9b77cf6d67c1207db7fbc20a12e83a15748e63d5f8e5e65fa348b6265fd0cac93be4d04f9c1c182476b93507e1131cbf')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
@@ -26,22 +28,12 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="${PYTHONPATH}:${PWD}"
-  # disabling failing tests:
-  # https://bitbucket.org/astanin/python-tabulate/issues/149
-  py.test -k 'not test_dict_like \
-              and not test_list_of_dicts \
-              and not test_List_of_dicts_keys \
-              and not test_list_of_dicts_firstrow \
-              and not test_list_of_dicts_dict_of_headers \
-              and not test_list_of_lists_with_supplied_index \
-              and not test_list_of_lists_with_index_firstrow \
-              and not test_isconvertible_on_set_values'
-  py.test2 -k 'not test_list_of_lists_with_supplied_index \
-               and not test_list_of_lists_with_index_firstrow'
+  python setup.py test
+  python2 setup.py test
 }
 
 package_python-tabulate() {
-  depends=('python-setuptools')
+  depends=('python-numpy' 'python-pandas' 'python-setuptools' 'python-wcwidth')
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
     --optimize=1 \
@@ -52,7 +44,8 @@
 }
 
 package_python2-tabulate() {
-  depends=('python2-setuptools')
+  depends=('python2-numpy' 'python2-pandas' 'python2-setuptools'
+  'python2-wcwidth')
   cd "$pkgbase-$pkgver"
   python2 setup.py install --skip-build \
     --optimize=1 \



More information about the arch-commits mailing list