diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-08-01 08:23:01 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-08-01 08:23:01 +0000 |
commit | a402a43651fea916001dfe86d496afb32d3de8d6 (patch) | |
tree | 86ff0c520bce2be34797d88a362492c576dfdd13 /community/py3-pikepdf | |
parent | 42ec43b14fa29a0a35dc34dfd8267149bf163f82 (diff) | |
download | aports-a402a43651fea916001dfe86d496afb32d3de8d6.tar.bz2 aports-a402a43651fea916001dfe86d496afb32d3de8d6.tar.xz |
community/py3-pikepdf: new aport
due to ocrmypdf
Diffstat (limited to 'community/py3-pikepdf')
-rw-r--r-- | community/py3-pikepdf/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/py3-pikepdf/APKBUILD b/community/py3-pikepdf/APKBUILD new file mode 100644 index 0000000000..6d6449e718 --- /dev/null +++ b/community/py3-pikepdf/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> +pkgname=py3-pikepdf +_pyname=pikepdf +pkgver=1.6.0 +pkgrel=0 +pkgdesc="A Python library for reading and writing PDF" +url=https://github.com/pikepdf/pikepdf +arch=all +license="MPL-2.0" +depends=" + python3 + py3-lxml + " +makedepends=" + py3-setuptools + qpdf-dev + py3-pybind11 + python3-dev + " +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir=$srcdir/$_pyname-$pkgver +options="!check" # tests fail to import pikepdf + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="d5b2c50e1d6c28801b3d84447a666c679a769d8de6206f7db228dacf5ca9e40757c27c21f78fe2de9da5db5bdca797752b4ba8b3d1e4ae6d81dc2e73596b5583 pikepdf-1.6.0.tar.gz" |