[arch-commits] Commit in python-html5-parser/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Aug 10 18:50:31 UTC 2017
Date: Thursday, August 10, 2017 @ 18:50:30
Author: jelle
Revision: 249768
upgpkg: python-html5-parser 0.4.4-1
Modified:
python-html5-parser/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-10 18:42:25 UTC (rev 249767)
+++ PKGBUILD 2017-08-10 18:50:30 UTC (rev 249768)
@@ -4,16 +4,17 @@
_pkgname=html5-parser
pkgbase='python-html5-parser'
pkgname=('python-html5-parser' 'python2-html5-parser')
-pkgver=0.4.3
+pkgver=0.4.4
pkgrel=1
pkgdesc="Fast C based HTML 5 parsing for python"
arch=('i686' 'x86_64')
url="https://github.com/kovidgoyal/${_pkgname}"
license=('Apache')
+checkdepends=('python-beautifulsoup4' 'python2-beautifulsoup4')
makedepends=('python-chardet' 'python-lxml' 'python-setuptools'
'python2-chardet' 'python2-lxml' 'python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('dd5e3647c5919439c41600172ef96b5fdbf278028bd4000476f87412c4fb7b9c'
+sha256sums=('b9f3a1d4cdb8742e8e4ecafab04bff541bde4ff09af233293ed0b94028ec1ab5'
'SKIP')
validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
@@ -24,16 +25,13 @@
python2 setup.py build
}
-#check() {
-# cd "${srcdir}/${_pkgname}-${pkgver}"
-#
-# # Does not work right now because a necessary file isn't contained in the
-# # PyPI tarball. Fixed in master via
-# # https://github.com/kovidgoyal/html5-parser/issues/3
-# python setup.py test
-# python2 setup.py test
-#}
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py test
+ python2 setup.py test
+}
+
package_python-html5-parser() {
depends=('python-chardet' 'python-lxml')
optdepends=('python-beautifulsoup4: to use the soup treebuilder')
More information about the arch-commits
mailing list