rebuild python-hyperlink

This commit is contained in:
AlmAck 2017-11-19 16:50:58 +01:00
parent 699a2c6443
commit 9adceff600

View File

@ -2,7 +2,7 @@
pkgbase=python-hyperlink
pkgname=('python3-hyperlink' 'python2-hyperlink')
pkgver=17.3.0
pkgver=17.3.1
pkgrel=1
pkgdesc='A featureful, correct URL for Python'
arch=('any')
@ -11,7 +11,7 @@ url='https://github.com/python-hyper/hyperlink'
makedepends=('python3-setuptools' 'python2-setuptools')
checkdepends=('python3-pytest-runner' 'python2-pytest-runner')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyperlink/archive/v$pkgver.tar.gz")
sha512sums=('8ad7efaf977018ac2524b39e1c96878df85789532c2e85b0cbd69e86c330285070428be1e64545e6b273dd331142b27f915e5186fc12b3b4c59013e123c69531')
sha512sums=('3c7ec4c7686066360130a72345af0257605b76415d58030fbb2e02bc52a58a43ea77455eb4acf9181131ff311f9fe54c7a15b05e7c5093fb24368ccd12e116b2')
prepare() {
cp -a hyperlink-$pkgver{,-py2}
@ -26,12 +26,11 @@ build() {
}
check() {
# fail check AssertionError: _ExpectedException not raised and missing __init__.py
cd "$srcdir"/hyperlink-$pkgver
python setup.py pytest || msg "Failed"
python setup.py pytest
cd "$srcdir"/hyperlink-$pkgver-py2
python2 setup.py pytest || msg "Failed"
python2 setup.py pytest
}
package_python3-hyperlink() {