# -*- 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.6 revision 0 categories-append devel platforms darwin license PSF supported_archs noarch python.versions 25 26 27 32 33 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 b1af3f7e06dabbb1657bbf43ad0fef225e2f5f14 \ sha256 903d3d3c676e2b1244892954e2bbbe27871a633385a9bfe81f1a81a7032df2fe if {${name} ne ${subport}} { 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+)*)\.[tz]} }