[arch-commits] Commit in python-pikepdf/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jun 9 16:03:17 UTC 2022


    Date: Thursday, June 9, 2022 @ 16:03:17
  Author: arojas
Revision: 1229693

archrelease: copy trunk to community-x86_64

Added:
  python-pikepdf/repos/community-x86_64/PKGBUILD
    (from rev 1229692, python-pikepdf/trunk/PKGBUILD)
Deleted:
  python-pikepdf/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-09 16:03:05 UTC (rev 1229692)
+++ PKGBUILD	2022-06-09 16:03:17 UTC (rev 1229693)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Fredrick Brennan <copypaste at kittens.ph>
-# Contributor: Stephan Eisvogel <eisvogel at embinet dot de>
-
-pkgname=python-pikepdf
-pkgver=5.1.3
-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-git-archive)
-depends=(python-lxml python-pillow qpdf)
-checkdepends=(python-pytest-xdist python-hypothesis)
-source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
-sha256sums=('c34e4239661d2ddf23caa1c4256f636c866ce8069a5052a2bf8ee06e3cae22f3')
-
-build() {
-  cd pikepdf-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd pikepdf-$pkgver
-  PYTHONPATH="${PWD}/$(echo build/lib.*)" \
-  pytest -v
-}
-
-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 1229692, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-09 16:03:17 UTC (rev 1229693)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Fredrick Brennan <copypaste at kittens.ph>
+# Contributor: Stephan Eisvogel <eisvogel at embinet dot de>
+
+pkgname=python-pikepdf
+pkgver=5.1.4
+pkgrel=1
+_commit=caaf1119784b32f8b68d26b2c05a8fc2bea5ad89
+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-git-archive)
+depends=(python-lxml python-pillow qpdf)
+checkdepends=(python-pytest-xdist python-hypothesis)
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('a740c0c14c8bb05221d6d7f87d20f186f50907b2b114531177b0d5733d6c01fd')
+
+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
+}



More information about the arch-commits mailing list