Date: Monday, March 21, 2022 @ 23:06:50 Author: ainola Revision: 1168681
upgpkg: python-odfpy 1.4.2-1; add some makedeps python-setuputils and python-wheel were required for building. Modified: python-odfpy/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-21 22:54:00 UTC (rev 1168680) +++ PKGBUILD 2022-03-21 23:06:50 UTC (rev 1168681) @@ -1,22 +1,23 @@ # Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Maintainer: Brett Cornwall <[email protected]> # Contributor: Eduardo Parra Mazuecos <[email protected]> pkgname=python-odfpy -pkgver=1.4.1 -pkgrel=6 +pkgver=1.4.2 +pkgrel=1 pkgdesc='Python API and tools to manipulate OpenDocument files' arch=('any') url='https://github.com/eea/odfpy' license=('Apache' 'GPL') depends=('python-defusedxml') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-pytest') source=("https://github.com/eea/odfpy/archive/release-$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('9f97e4c808f656ce22739eec43a7c1741f645b7decef37d4fb048edb33e8caad') +sha256sums=('24ad087f38031b2fe60bf22811b9550887afe1cfdea80672d6573387c3025583') build() { cd odfpy-release-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -25,6 +26,6 @@ } package() { - cd odfpy-release-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + cd odfpy-release-$pkgver + python -m installer --destdir="$pkgdir" dist/*whl }
