source: trunk/dports/python/py-logilab-common/Portfile

Last change on this file was 149988, checked in by mf2k@…, 15 months ago

py-apycot py-cog py-dateutil py-epydoc py-logilab-common py-mako py-numpy py-pylint sqsh: Ports abandoned by dh. (#51239)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 149988 2016-07-07 18:55:53Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-logilab-common
8version             1.2.2
9revision            0
10categories-append   devel
11platforms           darwin
12license             LGPL-2.1+
13supported_archs     noarch
14
15python.versions     27 33 34 35
16
17maintainers         stromnov openmaintainer
18
19description         A number of modules used by various projects from Logilab
20long_description    ${description}
21
22homepage            http://www.logilab.org/project/logilab-common
23master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
24
25distname            logilab-common-${version}
26
27checksums           rmd160  3318408146b35ec8804a1969e7b90343292754c9 \
28                    sha256  62b0d88d9276e86b48c7188cea8d91d8ff1744d046ea6323d40359aa53aef708
29
30if {${name} ne ${subport}} {
31    depends_build-append \
32                        port:py${python.version}-setuptools
33    depends_lib-append  port:py${python.version}-six
34
35    # Fix permissions
36    post-extract {
37        fs-traverse item ${worksrcpath} {
38            if {[file isdirectory ${item}]} {
39                file attributes ${item} -permissions a+rx
40            } elseif {[file isfile ${item}]} {
41                file attributes ${item} -permissions a+r
42            }
43        }
44    }
45
46    post-destroot {
47        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
48        xinstall -m 644 -W ${worksrcpath} ChangeLog README \
49        ${destroot}${prefix}/share/doc/${subport}
50    }
51
52    livecheck.type      none
53} else {
54    livecheck.type      pypi
55}
Note: See TracBrowser for help on using the repository browser.