New package: python3-pikepdf-2.9.0
This commit is contained in:
parent
283c1db35c
commit
09a09350cf
@ -0,0 +1,11 @@
|
||||
--- setup.cfg
|
||||
+++ setup.cfg
|
||||
@@ -7,8 +7,6 @@ test=pytest
|
||||
[tool:pytest]
|
||||
norecursedirs = lib .pc .git venv
|
||||
testpaths = tests
|
||||
-addopts =
|
||||
- -n auto
|
||||
|
||||
[coverage:run]
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -90,8 +90,6 @@ if __name__ == '__main__':
|
||||
setup_requires=[
|
||||
'setuptools >= 50',
|
||||
'wheel >= 0.35',
|
||||
- 'setuptools_scm[toml] >= 4.1',
|
||||
- 'setuptools_scm_git_archive',
|
||||
'pybind11 >= 2.6.0, <3',
|
||||
],
|
||||
extras_require={'docs': docs_require},
|
24
srcpkgs/python3-pikepdf/template
Normal file
24
srcpkgs/python3-pikepdf/template
Normal file
@ -0,0 +1,24 @@
|
||||
# Template file for 'python3-pikepdf'
|
||||
pkgname=python3-pikepdf
|
||||
version=2.9.0
|
||||
revision=1
|
||||
wrksrc="pikepdf-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-pybind11 python3-setuptools python3-toml python3-wheel"
|
||||
makedepends="libqpdf-devel python3-pybind11"
|
||||
depends="python3-lxml python3-Pillow"
|
||||
checkdepends="python3-dateutil python3-hypothesis python3-lxml python3-Pillow python3-psutil python3-pytest"
|
||||
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=a9dbd2bb52fcdecb066c99cacf96f0ebb40edee50d8885502a5a22d7f723a8b7
|
||||
|
||||
pre_build() {
|
||||
vsed -i "s/__version__.*/__version__ = '${version}'/g" setup.py
|
||||
}
|
||||
|
||||
do_check() {
|
||||
PYTHONPATH=$(cd build/lib* && pwd) python3 -m pytest
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user