# -*- 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 name py-magic version 0.4.3 revision 0 categories-append devel license PSF platforms darwin supported_archs noarch maintainers stromnov openmaintainer description File type identification using libmagic long_description Determines the mime type of a file using magic \ numbers. Can also operate on arbitrary data streams. \ Much like the Unix file(1) program. homepage http://github.com/ahupp/python-magic master_sites http://pypi.python.org/packages/source/p/python-magic/ distname python-magic-${version} checksums rmd160 f0ecd397e69782088d63b2ead30ffd04e76f0ac5 \ sha256 d49a5f1b51dce2b0313bf147a1ff96da25037fe2279cab386731e05f3b232937 python.versions 25 26 27 32 33 if {$subport != $name} { depends_build port:py${python.version}-setuptools depends_lib-append \ port:file livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex "python-magic-(\\d+(?:\\.\\d+)*)${extract.suffix}" }