| 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 | |
|---|
| 6 | PortGroup python 1.0 |
|---|
| 7 | |
|---|
| 8 | name py-maec |
|---|
| 9 | version 4.1.0.11 |
|---|
| 10 | license BSD |
|---|
| 11 | maintainers nomaintainer |
|---|
| 12 | description An API for parsing and creating MAEC content. |
|---|
| 13 | long_description ${description} |
|---|
| 14 | platforms darwin |
|---|
| 15 | homepage https://pypi.python.org/pypi/maec |
|---|
| 16 | master_sites https://pypi.python.org/packages/source/m/maec/ |
|---|
| 17 | distname maec-${version} |
|---|
| 18 | |
|---|
| 19 | checksums rmd160 21f1104857b30e21cbf8af7fc27e4756e740d392 \ |
|---|
| 20 | sha256 e0832611f68336a997d2be61980e7f1c29827df218be9277f6357f24649fb970 |
|---|
| 21 | |
|---|
| 22 | python.versions 27 34 |
|---|
| 23 | python.default_version 27 |
|---|
| 24 | |
|---|
| 25 | if {${name} ne ${subport}} { |
|---|
| 26 | depends_build port:py${python.version}-lxml port:py${python.version}-cybox |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | livecheck.type regex |
|---|
| 30 | livecheck.url ${homepage} |
|---|
| 31 | livecheck.regex "maec-(\\d+\\.\\d+\\.\\d+\\.\\d+).tar.gz" |
|---|
| 32 | |
|---|