Ticket #44587: Portfile

File Portfile, 1.1 KB (added by gorticus (Jason Mitchell), 10 years ago)

updated portfile based on feedback from other portfile submissions

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-off set: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        secynic ipwhois 0.9.0 v
9
10name                py-${name}
11categories-append   net devel
12license             BSD
13platforms           darwin
14supported_archs     noarch
15maintainers         maiar.org:jason-macports openmaintainer
16
17description         ${name} is a simple package for retrieving and parsing \
18                    whois data for IPv4 and IPv6 addresses.
19long_description    ${description}
20
21checksums           rmd160   06f14990dfc2ba792fef02c36d7b909a7cc46fac \
22                    sha256   258c6925aa5b85428db5b4f8c6af3e1f61f2e4f04a51552b4e59aacbe9203e06
23
24python.versions     27 34
25
26if {${name} ne ${subport}} {
27    depends_build-append    port:py${python.version}-setuptools
28    depends_lib-append      port:py${python.version}-dnspython
29
30    if {${python.version} < 30} {
31        depends_lib-append   port:py${python.version}-ipaddr
32    }
33
34    livecheck.type          none
35}