[114092] trunk/dports/python

mojca at macports.org mojca at macports.org
Thu Nov 28 15:16:16 PST 2013


Revision: 114092
          https://trac.macports.org/changeset/114092
Author:   mojca at macports.org
Date:     2013-11-28 15:16:16 -0800 (Thu, 28 Nov 2013)
Log Message:
-----------
py-pyke: unified portgroup with py27 32 33 34 (maintainer timeout, #41499)

  * use unified PortGroup
  * add support for Python 2.7, 3.2, 3.3, 3.4
  * add license and supported_archs noarch
  * update description
  * remove lib dependency (htmltemplate is used only for examples)
  * add co-maintainer

Modified Paths:
--------------
    trunk/dports/python/py-pyke/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pyke/

Removed Paths:
-------------
    trunk/dports/python/py26-pyke/

Modified: trunk/dports/python/py-pyke/Portfile
===================================================================
--- trunk/dports/python/py26-pyke/Portfile	2013-11-28 22:43:06 UTC (rev 114091)
+++ trunk/dports/python/py-pyke/Portfile	2013-11-28 23:16:16 UTC (rev 114092)
@@ -1,27 +1,46 @@
+# -*- 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
 # $Id$
 
-PortSystem      1.0
-PortGroup       python26 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name            py26-pyke
-version         1.1.1
-categories      python devel
-platforms       darwin
-maintainers     gmail.com:mahergamal
-description     Python Knowledge Engine (PyKE)
+name                py-pyke
+version             1.1.1
+categories-append   lang devel
+platforms           darwin
+supported_archs     noarch
+maintainers         gmail.com:mahergamal bo.ingv.it:peter.danecek
+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.
+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
+homepage            http://pyke.sourceforge.net
+master_sites        sourceforge:pyke
+distname            pyke-${version}
+use_zip             yes
 
-depends_lib     port:py26-htmltemplate
- 
-checksums       md5 b0f9daa278d9996bc742277126831001 \
-                sha1 2d657257fa2181d85fbfb69701b91226deb8b4e0 \
-                rmd160 4552fa7f20de373426b9adb27f758efb4536fcf6
+checksums           md5     b0f9daa278d9996bc742277126831001 \
+                    rmd160  4552fa7f20de373426b9adb27f758efb4536fcf6 \
+                    sha256  b0b294f435c6e6d2d4a80badf57d92cb66814dfe21e644a521901209e6a3f8ae
+
+python.versions     26 27 32 33 34
+
+if {${subport} ne ${name}} {
+
+    # Python 3: use a different distfile
+    if { ${python.version} >= 30 } {
+        distname    pyke3-${version}
+        worksrcdir  pyke-${version}
+
+        checksums   md5     a7d12d66d4c2ec12576a8187d3001384 \
+                    rmd160  101c41062a8d7d9fd3ea08e6c18a3f2cdeb180a8 \
+                    sha256  b877b390e70a2eacc01d97c3a992fde947276afc2798ca3ac6c6f74c796cb6dc
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131128/69671071/attachment.html>


More information about the macports-changes mailing list