# -*- 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-logilab-common if {$subport != "py24-logilab-common"} { version 0.58.3 } else { epoch 1 version 0.50.3 } license LGPL-2.1+ maintainers dh stromnov openmaintainer description A number of modules used by various projects from Logilab long_description ${description} platforms darwin homepage http://www.logilab.org/project/logilab-common master_sites http://download.logilab.org/pub/common/ \ ftp://ftp.logilab.fr/pub/common distname logilab-common-${version} if {$subport != "py24-logilab-common"} { checksums md5 d6ea36a311381de92b7d7de3ec69e018 \ sha1 da1c1b0ff9fd9f76166ef965209b29fa518b4503 \ rmd160 d104e8978c31824f9d7861a1c41937207dd69445 } else { checksums md5 b3ac2d2d3cc690c9446749048c177560 \ sha1 abf35852ce0030b2724b1beeacc42f3ca03934c5 \ rmd160 33ff2aa0216fcf717bf2e1b1063a6345bd98b51d } python.versions 24 25 26 27 if {$subport != $name} { # Extracted files do not have correct 'group' and 'other' permissions. post-extract { system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx" system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r" } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} ChangeLog README \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url http://ftp.logilab.org/pub/common/ livecheck.regex {logilab-common-(\d+(?:\.\d+)*)\.tar\.gz} }