Date: Monday, October 3, 2022 @ 22:27:56 Author: dvzrv Revision: 1320846
upgpkg: python-pylink-square 0.14.3-1: Upgrade to 0.14.3. Switch to pypi sdist tarball as it now includes tests. Modified: python-pylink-square/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-03 22:01:31 UTC (rev 1320845) +++ PKGBUILD 2022-10-03 22:27:56 UTC (rev 1320846) @@ -1,9 +1,8 @@ # Maintainer: David Runge <[email protected]> _name=pylink-square -_name_=pylink pkgname=python-pylink-square -pkgver=0.14.2 +pkgver=0.14.3 pkgrel=1 pkgdesc="Python interface for the SEGGER J-Link" arch=(any) @@ -15,24 +14,22 @@ conflicts=(pylink) provides=(pylink) replaces=(pylink) -# sdist on pypi.org has no tests: https://github.com/square/pylink/issues/119 -# source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -source=($_name_-$pkgver.tar.gz::https://github.com/square/pylink/archive/refs/tags/v$pkgver.tar.gz) -sha512sums=('bb285843753cab0f74bf99c6fe8c18b0123ec7926def04ac5cd8566cbf9c5d91335140c292ca75d6685e12f35060dad55eb48077d66ad16c72ba24237a5c5512') -b2sums=('d1dae1d08e7bdc187a423d949c4993ea1946c139c4386c9cc14327dc19d67942abf537f4e92af4354f8365d51856e6bf3909dd709487096d84e1d2b200b5fdc5') +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha512sums=('30622abc506f3892d283fa6e0cd9709b8cf22564b6139ebb7d0a42abd6b3b37fcbc6e5c99a40de67721ce0852d9d0998682763c0b06c64e6725bf65d1c18d06c') +b2sums=('c009c46285bf6e1fb774c062a0c897e2b5915c071afb908ba1e297a89d42505b1d11b45af17053f218718ec8230df799b194fb3355e8053956c6346d638a0a34') build() { - cd $_name_-$pkgver + cd $_name-$pkgver python -m build --wheel --skip-dependency-check --no-isolation } check() { - cd $_name_-$pkgver + cd $_name-$pkgver pytest -v } package() { - cd $_name_-$pkgver + cd $_name-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -vDm 644 *.md -t "$pkgdir/usr/share/doc/$pkgname" }
