Skip to content

Commit

Permalink
testing/py-html5lib: rebuild for python3.7
Browse files Browse the repository at this point in the history
Closes GH-8381
  • Loading branch information
maxice8 authored and Ikke committed Jun 2, 2019
1 parent a5bfb5f commit a6fdbab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions testing/py-html5lib/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
pkgname=py-html5lib
_pkgname=html5lib
pkgver=1.0.1
pkgrel=0
pkgrel=1
pkgdesc="A Python HTML parser"
options="!check" # 1 test fail
url="https://github.com/html5lib/html5lib-python"
arch="noarch"
license="MIT"
Expand All @@ -17,13 +18,11 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver

build() {
cd "$builddir"
python2 setup.py build
python3 setup.py build
}

check() {
cd "$builddir"
py.test-2
py.test-3
}
Expand Down

0 comments on commit a6fdbab

Please sign in to comment.