Date: Saturday, August 27, 2022 @ 14:03:39 Author: arojas Revision: 1284813
archrelease: copy trunk to community-x86_64 Added: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 1284812, python-pikepdf/trunk/PKGBUILD) Deleted: python-pikepdf/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-27 14:03:29 UTC (rev 1284812) +++ PKGBUILD 2022-08-27 14:03:39 UTC (rev 1284813) @@ -1,36 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Fredrick Brennan <copypa...@kittens.ph> -# Contributor: Stephan Eisvogel <eisvogel at embinet dot de> - -pkgname=python-pikepdf -pkgver=5.3.1 -pkgrel=1 -pkgdesc='Read and write PDFs with Python, powered by qpdf' -arch=(x86_64) -url='https://github.com/pikepdf/pikepdf' -license=(MPL2) -makedepends=(pybind11 python-build python-installer python-wheel python-toml python-setuptools-scm) -depends=(python-lxml python-pillow python-deprecation qpdf) -checkdepends=(python-pytest-xdist python-hypothesis) -source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz) -sha256sums=('b8c9e5cc1c73fa4d0dae9f4b184adbc72949973a011f2746c851affec3c0ede3') - -build() { - cd pikepdf-$pkgver -# Work around https://github.com/pikepdf/pikepdf/issues/367 - SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \ - python -m build --wheel --no-isolation -} - -check() { - cd pikepdf-$pkgver - python -m venv --system-site-packages test-env - test-env/bin/python -m installer dist/*.whl - test-env/bin/python -m pytest -} - -package() { - cd pikepdf-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 1284812, python-pikepdf/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-27 14:03:39 UTC (rev 1284813) @@ -0,0 +1,34 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Fredrick Brennan <copypa...@kittens.ph> +# Contributor: Stephan Eisvogel <eisvogel at embinet dot de> + +pkgname=python-pikepdf +pkgver=5.5.0 +pkgrel=1 +pkgdesc='Read and write PDFs with Python, powered by qpdf' +arch=(x86_64) +url='https://github.com/pikepdf/pikepdf' +license=(MPL2) +makedepends=(pybind11 python-build python-installer python-wheel python-toml python-setuptools-scm) +depends=(python-lxml python-pillow python-deprecation python-typing_extensions python-packaging qpdf) +checkdepends=(python-pytest-xdist python-hypothesis) +source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz) +sha256sums=('9dd51dbdfa0470135cced6f14ef77ab2d2478f15711b1376984702191ef7625b') + +build() { + cd pikepdf-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd pikepdf-$pkgver + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest +} + +package() { + cd pikepdf-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname +}