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 py-cymruservices |
---|
8 | version 1.4 |
---|
9 | platforms darwin |
---|
10 | supported_archs noarch |
---|
11 | maintainers nomaintainer |
---|
12 | categories python security |
---|
13 | license GPL-3 |
---|
14 | description Python API for the Cymru Services: Bogon Reference, \ |
---|
15 | IP to ASN Mapping Project, Malware Hash Registry |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://pypi.python.org/pypi/cymru-services |
---|
19 | distname cymru-services-${version} |
---|
20 | master_sites https://pypi.python.org/packages/source/c/cymru-services/ |
---|
21 | |
---|
22 | checksums rmd160 205508bcd62c8ca2e563576c216016a7d0a72a69 \ |
---|
23 | sha256 f8d5ceebcbec963ace0ff57069d33077bc71856fa9e9de9661818fc90da92ac5 |
---|
24 | |
---|
25 | python.versions 24 25 26 27 33 |
---|
26 | python.default_version 27 |
---|
27 | |
---|
28 | # BUGS: ip2asn & bogon |
---|
29 | # AttributeError: 'module' object has no attribute 'ip_address' |
---|
30 | # mhr: OK |
---|
31 | patchfiles patch-cymru-__init__.py.diff |
---|
32 | |
---|
33 | if {${name} ne ${subport}} { |
---|
34 | depends_run-append port:py${python.version}-ipaddr port:py${python.version}-adns |
---|
35 | } |
---|
36 | |
---|
37 | livecheck.type regex |
---|
38 | livecheck.url ${homepage} |
---|
39 | livecheck.regex "<a href=\"/pypi/cymru-services/.*?\">(\\d+(?:\\.\\d+)*)</a>" |
---|