# Contributor: Oliver Smith # Maintainer: Oliver Smith pkgname=mrhlpr pkgver=1.1.1 pkgrel=0 pkgdesc="postmarketOS tools for interacting with gitlab MRs" url="https://gitlab.com/postmarketOS/mrhlpr" arch="noarch" license="GPL-3.0-or-later" depends="python3 git mrhlpr-common" makedepends="py3-setuptools" checkdepends="pytest" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketos/mrhlpr/-/archive/$pkgver/mrhlpr-$pkgver.tar.gz" options="!check" # no testsuite subpackages="mrhlpr-common mrtest" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } common() { depends="python3" amove usr/lib/python3*/site-packages/mrhlpr* } mrtest() { pkgdesc="Installs apks from pmaports/aports MRs" url="https://wiki.postmarketos.org/wiki/Mrtest" depends="mrhlpr-common" amove \ usr/lib/python3*/site-packages/mrtest \ usr/bin/mrtest } sha512sums=" e6a18c7fa23d678941f441810a8b196afa97771f79a9924d0c3b0d0848db4d110f974d19b179420c35f1e639e49173af733d5e6e0a0ece628ddf9db35b0f5c36 mrhlpr-1.1.1.tar.gz "