[142563] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Sat Dec 12 06:17:16 PST 2015


Revision: 142563
          https://trac.macports.org/changeset/142563
Author:   stromnov at macports.org
Date:     2015-11-15 11:53:01 -0800 (Sun, 15 Nov 2015)
Log Message:
-----------
py-tpot: new port

Added Paths:
-----------
    trunk/dports/python/py-tpot/
    trunk/dports/python/py-tpot/Portfile
    trunk/dports/python/py-tpot/files/
    trunk/dports/python/py-tpot/files/patch-setup.py.diff

Added: trunk/dports/python/py-tpot/Portfile
===================================================================
--- trunk/dports/python/py-tpot/Portfile	                        (rev 0)
+++ trunk/dports/python/py-tpot/Portfile	2015-11-15 19:53:01 UTC (rev 142563)
@@ -0,0 +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           python 1.0
+
+name                py-tpot
+version             0.1.2
+revision            0
+categories-append   devel math science
+platforms           darwin
+license             GPL-3
+supported_archs     noarch
+
+python.versions     27 34 35
+
+maintainers         stromnov openmaintainer
+
+description         Tree-based Pipeline Optimization Tool
+
+long_description    A Python tool that automatically creates and optimizes \
+                    Machine Learning pipelines using genetic programming.
+
+homepage            https://github.com/rhiever/tpot
+master_sites        pypi:T/TPOT
+
+distname            TPOT-${version}
+
+checksums           rmd160  103af28775928bd0c506587c42a597e0fdd6c83a \
+                    sha256  7670b9f98dc1ef6f643af83f2c4cea380873a4d08f0d476669858f9953cca636
+
+if {${name} ne ${subport}} {
+    depends_build-append \
+                        port:py${python.version}-setuptools
+    depends_lib-append  port:py${python.version}-numpy \
+                        port:py${python.version}-pandas \
+                        port:py${python.version}-scikit-learn \
+                        port:py${python.version}-deap
+
+    patchfiles-append   patch-setup.py.diff
+
+    livecheck.type      none
+} else {
+    livecheck.name      TPOT
+    livecheck.type      pypi
+}


Property changes on: trunk/dports/python/py-tpot/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py-tpot/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-tpot/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-tpot/files/patch-setup.py.diff	2015-11-15 19:53:01 UTC (rev 142563)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-11-15 14:32:13.000000000 +0300
++++ setup.py	2015-11-15 14:32:53.000000000 +0300
+@@ -10,7 +10,7 @@
+ 
+ def calculate_version():
+     initpy = open('tpot/__init__.py').read().split('\n')
+-    version = next(filter(lambda x: '__version__' in x, initpy)).split('\'')[1]
++    version = list(filter(lambda x: '__version__' in x, initpy))[0].split('\'')[1]
+     return version
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2c6a1723/attachment.html>


More information about the macports-changes mailing list