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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pyke |
---|
8 | version 1.1.1 |
---|
9 | categories-append lang devel |
---|
10 | platforms darwin |
---|
11 | supported_archs noarch |
---|
12 | maintainers bo.ingv.it:Peter.Danecek openmaintainer |
---|
13 | |
---|
14 | license MIT |
---|
15 | |
---|
16 | description Python Knowledge Engine (PyKE) |
---|
17 | |
---|
18 | long_description \ |
---|
19 | Pyke introduces a form of Logic Programming (inspired by Prolog) to \ |
---|
20 | the Python community by providing a knowledge-based inference engine \ |
---|
21 | (expert system) written in 100% Python. Both forward-chaining and \ |
---|
22 | backward-chaining rules (which may include python code) are compiled \ |
---|
23 | into python. Can also automatically assemble python programs out of \ |
---|
24 | Python functions which are attached to backward-chaining rules. |
---|
25 | |
---|
26 | homepage http://pyke.sourceforge.net |
---|
27 | |
---|
28 | master_sites sourceforge:pyke |
---|
29 | distname pyke-${version} |
---|
30 | use_zip yes |
---|
31 | |
---|
32 | checksums md5 b0f9daa278d9996bc742277126831001 \ |
---|
33 | rmd160 4552fa7f20de373426b9adb27f758efb4536fcf6 \ |
---|
34 | sha256 b0b294f435c6e6d2d4a80badf57d92cb66814dfe21e644a521901209e6a3f8ae |
---|
35 | |
---|
36 | python.versions 26 27 32 33 34 |
---|
37 | |
---|
38 | if {${subport} ne ${name}} { |
---|
39 | set py_major [string index ${python.version} 0] |
---|
40 | |
---|
41 | # Python 3: use different distfile |
---|
42 | if { ${py_major} > 2 } { |
---|
43 | distname \ |
---|
44 | pyke${py_major}-${version} |
---|
45 | |
---|
46 | checksums \ |
---|
47 | md5 a7d12d66d4c2ec12576a8187d3001384 \ |
---|
48 | rmd160 101c41062a8d7d9fd3ea08e6c18a3f2cdeb180a8 \ |
---|
49 | sha256 b877b390e70a2eacc01d97c3a992fde947276afc2798ca3ac6c6f74c796cb6dc |
---|
50 | } |
---|
51 | } |
---|