Date: Tuesday, January 31, 2023 @ 19:46:35 Author: felixonmars Revision: 1391484
upgpkg: python-jaraco.test 5.3.0-2 Modified: python-jaraco.test/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-31 19:45:03 UTC (rev 1391483) +++ PKGBUILD 2023-01-31 19:46:35 UTC (rev 1391484) @@ -2,32 +2,30 @@ pkgname=python-jaraco.test pkgver=5.3.0 -pkgrel=1 +_commit=fbbad0edd3b11b80e73f4a517c0518399e727b7c +pkgrel=2 pkgdesc="Testing support by jaraco" url="https://github.com/jaraco/jaraco.test" license=('MIT') arch=('any') depends=('python-jaraco.context' 'python-jaraco.functools') -makedepends=('python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer') +makedepends=('git' 'python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer') checkdepends=('python-pytest-enabler' 'python-pytest-mypy') -source=("https://github.com/jaraco/jaraco.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('a2fe426aeb5e9eec58d6bd86e6db7267a353e3543e4f27c70ece30ecd2e17cae5f99bbe7d1c5e3f02a05397c7cc9c3ef4f093386d3e92f7f09ab1fda1710672c') +source=("git+https://github.com/jaraco/jaraco.test.git#commit=$_commit") +sha512sums=('SKIP') -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - build() { - cd jaraco.test-$pkgver + cd jaraco.test python -m build --wheel --no-isolation } check() { - cd jaraco.test-$pkgver + cd jaraco.test python -m pytest } package() { - cd jaraco.test-$pkgver + cd jaraco.test python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
