aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mkmr/APKBUILD
blob: d54ec29760510f6090303c6d176d03abc0030ef3 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=mkmr
pkgver=0.0.9
pkgrel=0
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"

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="97e1b76f6ed308561c55f15c276dd526036b568c737dc7298a7b87aa3f1e47dc59354f8e99c9506451f1703fe147002398feb3cd10722b368091c5495f518431  mkmr-0.0.9.tar.gz"