# -*- 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 version 1.2.2 revision 0 categories-append devel platforms darwin license LGPL-2.1+ supported_archs noarch python.versions 27 33 34 35 maintainers stromnov openmaintainer description A number of modules used by various projects from Logilab long_description ${description} homepage http://www.logilab.org/project/logilab-common master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} distname logilab-common-${version} checksums rmd160 3318408146b35ec8804a1969e7b90343292754c9 \ sha256 62b0d88d9276e86b48c7188cea8d91d8ff1744d046ea6323d40359aa53aef708 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools depends_lib-append port:py${python.version}-six # Fix permissions post-extract { fs-traverse item ${worksrcpath} { if {[file isdirectory ${item}]} { file attributes ${item} -permissions a+rx } elseif {[file isfile ${item}]} { file attributes ${item} -permissions 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 pypi }