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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name github-backup |
---|
8 | set _n [string index ${name} 0] |
---|
9 | version 0.9.0 |
---|
10 | platforms darwin |
---|
11 | license MIT |
---|
12 | maintainers gmail.com:davide.liessi openmaintainer |
---|
13 | |
---|
14 | description Backup a GitHub user or organization |
---|
15 | long_description ${description} |
---|
16 | |
---|
17 | homepage http://github.com/josegonzalez/python-github-backup |
---|
18 | master_sites https://pypi.python.org/packages/source/${_n}/${name} |
---|
19 | |
---|
20 | checksums rmd160 221e594dd54c1777f806830149c4e08a65514c2f \ |
---|
21 | sha256 375edd04b5bec475135f9e152142f98ef49457071426ab2fbdf29cb9170f0271 |
---|
22 | |
---|
23 | python.default_version 27 |
---|
24 | |
---|
25 | if {${name} ne ${subport}} { |
---|
26 | depends_build-append \ |
---|
27 | port:py${python.version}-setuptools |
---|
28 | |
---|
29 | livecheck.type none |
---|
30 | } else { |
---|
31 | livecheck.type regex |
---|
32 | livecheck.url https://pypi.python.org/pypi/${name} |
---|
33 | livecheck.regex ">${name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" |
---|
34 | } |
---|