# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name xmltodict set _n [string index ${_name} 0] name py-${_name} version 0.9.2 categories-append devel platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description Makes working with XML feel like you are working with JSON long_description This Python module makes working with XML feel like you \ are working with JSON. homepage https://github.com/martinblech/xmltodict distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 ab17e53214a8613ad87968e9674d75dd \ rmd160 997dfcb0f843979e9384121b270480bcbef40967 \ sha256 275d1e68c95cd7e3ee703ddc3ea7278e8281f761680d6bdd637bcd00a5c59901 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools # add documents post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 644 -W ${worksrcpath} \ README.md \ LICENSE \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }