[107569] trunk/dports/python/py-pymacs/Portfile

sean at macports.org sean at macports.org
Tue Jul 2 17:40:40 PDT 2013


Revision: 107569
          https://trac.macports.org/changeset/107569
Author:   sean at macports.org
Date:     2013-07-02 17:40:40 -0700 (Tue, 02 Jul 2013)
Log Message:
-----------
py-pymacs: update to 0.25 and use github, elisp port groups

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

Modified: trunk/dports/python/py-pymacs/Portfile
===================================================================
--- trunk/dports/python/py-pymacs/Portfile	2013-07-03 00:40:33 UTC (rev 107568)
+++ trunk/dports/python/py-pymacs/Portfile	2013-07-03 00:40:40 UTC (rev 107569)
@@ -3,9 +3,11 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
+PortGroup           elisp 1.0
 
+github.setup        pinard Pymacs 0.25 v
 name                py-pymacs
-version             0.23
 platforms           darwin
 supported_archs     noarch
 license             GPL-2+
@@ -19,10 +21,23 @@
 and handle Emacs Lisp objects kept in Emacs Lisp space.
 
 homepage            http://pymacs.progiciels-bpi.ca/pymacs.html
-master_sites        http://pymacs.progiciels-bpi.ca/archives/ \
-                    http://distfiles.macports.org/python/
-distname            Pymacs-${version}
 
-checksums           sha1 1293b69db60726bb6a5cfaddd627a11650c39c54
+checksums           rmd160  29ec7709e7dc7a138651bcea85fcc521277c96f8 \
+                    sha256  51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2
 
 python.versions     25 26 27
+
+build.cmd           make
+build.target
+
+if {$subport != $name} {
+    depends_build-append port:py${python.version}-setuptools
+    depends_lib          path:${emacs_binary}:${emacs_binary_provider}
+    livecheck.type       none
+
+    post-destroot {
+        system -W ${worksrcpath} "${emacs_binary} -batch -eval '(byte-compile-file \"pymacs.el\")'"
+        xinstall -d ${destroot}${emacs_lispdir}
+        xinstall -W ${worksrcpath} pymacs.el pymacs.elc ${destroot}${emacs_lispdir}
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130702/579b1030/attachment-0001.html>


More information about the macports-changes mailing list