[arch-commits] Commit in python-pikepdf/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:12:28 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:12:27
  Author: felixonmars
Revision: 748555

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-pikepdf/repos/community-staging-x86_64/PKGBUILD (from rev 748554, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 04:12:27 UTC (rev 748555)
@@ -0,0 +1,26 @@
+# 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=2.0.0
+pkgrel=2
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-setuptools)
+depends=(python-lxml python-pillow qpdf)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/pikepdf/pikepdf/archive/v$pkgver.tar.gz")
+sha256sums=('333556a25b6cd99dbdfc1a80f69f024275bfeedf4ea6ea5691f72a1c5a2d65a3')
+
+build() {
+  cd pikepdf-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pikepdf-$pkgver
+  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list