# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-importchecker version 1.0 revision 1 categories python devel platforms darwin maintainers nomaintainer description python module/script to find unused imports in python code long_description importchecker is a script/module that can determine \ unused imports in a Python source tree or package. If \ run as a script, it will return a sorted list of paths \ to modules that have unused imports. At the end of \ each line is a list of the names that are imported but \ not used. homepage http://www.zope.org/Members/faassen/importchecker master_sites ${homepage}/importchecker-${version}/ distfiles importchecker-${version}.tgz checksums md5 e78e4cd3288206e858154ddbfa3a9b3b worksrcdir importchecker post-destroot { xinstall -m 755 ${filespath}/importchecker ${destroot}${prefix}/bin reinplace "s|__PYTHON__|${python.bin}|g" \ ${destroot}${prefix}/bin/importchecker xinstall -m 644 -W ${worksrcpath} CREDITS.txt HISTORY.txt INSTALL.txt \ LICENSE.txt README.txt version.txt \ ${destroot}${prefix}/share/doc/${name} }