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 ```
20 lines
789 B
Bash
20 lines
789 B
Bash
# Template file for 'python3-repoze.sphinx.autointerface'
|
|
pkgname=python3-repoze.sphinx.autointerface
|
|
version=0.8
|
|
revision=4
|
|
wrksrc="repoze.sphinx.autointerface-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-zope.interface python3-Sphinx python3-setuptools"
|
|
checkdepends="$depends"
|
|
short_desc="Sphinx extension to auto-generate API docs from Zope interfaces"
|
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
|
license="BSD-4-Clause"
|
|
homepage="https://github.com/repoze/repoze.sphinx.autointerface/"
|
|
distfiles="${PYPI_SITE}/r/repoze.sphinx.autointerface/repoze.sphinx.autointerface-${version}.tar.gz"
|
|
checksum=8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
vlicense COPYRIGHT.txt
|
|
}
|