aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mkmr/APKBUILD
blob: b7252acef49e6aa543b6631be132cc465eaa7dd3 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=mkmr
pkgver=0.0.8
pkgrel=1
pkgdesc="Make merge requests in any GitLab repo conveniently"
options="!check" # No testsuite
url="https://github.com/maxice8/mkmr"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	python3
	py3-setuptools
	py3-gitlab
	py3-gitpython
	py3-python-editor
	py3-inquirer
	py3-giturlparse
	"
source="https://files.pythonhosted.org/packages/source/m/mkmr/mkmr-$pkgver.tar.gz
	https://github.com/maxice8/mkmr/commit/37a6ca6a67624dc8ff9800e997dc0294445551a7.patch
	"

prepare() {
	default_prepare
	# Flit is dumb, use setuptools instead of distutilsc.core
	sed -i 's|distutils.core|setuptools|' setup.py
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="89a2b7b01a08b6e511cf0f28f3a61097a835a71b01dffc6c36734c77d470bd620334d073e5ad4086f3e4feb16245ac1f0d872c54438ee947d61376a254dd28d0  mkmr-0.0.8.tar.gz
b5a0f362debd4c1acaf684dd15dc019004ad804adb31d0c5cf47007dd91932c2b99027e0313cdf17d705edb4482af6dd7bb5ea7828422c349ffaa254dbe4dab7  37a6ca6a67624dc8ff9800e997dc0294445551a7.patch"