Files
2019-11-20 07:44:51 -05:00

49 lines
1.7 KiB
Tcl

# -*- 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-pyke
version 1.1.1
revision 0
categories-append lang devel
platforms darwin
supported_archs noarch
maintainers {gmail.com:mahergamal @maherg} {petr @petrrr}
license MIT
description Python Knowledge Engine (PyKE)
long_description \
Pyke introduces a form of Logic Programming (inspired by Prolog) to \
the Python community by providing a knowledge-based inference engine \
(expert system) written in 100% Python. Both forward-chaining and \
backward-chaining rules (which may include python code) are compiled \
into python. Can also automatically assemble python programs out of \
Python functions which are attached to backward-chaining rules.
homepage http://pyke.sourceforge.net
master_sites sourceforge:pyke
distname pyke-${version}
use_zip yes
checksums rmd160 4552fa7f20de373426b9adb27f758efb4536fcf6 \
sha256 b0b294f435c6e6d2d4a80badf57d92cb66814dfe21e644a521901209e6a3f8ae \
size 1893908
python.versions 27 35 36 37
if {${name} ne ${subport}} {
# Python 3: use a different distfile
if { ${python.version} >= 30 } {
distname pyke3-${version}
worksrcdir pyke-${version}
checksums rmd160 101c41062a8d7d9fd3ea08e6c18a3f2cdeb180a8 \
sha256 b877b390e70a2eacc01d97c3a992fde947276afc2798ca3ac6c6f74c796cb6dc \
size 1903051
}
livecheck.type none
}