[arch-commits] Commit in python-pikepdf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jul 5 20:26:15 UTC 2022
Date: Tuesday, July 5, 2022 @ 20:26:15
Author: arojas
Revision: 1245539
archrelease: copy trunk to community-x86_64
Added:
python-pikepdf/repos/community-x86_64/PKGBUILD
(from rev 1245538, python-pikepdf/trunk/PKGBUILD)
Deleted:
python-pikepdf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 36 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-05 20:26:03 UTC (rev 1245538)
+++ PKGBUILD 2022-07-05 20:26:15 UTC (rev 1245539)
@@ -1,34 +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.3.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-git-archive)
-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=('08d1d2f6a5ff20c731d26ad36e3b953cac20aa280176cec9104c47d02d6093c9')
-
-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
-}
Copied: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 1245538, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-05 20:26:15 UTC (rev 1245539)
@@ -0,0 +1,36 @@
+# 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.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
+}
More information about the arch-commits
mailing list