Date: Tuesday, April 18, 2023 @ 07:40:18 Author: felixonmars Revision: 1447172
upgpkg: python-nose-cover3 0.1.0-10: rebuild with python 3.11 Modified: python-nose-cover3/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-18 07:24:39 UTC (rev 1447171) +++ PKGBUILD 2023-04-18 07:40:18 UTC (rev 1447172) @@ -2,7 +2,7 @@ pkgname=python-nose-cover3 pkgver=0.1.0 -pkgrel=9 +pkgrel=10 pkgdesc="Coverage 3.x support for Nose" arch=(any) url="https://github.com/ask/nosecover3" @@ -13,6 +13,17 @@ source=("git+https://github.com/ask/nosecover3.git#tag=v$pkgver") sha512sums=('SKIP') +prepare() { + cd nosecover3 + sed -i 's/extra.update(use_2to3=True)/pass/' setup.py +} + +build() { + cd nosecover3 + 2to3 -wn nosecover3 + python setup.py build +} + package() { cd nosecover3 python setup.py install --root="${pkgdir}" --optimize=1
