Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (40 sloc) 1.65 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-logilab-common
version 1.4.2
revision 0
categories-append devel
platforms darwin
license LGPL-2.1+
supported_archs noarch
python.versions 27 34 35 36 37
maintainers {stromnov @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 22202df3ea15bef7eb355a31d8563d8089377cde \
sha256 cdda9ed0deca7c68f87f7a404ad742e47aaa1ca5956d12988236a5ec3bda13a0 \
size 178825
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools \
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
}
You can’t perform that action at this time.