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

Last change on this file was 143086, checked in by stromnov@…, 20 months ago

py-logilab-constraint: update homepage link

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 143086 2015-12-03 10:48:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-logilab-constraint
8version             0.6.0
9revision            0
10categories-append   devel
11platforms           darwin
12license             GPL-2+
13supported_archs     noarch
14
15python.versions     27 35
16
17maintainers         stromnov openmaintainer
18
19description         python module for solving constraint satisfaction problems
20
21long_description    The constraint package is a constraint satisfaction \
22                    problem solver written in 100% pure Python, using \
23                    constraint propagation algorithms. So far, facilities \
24                    are provided to work with finite domains only.
25
26homepage            https://www.logilab.org/project/logilab-constraint
27master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
28
29distname            ${python.rootname}-${version}
30
31checksums           rmd160  837ae8246892162f5886b2ee477ea0f9f7899bba \
32                    sha256  8f494b26ab584c24c156a569fabe16424b482907cc6f8cfdf6c40619498d1dd8
33
34if {${name} ne ${subport}} {
35    depends_lib-append  port:py${python.version}-logilab-common
36
37    post-destroot   {
38        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
39        xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
40
41        xinstall -m 644 -W ${worksrcpath} \
42            doc/CONTRIBUTORS doc/documentation.html doc/documentation.xml \
43            README COPYING ChangeLog \
44            ${destroot}${prefix}/share/doc/${subport}
45        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
46            ${destroot}${prefix}/share/examples/${subport}
47
48        file delete ${destroot}${python.pkgd}/logilab/__init__.py
49    }
50
51    livecheck.type      none
52} else {
53    livecheck.type      pypi
54}
Note: See TracBrowser for help on using the repository browser.