blob: ca50d781643bdfb3004b694016110dc787e6a935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
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
"
|