b6bcd8cd34
* daemontools and dmraid 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 ```
26 lines
857 B
Bash
26 lines
857 B
Bash
# Template file for 'duplicity'
|
|
pkgname=duplicity
|
|
version=0.8.18
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="gettext python3-setuptools_scm"
|
|
makedepends="python3-devel librsync-devel"
|
|
depends="python3-fasteners gnupg python3-future python3-urllib3"
|
|
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://duplicity.nongnu.org/"
|
|
changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md"
|
|
distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
|
|
checksum=2643fea0f52920a0fb114069c78389f9621f1c24db7f26bda77bbc239b01ae53
|
|
|
|
do_check() {
|
|
# Disable as tests don't work
|
|
# tests look for pytest,instead of pytest{2,3}
|
|
:
|
|
}
|
|
|
|
post_install() {
|
|
# drop doc
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
}
|