Date: Thursday, February 9, 2023 @ 21:42:03 Author: felixonmars Revision: 1399095
upgpkg: python-argh 0.27.0-1 Modified: python-argh/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-09 21:42:02 UTC (rev 1399094) +++ PKGBUILD 2023-02-09 21:42:03 UTC (rev 1399095) @@ -2,25 +2,26 @@ # Contributor: Francois Boulogne <fboulogne at april dot org> pkgname=python-argh -pkgver=0.26.2 -pkgrel=10 +pkgver=0.27.0 +_commit=e24a4c55fd8c4684122bc6e311215fd234a02a74 +pkgrel=1 pkgdesc="An unobtrusive argparse wrapper with natural syntax" arch=(any) url="https://pypi.python.org/pypi/argh" license=('LGPL3') depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest' 'python-mock' 'python-iocapture') -source=("https://github.com/neithere/argh/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('eb5476ac788e5c4f5e01825455630218aba055c29240637988f4c99532e7bdb6') +makedepends=('git' 'python-setuptools') +checkdepends=('python-pytest' 'python-iocapture') +source=("git+https://github.com/neithere/argh.git#commit=$_commit") +sha256sums=('SKIP') build() { - cd argh-$pkgver + cd argh python setup.py build } check() { - cd argh-$pkgver + cd argh # https://github.com/neithere/argh/issues/148#issuecomment-981508602 pytest --deselect test/test_integration.py::test_invalid_choice \ --deselect test/test_integration.py::test_explicit_cmd_name @@ -27,6 +28,6 @@ } package() { - cd argh-$pkgver + cd argh python setup.py install --root="$pkgdir" --optimize=1 }
