# Contributor: Leo # Maintainer: Leo 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"