source: trunk/dports/sysutils/duplicity/Portfile

Last change on this file was 152544, checked in by raimue@…, 13 months ago

sysutils/duplicity: update to version 0.7.10

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