[115151] trunk/dports/python/py-gensim/Portfile

hum at macports.org hum at macports.org
Thu Dec 26 17:03:41 PST 2013


Revision: 115151
          https://trac.macports.org/changeset/115151
Author:   hum at macports.org
Date:     2013-12-26 17:03:41 -0800 (Thu, 26 Dec 2013)
Log Message:
-----------
py-gensim: update to 0.8.9; install additional documents.

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

Modified: trunk/dports/python/py-gensim/Portfile
===================================================================
--- trunk/dports/python/py-gensim/Portfile	2013-12-27 00:17:01 UTC (rev 115150)
+++ trunk/dports/python/py-gensim/Portfile	2013-12-27 01:03:41 UTC (rev 115151)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-gensim
-version             0.8.8
+version             0.8.9
 categories-append   textproc
 maintainers         hum openmaintainer
 supported_archs     noarch
@@ -22,8 +22,8 @@
 license             LGPL
 
 master_sites        https://pypi.python.org/packages/source/g/gensim/
-checksums           rmd160  a2e794ba9a4422c7dea96aba601193f58c98778b \
-                    sha256  398a2e7ba1aa47c946cbf49d3ac315bf640cfd9a64d341ee691325015a85b899
+checksums           rmd160  8f8912e1cb1b53e0294b4be81025d3218ba65cd1 \
+                    sha256  dbbe889dea62141f0d5e0397cf0a82ba776266c372607c7377da2906fd1e5c99
 
 distname            gensim-${version}
 
@@ -32,7 +32,14 @@
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-numpy \
                         port:py${python.version}-scipy
-
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} \
+            CHANGELOG.txt COPYING COPYING.LESSER README.rst \
+            ${destroot}${docdir}
+        copy ${worksrcpath}/docs ${destroot}${docdir}
+    }
     livecheck.type      none
 } else {
     livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131226/53b4d24d/attachment.html>


More information about the macports-changes mailing list