Ticket #23598: duplicity.diff
File duplicity.diff, 3.3 KB (added by nerdling (Jeremy Lavergne), 15 years ago) |
---|
-
Portfile
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 2 2 # $Id$ 3 3 4 PortSystem 1.0 4 PortSystem 1.0 5 PortGroup python26 1.0 5 6 6 name duplicity 7 version 0.6.06 8 categories sysutils 9 platforms darwin 10 maintainers singingwolfboy openmaintainer 7 name py26-duplicity 8 categories sysutils 9 version 0.6.06 10 set stable_series [join [lrange [split ${version} .] 0 1] .]-series 11 platforms darwin 12 maintainers singingwolfboy openmaintainer 11 13 12 14 description Encrypted bandwidth-efficient backup. 13 15 long_description Duplicity backs directories by producing encrypted \ … … 18 20 encrypt and/or sign these archives, they will be safe from spying \ 19 21 and/or modification by the server. 20 22 21 set stable_series 0.6-series 22 homepage http://duplicity.nongnu.org/23 master_sites https://launchpad.net/duplicity/${stable_series}/${version}/+download23 distname duplicity-${version} 24 homepage http://duplicity.nongnu.org/ 25 master_sites https://launchpad.net/duplicity/${stable_series}/${version}/+download 24 26 25 27 checksums md5 abbbbcde4af24efffbc218583d581453 \ 26 28 sha1 45bc382f5d1b05960d3b45492b3e2c44a0ea7688 \ 27 29 rmd160 7867fba4fc5a250a0030034dd89fef74df3dfbbd 28 30 31 build.args --librsync-dir=${prefix} 32 universal_variant no 33 python.link_binaries yes 34 35 depends_run-append port:py26-gnupg \ 36 port:py26-boto \ 37 port:ncftp 38 29 39 depends_lib-append port:librsync \ 30 40 port:gnupg 31 41 32 depends_run-append port:ncftp33 34 build.args --librsync-dir=${prefix}35 36 universal_variant no37 38 if {![variant_isset python25] && ![variant_isset python26]} {39 default_variants +python2640 }41 42 variant python25 description {Uses Python 2.5} conflicts python26 {43 PortGroup python25 1.044 depends_run-append port:py25-gnupg \45 port:py25-boto46 # setting the PortGroup clears a lot of other settings, which means47 # we need to remind MacPorts about them.48 categories sysutils49 depends_lib-append port:librsync \50 port:gnupg51 }52 53 variant python26 description {Uses Python 2.6} conflicts python25 {54 PortGroup python26 1.055 depends_run-append port:py26-gnupg \56 port:py26-boto57 # setting the PortGroup clears a lot of other settings, which means58 # we need to remind MacPorts about them.59 categories sysutils60 depends_lib-append port:librsync \61 port:gnupg62 # this is apparently required due to the way Python 2.6 installs as63 # a framework64 post-destroot {65 PortGroup python26 1.066 ln -s ${python.prefix}/bin/duplicity ${destroot}${prefix}/bin/67 }68 }69 70 42 livecheck.type regex 71 43 livecheck.url https://launchpad.net/duplicity/+download 72 44 livecheck.regex {duplicity-(\d+(?:\.\d+)*).tar.gz}