21 lines
776 B
Bash
21 lines
776 B
Bash
# Template file for 'python3-pikepdf'
|
|
pkgname=python3-pikepdf
|
|
version=4.1.0
|
|
revision=1
|
|
wrksrc="pikepdf-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-pybind11 python3-setuptools_scm python3-wheel"
|
|
makedepends="libqpdf-devel python3-pybind11"
|
|
depends="python3-lxml python3-Pillow python3-setuptools"
|
|
checkdepends="python3-dateutil python3-hypothesis python3-psutil python3-pytest
|
|
$depends"
|
|
short_desc="Python library for reading and writing PDF files"
|
|
maintainer="Philipp David <pd@3b.pm>"
|
|
license="MPL-2.0"
|
|
homepage="https://github.com/pikepdf/pikepdf"
|
|
distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
|
|
checksum=bf31a8ab6b33ea5483c0a4d388e9623ff23f5b60caac9edb73201b2fcac2918c
|
|
|
|
pre_build() {
|
|
vsed -e '/setuptools_scm_git_archive/d' -i setup.py
|
|
}
|