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.1
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=81ca59d29f3d555c1c4885384f5be33b2a1e637bb8e01f64a8605e9a5f6db6bb
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
}