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

Jelle van der Waa jelle at archlinux.org
Mon Sep 14 17:26:47 UTC 2015


    Date: Monday, September 14, 2015 @ 19:26:47
  Author: jelle
Revision: 140097

upgpkg: python-html5lib 0.9999999-1

Modified:
  python-html5lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-14 16:56:16 UTC (rev 140096)
+++ PKGBUILD	2015-09-14 17:26:47 UTC (rev 140097)
@@ -3,21 +3,18 @@
 
 pkgbase=python-html5lib
 pkgname=('python2-html5lib' 'python-html5lib')
-pkgver=0.999
-pkgrel=5
+pkgver=0.9999999
+pkgrel=1
 arch=('any')
 url="https://github.com/html5lib"
 license=('MIT')
 makedepends=('python2' 'python' 'unzip')
+checkdepends=('python-nose' 'python2-nose')
 source=($pkgbase-$pkgver.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz
     LICENSE)
-md5sums=('f74b320f10d74df9cca8a08b42cb278c'
+md5sums=('2ca78b1ec5852779bc121a97da6e8d4d'
          '838c366f69b72c5df05c96dff79b35f2')
 
-build() {
-    /bin/true
-}
-
 package_python-html5lib() {
 pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
 depends=('python' 'python-six')
@@ -35,3 +32,11 @@
     python2 setup.py install --root=${pkgdir}
     install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE  
 }
+
+check() {
+    cd ${srcdir}/html5lib-python-${pkgver}/html5lib/tests
+
+    nosetests2 
+  
+    nosetests
+}



More information about the arch-commits mailing list