diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-04-08 20:52:19 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-09 00:16:52 +0000 |
commit | fff573c8814b72ac047c076f89dc20dd591ff487 (patch) | |
tree | 78c9c36ea3c9946440eefa10c55e5200de432216 /community/py3-pdfminer | |
parent | 3fa5acf0b5de71e85761611cd0eee1ac898a81d2 (diff) | |
download | aports-fff573c8814b72ac047c076f89dc20dd591ff487.tar.bz2 aports-fff573c8814b72ac047c076f89dc20dd591ff487.tar.xz |
community/py3-pdfminer: upgrade to 20200402
Diffstat (limited to 'community/py3-pdfminer')
-rw-r--r-- | community/py3-pdfminer/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/community/py3-pdfminer/APKBUILD b/community/py3-pdfminer/APKBUILD index 32699eab6b..726526f143 100644 --- a/community/py3-pdfminer/APKBUILD +++ b/community/py3-pdfminer/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> pkgname=py3-pdfminer _pyname=pdfminer.six -pkgver=20200124 +pkgver=20200402 pkgrel=0 pkgdesc="Python PDF Parser" url="https://github.com/pdfminer/pdfminer.six" @@ -17,17 +17,23 @@ depends=" makedepends=" py3-setuptools " -_pypiprefix="${_pyname%${_pyname#?}}" -source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +checkdepends=" + py3-nose + " +# Only auto-generated github tarballs contain the testsuite +source="$pkgname-$pkgver.tar.gz::https://github.com/pdfminer/pdfminer.six/archive/$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" -options="!check" # has no check build() { python3 setup.py build } +check() { + nosetests +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="1f4df5b19bc57c95442aef4fdb2ffc851795b8e41ee72c6365db76d5f1b45036e0642fbcbddf45774a0e276a629afd0344374bdef24dfa90d78c370cd05475d7 pdfminer.six-20200124.tar.gz" +sha512sums="da64a9141ad1afde63c41e6678ac5f2a13abba7ee2d1447fb5cd986e90a2d02ba040f128bb1f73db4329929eed90488a3b0b8c96f6af0d1968d483820bf6d656 py3-pdfminer-20200402.tar.gz" |