# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-voeventlib set my_name VOEventLib version 0.3 categories python science devel platforms darwin supported_archs noarch maintainers ram description Reference implementation and parser for VOEvent2 long_description \ The reference implementation, and parser, for the VOEvent2 XML \ specification \[International Virtual Observatory Alliance \ \(IVOA\)\], which is a standardized language used to report \ observations of astronomical events. distname ${my_name}-${version} homepage http://lib.skyalert.org/VOEventLib/ master_sites ${homepage} checksums rmd160 20a8f565ce9b71621e949aea00750b78998a0481 \ sha256 a08d4c4a4918cc47d15c2bab60a7913162e7e309420297fbfcc1f0abd9765bec python.versions 24 25 26 27 if {${name} ne ${subport}} { patchfiles patch-fix_version.diff depends_lib-append port:py${python.version}-lxml } if {${name} eq ${subport}} { livecheck.type regex livecheck.url ${homepage} livecheck.regex {version (\d+(?:\.\d+)*)} } else { livecheck.type none }