# -*- 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 realname cogapp name py-cog version 2.4 platforms darwin supported_archs noarch license MIT maintainers nomaintainer description Cog is a code generation tool. It lets you use pieces of Python \ code as generators in your source files to generate whatever code \ you need. long_description ${description} homepage http://nedbatchelder.com/code/cog/ master_sites pypi:c/${realname} distname ${realname}-${version} checksums rmd160 15e5bea87f033ceb603c95ac00b37dc7ef8fe8ad \ sha256 5b71a8cfd8dcfd7c408d2ab0f25a4cd546a2d03f8cd99475f775ba79a75a7ba3 python.versions 27 34 if {${name} ne ${subport}} { post-destroot { file delete ${destroot}${python.prefix}/bin/test_cog.py } livecheck.type none } else { livecheck.regex ${realname}-(\[0-9.\]+)${extract.suffix} livecheck.url https://pypi.python.org/pypi/${realname} }