[arch-commits] Commit in python-pikepdf/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jan 28 17:16:12 UTC 2021
Date: Thursday, January 28, 2021 @ 17:16:12
Author: arojas
Revision: 833363
Fix makedepends
Modified:
python-pikepdf/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-28 17:10:34 UTC (rev 833362)
+++ PKGBUILD 2021-01-28 17:16:12 UTC (rev 833363)
@@ -4,16 +4,20 @@
pkgname=python-pikepdf
pkgver=2.5.0
-pkgrel=1
+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 python-pip)
+makedepends=(pybind11 python-setuptools-scm python-wheel python-toml)
depends=(python-lxml python-pillow qpdf)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/pikepdf/pikepdf/archive/v$pkgver.tar.gz")
-sha256sums=('001b96cb911970f4351bbb32927f5e2ddec03aa33338223b1ae345c9abca8a14')
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('84b6c0315a34cbe34d74f64cdb96634cfa8bf02a17bc56bd20e0efbaa4460b73')
+prepare() {
+ sed -e '/setuptools_scm_git_archive/d' -i pikepdf-$pkgver/setup.py # Remove unused build dependency
+}
+
build() {
cd pikepdf-$pkgver
python setup.py build
More information about the arch-commits
mailing list