diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 8 deletions
@@ -1,17 +1,20 @@ pkgbase = python-fpdf2 pkgdesc = Simple PDF generation for Python - pkgver = 2.7.3 + pkgver = 2.7.4 pkgrel = 1 url = https://pyfpdf.github.io/fpdf2/ arch = any license = LGPL3 + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python depends = python-pillow depends = python-defusedxml depends = python-fonttools conflicts = python-fpdf - source = https://files.pythonhosted.org/packages/source/f/fpdf2/fpdf2-2.7.3.tar.gz - sha256sums = 5e53fd440b1b6dc24a33f5c12d05bc349f923a78f50e2ecb2f0b876b55182c41 + source = https://files.pythonhosted.org/packages/source/f/fpdf2/fpdf2-2.7.4.tar.gz + sha256sums = b2b7197610a83dd6fe96c3b91a633827acc74973b4290103617d371d0d0a8ecf pkgname = python-fpdf2 @@ -1,7 +1,7 @@ # Maintainer: Guillaume Horel <guillaume.horel@gmail.com> pkgname=python-fpdf2 _name=${pkgname#python-} -pkgver=2.7.3 +pkgver=2.7.4 pkgrel=1 pkgdesc='Simple PDF generation for Python' arch=(any) @@ -9,16 +9,16 @@ url='https://pyfpdf.github.io/fpdf2/' license=(LGPL3) conflicts=('python-fpdf') depends=('python' 'python-pillow' 'python-defusedxml' 'python-fonttools') -makedepends=('python-setuptools') +makedepends=(python-build python-installer python-setuptools python-wheel) source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") -sha256sums=('5e53fd440b1b6dc24a33f5c12d05bc349f923a78f50e2ecb2f0b876b55182c41') +sha256sums=('b2b7197610a83dd6fe96c3b91a633827acc74973b4290103617d371d0d0a8ecf') build() { cd "$_name-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } |