source: trunk/dports/python/py-pyke/Portfile

Last change on this file was 141447, checked in by petr@…, 2 years ago

5 ports by petr: retire py26 and py33 subports, add py35 where appropriate

  • 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 141447 2015-10-18 23:46:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pyke
8version             1.1.1
9categories-append   lang devel
10platforms           darwin
11supported_archs     noarch
12maintainers         gmail.com:mahergamal petr
13license             MIT
14description         Python Knowledge Engine (PyKE)
15
16long_description    \
17    Pyke introduces a form of Logic Programming (inspired by Prolog) to \
18    the Python community by providing a knowledge-based inference engine \
19    (expert system) written in 100% Python. Both forward-chaining and \
20    backward-chaining rules (which may include python code) are compiled \
21    into python. Can also automatically assemble python programs out of \
22    Python functions which are attached to backward-chaining rules.
23
24homepage            http://pyke.sourceforge.net
25master_sites        sourceforge:pyke
26distname            pyke-${version}
27use_zip             yes
28
29checksums           md5     b0f9daa278d9996bc742277126831001 \
30                    rmd160  4552fa7f20de373426b9adb27f758efb4536fcf6 \
31                    sha256  b0b294f435c6e6d2d4a80badf57d92cb66814dfe21e644a521901209e6a3f8ae
32
33python.versions     27 34 35
34
35if {${name} ne ${subport}} {
36
37    # Python 3: use a different distfile
38    if { ${python.version} >= 30 } {
39        distname    pyke3-${version}
40        worksrcdir  pyke-${version}
41
42        checksums   md5     a7d12d66d4c2ec12576a8187d3001384 \
43                    rmd160  101c41062a8d7d9fd3ea08e6c18a3f2cdeb180a8 \
44                    sha256  b877b390e70a2eacc01d97c3a992fde947276afc2798ca3ac6c6f74c796cb6dc
45    }
46   
47    livecheck.type  none
48}
Note: See TracBrowser for help on using the repository browser.