aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mkmr/APKBUILD
blob: f4f89816fa342678f5712207ed4c291cf45d55e4 (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.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
	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="97e1b76f6ed308561c55f15c276dd526036b568c737dc7298a7b87aa3f1e47dc59354f8e99c9506451f1703fe147002398feb3cd10722b368091c5495f518431  mkmr-0.0.9.tar.gz
b5a0f362debd4c1acaf684dd15dc019004ad804adb31d0c5cf47007dd91932c2b99027e0313cdf17d705edb4482af6dd7bb5ea7828422c349ffaa254dbe4dab7  37a6ca6a67624dc8ff9800e997dc0294445551a7.patch"