summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHsiu-Ming Chang2019-11-21 21:03:43 +0800
committerHsiu-Ming Chang2019-11-21 21:03:43 +0800
commitfa0dc4020512c965eaec5c3cca90166848a6b595 (patch)
tree18a3684daa07869913f12b0567401128998c5156
parentd610a33f6b614c39b905bcf383d58e7fb9352b0a (diff)
downloadaur-fa0dc4020512c965eaec5c3cca90166848a6b595.tar.gz
PyMuPDF v1.16.8
-rw-r--r--PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ab27839aa20..93f3fd04492 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=('python2-pymupdf' 'python-pymupdf')
_name='PyMuPDF'
-pkgver=1.16.7
+pkgver=1.16.8
pkgrel=1
pkgdesc='Python bindings for MuPDF'
arch=('x86_64')
@@ -14,25 +14,25 @@ depends=('libjpeg-turbo' 'jbig2dec' 'openjpeg2' 'freetype2')
makedepends=('python2-setuptools' 'python-setuptools' 'libmupdf>=1.16' 'libmupdf<1.17')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-${pkgver}.tar.gz")
-sha256sums=('b16c85b2f89cc89e36b59fe734f14e5c939c8b24697bf33ff7a19584e8334976')
+sha256sums=('3099b48a796885c0760d8ac5439131dee1bc6adadf7ae008417e0ca8d8fcdf15')
prepare() {
- cd "${_name}-${pkgver}"
- sed -i "s:# 'jbig2dec', 'openjp2', 'jpeg', 'freetype',:'jbig2dec', 'openjp2', 'jpeg', 'freetype',:g" setup.py
+ cd "${_name}-${pkgver}"
+ sed -i "s:# 'jbig2dec', 'openjp2', 'jpeg', 'freetype',:'jbig2dec', 'openjp2', 'jpeg', 'freetype',:g" setup.py
}
build() {
- cd "${_name}-${pkgver}"
- python2 setup.py build
- python setup.py build
+ cd "${_name}-${pkgver}"
+ python2 setup.py build
+ python setup.py build
}
check() {
- cd "${_name}-${pkgver}"
- local python2_version=$(python2 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python2_version}" python2 -c 'import sys; sys.path.remove(""); import fitz'
- local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" python -c 'import sys; sys.path.remove(""); import fitz'
+ cd "${_name}-${pkgver}"
+ local python2_version=$(python2 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python2_version}" python2 -c 'import sys; sys.path.remove(""); import fitz'
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" python -c 'import sys; sys.path.remove(""); import fitz'
}
package_python2-pymupdf() {