Date: Thursday, January 28, 2021 @ 17:16:21 Author: arojas Revision: 833364
archrelease: copy trunk to community-x86_64 Added: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 833363, python-pikepdf/trunk/PKGBUILD) Deleted: python-pikepdf/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-28 17:16:12 UTC (rev 833363) +++ PKGBUILD 2021-01-28 17:16:21 UTC (rev 833364) @@ -1,26 +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=2.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-setuptools python-pip) -depends=(python-lxml python-pillow qpdf) -source=($pkgname-$pkgver.tar.gz::"https://github.com/pikepdf/pikepdf/archive/v$pkgver.tar.gz") -sha256sums=('001b96cb911970f4351bbb32927f5e2ddec03aa33338223b1ae345c9abca8a14') - -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 -} Copied: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 833363, python-pikepdf/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-28 17:16:21 UTC (rev 833364) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Fredrick Brennan <copypa...@kittens.ph> +# Contributor: Stephan Eisvogel <eisvogel at embinet dot de> + +pkgname=python-pikepdf +pkgver=2.5.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-scm python-wheel python-toml) +depends=(python-lxml python-pillow qpdf) +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 +} + +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 +}