49cb564d14
* par is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
18 lines
591 B
Bash
18 lines
591 B
Bash
# Template file for 'python3-gitchangelog'
|
|
pkgname=python3-gitchangelog
|
|
version=3.0.4
|
|
revision=4
|
|
wrksrc="gitchangelog-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
depends="python3-pystache python3-Mako"
|
|
short_desc="Creates a changelog from git log history"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/vaab/gitchangelog"
|
|
distfiles="${PYPI_SITE}/g/gitchangelog/gitchangelog-${version}.tar.gz"
|
|
checksum=3d8d6a730450fbd5b0a9bc58d0dd3e269c967d7eb4fece0c5cff4372a3f77421
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|