source: trunk/dports/python/py-hgsvn/Portfile

Last change on this file was 150724, checked in by petr@…, 12 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-hgsvn
8version                 0.1.9
9categories-append       devel
10platforms               darwin
11license                 GPL-3+
12maintainers             nomaintainer
13
14description             hgsvn is a set of scripts for Subversion and Mercurial
15long_description        This set of scripts allows to work locally on \
16                        Subversion-managed projects using the Mercurial \
17                        distributed version control system.
18
19homepage                http://pypi.python.org/pypi/hgsvn
20master_sites            pypi:h/hgsvn
21distname                hgsvn-${version}
22
23checksums               rmd160  3f6c9b0bbda5c8454478436d0c0589e04d8394e1 \
24                        sha256  de45c04a1b3c3e104fcfc99973609239240c3b22789b6e87e29323c7b86c333f
25
26python.versions         27
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:py${python.version}-setuptools \
30                        port:mercurial \
31                        port:subversion
32
33    post-destroot {
34        xinstall -m 644 -W ${worksrcpath} \
35            AUTHORS.txt COPYING.txt README.txt TODO.txt \
36            ${destroot}${prefix}/share/doc/${subport}
37    }
38
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${homepage}
43    livecheck.regex     hgsvn (\\d+(\\.\\d+)+)
44}
Note: See TracBrowser for help on using the repository browser.