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 ```
19 lines
601 B
Bash
19 lines
601 B
Bash
# Template file for 'python3-boltons'
|
|
pkgname=python3-boltons
|
|
version=20.2.1
|
|
revision=1
|
|
wrksrc="boltons-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Collection of functionality to be bolted on the standard lib"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/mahmoud/boltons"
|
|
distfiles="https://github.com/mahmoud/boltons/archive/${version}.tar.gz"
|
|
checksum=f5b63fba62bed021c5086e43b4cfdaf6c8396a3ae1ccdcb549b4eb2f36f8a794
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|