void-packages/srcpkgs/git-delete-merged-branches/template

25 lines
1013 B
Bash

# Template file for 'git-delete-merged-branches'
pkgname=git-delete-merged-branches
version=7.4.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-colorama python3-prompt_toolkit"
checkdepends="${depends} python3-parameterized python3-pytest"
short_desc="CLI tool to delete merged git branches"
maintainer="icp <pangolin@vivaldi.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/hartwork/git-delete-merged-branches"
changelog="https://github.com/hartwork/git-delete-merged-branches/releases"
distfiles="${PYPI_SITE}/g/git-delete-merged-branches/git-delete-merged-branches-${version}.tar.gz"
checksum=b976b7b2210a1dab728e654e1b023f8e5309d98dc14730bfb613e893604847e5
make_check_pre="env PATH=/usr/libexec/chroot-git:${PATH}"
post_install() {
rm -r ${DESTDIR}/${py3_sitelib}/git_delete_merged_branches/tests
# resolve conflicts against git-extras
rm ${DESTDIR}/usr/bin/git-delete-merged-branches
rm ${DESTDIR}/usr/share/man/man1/git-delete-merged-branches.1
}