source: trunk/dports/sysutils/duplicity/Portfile @ 147656

Last change on this file since 147656 was 147656, checked in by raimue@…, 3 years ago

sysutils/duplicity:
Ensure to use interpreter provided by python27 port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 147656 2016-04-11 21:54:13Z raimue@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                duplicity
8categories          sysutils
9
10version             0.7.06
11revision            1
12
13checksums           rmd160  228988dd41664f18f1103b0e0c89ec17865c889a \
14                    sha256  0075595edb894399cf00fae9154aae93a07eaadc031fede5df4cc595436c7f8c
15
16set stable_series   [join [lrange [split ${version} .] 0 1] .]-series
17platforms           darwin
18license             GPL-2
19maintainers         nomaintainer
20
21description   Encrypted bandwidth-efficient backup.
22
23long_description  Duplicity backs up directories by producing encrypted \
24      tar-format volumes and uploading them to a remote or local file \
25      server. Because duplicity uses librsync, the incremental archives \
26      are space efficient and only record the parts of files that have \
27      changed since the last backup. Because duplicity uses GnuPG to \
28      encrypt and/or sign these archives, they will be safe from spying \
29      and/or modification by the server.
30
31distname            duplicity-${version}
32homepage            http://duplicity.nongnu.org/
33master_sites        https://launchpad.net/duplicity/${stable_series}/${version}/+download
34
35python.default_version 27
36
37post-patch {
38    foreach f {duplicity rdiffdir} {
39        reinplace "s|^#!/usr/bin/env python2$|#!${python.bin}|" ${worksrcpath}/bin/$f
40    }
41}
42
43build.args          --librsync-dir=${prefix}
44post-destroot {
45    xinstall -m 644 -W ${worksrcpath}/bin \
46        ${name}.1 \
47        rdiffdir.1 \
48        ${destroot}${prefix}/share/man/man1/
49}
50
51depends_build-append    port:py${python.version}-setuptools \
52                        port:py${python.version}-rbtools \
53                        port:py${python.version}-nose \
54                        port:py${python.version}-pip
55
56depends_run-append  port:py${python.version}-boto \
57                    port:py${python.version}-lockfile \
58                    port:py${python.version}-paramiko \
59                    port:ncftp
60
61depends_lib-append  port:librsync \
62                    port:gnupg
63
64livecheck.type    regex
65livecheck.url     https://launchpad.net/duplicity/+download
66livecheck.regex   {duplicity-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.