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

David Runge dvzrv at archlinux.org
Tue Jan 29 20:21:35 UTC 2019


    Date: Tuesday, January 29, 2019 @ 20:21:34
  Author: dvzrv
Revision: 428430

upgpkg: python-tabulate 0.8.3-2

Moving python{,2}-{numpy,pandas,wcwidth} to optdepends, where they belong.

Modified:
  python-tabulate/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-29 20:07:40 UTC (rev 428429)
+++ PKGBUILD	2019-01-29 20:21:34 UTC (rev 428430)
@@ -3,15 +3,13 @@
 pkgbase=python-tabulate
 pkgname=('python-tabulate' 'python2-tabulate')
 pkgver=0.8.3
-pkgrel=1
+pkgrel=2
 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-numpy' 'python-pandas' 'python-setuptools'
-'python-wcwidth' 'python2-numpy' 'python2-pandas' 'python2-setuptools'
-'python2-wcwidth')
-checkdepends=('python-nose' 'python2-nose')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python-numpy' 'python-pandas' 'python-wcwidth' 'python2-nose' 'python2-numpy' 'python2-pandas' 'python2-wcwidth')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha512sums=('7f0205a4d80ed0b426a45622a3b8ec0a9b77cf6d67c1207db7fbc20a12e83a15748e63d5f8e5e65fa348b6265fd0cac93be4d04f9c1c182476b93507e1131cbf')
 
@@ -33,7 +31,10 @@
 }
 
 package_python-tabulate() {
-  depends=('python-numpy' 'python-pandas' 'python-setuptools' 'python-wcwidth')
+  depends=('python-setuptools')
+  optdepends=('python-numpy: NumPy array support'
+              'python-pandas: pandas.DataFrame support'
+              'python-wcwidth: wide-character support')
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
     --optimize=1 \
@@ -44,8 +45,10 @@
 }
 
 package_python2-tabulate() {
-  depends=('python2-numpy' 'python2-pandas' 'python2-setuptools'
-  'python2-wcwidth')
+  depends=('python2-setuptools')
+  optdepends=('python2-numpy: NumPy array support'
+              'python2-pandas: pandas.DataFrame support'
+              'python2-wcwidth: wide-character support')
   cd "$pkgbase-$pkgver"
   python2 setup.py install --skip-build \
     --optimize=1 \



More information about the arch-commits mailing list