Date: Tuesday, January 31, 2023 @ 19:44:49 Author: felixonmars Revision: 1391482
upgpkg: python-jaraco.context 4.2.0-2 Modified: python-jaraco.context/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-31 19:43:05 UTC (rev 1391481) +++ PKGBUILD 2023-01-31 19:44:49 UTC (rev 1391482) @@ -2,32 +2,30 @@ pkgname=python-jaraco.context pkgver=4.2.0 -pkgrel=1 +_commit=5bf0042ef434aa8924a771a405ae29e4c0110c1e +pkgrel=2 pkgdesc="Context managers by jaraco" url="https://github.com/jaraco/jaraco.context" license=('MIT') arch=('any') depends=('python') -makedepends=('python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel') +makedepends=('git' 'python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel') checkdepends=('python-pytest') -source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('3e4dcff86c02e4a297c3e26180c07a5c58375713f878c490f5908ef373f1126ea353ca3009befee0233269570f260476182833310f8437f37d58a58be1aaf480') +source=("git+https://github.com/jaraco/jaraco.context.git#commit=$_commit") +sha512sums=('SKIP') -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - build() { - cd jaraco.context-$pkgver + cd jaraco.context python -m build -wn } check() { - cd jaraco.context-$pkgver + cd jaraco.context python -m pytest } package() { - cd jaraco.context-$pkgver + cd jaraco.context python -m installer -d "$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
