32 lines
923 B
Text
32 lines
923 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=py3-pdf2image
|
|
_pyname="pdf2image"
|
|
pkgver=1.16.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="Python wrapper around the pdftoppm and pdftocairo command line tools to convert PDF to a PIL Image list"
|
|
url="https://github.com/Belval/pdf2image"
|
|
license="MIT"
|
|
depends="python3 py3-pillow poppler"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
options="!check"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install \
|
|
--skip-build \
|
|
--optimize=1 \
|
|
--prefix=/usr \
|
|
--root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
fc6512d8f5ec21b5199348b9d0070dd7b3c063ada33f7024b8d9296bf3776025c85bb50a23d8d2a4b7a544bcadcc810c413ab60ad2744b96a3a0cd4d72d478e5 py3-pdf2image-1.16.0.tar.gz
|
|
"
|