Date: Tuesday, November 30, 2021 @ 22:32:18 Author: foutrelis Revision: 1059050
archrelease: copy trunk to community-staging-x86_64 Added: python-reportlab/repos/community-staging-x86_64/ python-reportlab/repos/community-staging-x86_64/PKGBUILD (from rev 1059049, python-reportlab/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-reportlab/repos/community-staging-x86_64/PKGBUILD (from rev 1059049, python-reportlab/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-30 22:32:18 UTC (rev 1059050) @@ -0,0 +1,34 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: William Rea <sillywi...@gmail.com> + +_origname=reportlab +pkgname=python-reportlab +pkgver=3.6.2 +pkgrel=2 +pkgdesc="A proven industry-strength PDF generating solution" +arch=('x86_64') +url="https://www.reportlab.com/" +depends=('freetype2') +depends=('python' 'python-pillow') +makedepends=('freetype2' 'python-pillow' 'mercurial') +license=('BSD') +source=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz) +sha256sums=('f0c4b47b012d893b0b9f5703cf6f01b5593714a3fc1e7dc73efbbfe26bb7e16a') + +build() { + cd ${_origname}-${pkgver} + python setup.py build +} + +check() { + cd ${_origname}-${pkgver} + python setup.py tests || true + rm tests/_i_am_actually_a_* +} + +package() { + cd ${_origname}-${pkgver} + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt +}