Date: Thursday, February 22, 2018 @ 09:40:12
  Author: felixonmars
Revision: 297022

upgpkg: python-construct 2.9.33-1

Modified:
  python-construct/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-22 09:37:33 UTC (rev 297021)
+++ PKGBUILD    2018-02-22 09:40:12 UTC (rev 297022)
@@ -3,7 +3,7 @@
 
 pkgbase=python-construct
 pkgname=('python-construct' 'python2-construct')
-pkgver=2.9.31
+pkgver=2.9.33
 pkgrel=1
 pkgdesc="A powerful declarative parser/builder for binary data"
 arch=('any')
@@ -10,10 +10,11 @@
 license=('MIT')
 url="http://construct.readthedocs.org";
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-numpy' 
'python2-numpy'
-              'python-pytest-benchmark' 'python2-pytest-benchmark' 
'python2-enum34')
+checkdepends=('python-arrow' 'python2-arrow' 'python-numpy' 'python2-numpy' 
'python-pytest-runner'
+              'python2-pytest-runner' 'python-pytest-benchmark' 
'python2-pytest-benchmark'
+              'python2-enum34' )
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/construct/construct/archive/v$pkgver.tar.gz";)
-sha512sums=('e578f895b7e24cf9f9e530b7b7384758387b25b4edb4686ab3a003eef4dadecda5dc374679c18d2e883a181d733fbfa74bac7dd2084d78ef68b9e02ea62dc36d')
+sha512sums=('1cea619a1606a0ec37bf327f627e75607ee66760b8ffde565991d2bdd6b5ec4bc64085aafc5e4ea22fc5025598123c52a2a82621d363b643cfb9cf24cfd010cd')
 
 prepare() {
   cp -a construct-$pkgver{,-py2}
@@ -32,11 +33,13 @@
   python setup.py pytest
 
   cd "$srcdir"/construct-$pkgver-py2
-  python2 setup.py pytest || warning "TODO: figure out benchmark related 
failures"
+  python2 setup.py pytest
 }
 
 package_python-construct() {
   depends=('python')
+  optdepends=('python-arrow: for Timestamp'
+              'python-numpy: for array serialization with Numpy protocol')
 
   cd construct-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -45,7 +48,9 @@
 
 package_python2-construct() {
   depends=('python2')
-  optdepends=('python2-enum34: for Enum / EnumFlags')
+  optdepends=('python2-arrow: for Timestamp'
+              'python2-enum34: for Enum / EnumFlags'
+              'python2-numpy: for array serialization with Numpy protocol')
 
   cd construct-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1

Reply via email to