[49897] trunk/dports/python

blb at macports.org blb at macports.org
Sun Apr 19 14:02:34 PDT 2009


Revision: 49897
          http://trac.macports.org/changeset/49897
Author:   blb at macports.org
Date:     2009-04-19 14:02:34 -0700 (Sun, 19 Apr 2009)
Log Message:
-----------
New port - python/py26-logilab-common, A number of modules used by various projects from Logilab

Modified Paths:
--------------
    trunk/dports/python/py26-logilab-common/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-logilab-common/

Modified: trunk/dports/python/py26-logilab-common/Portfile
===================================================================
--- trunk/dports/python/py25-logilab-common/Portfile	2009-04-19 19:52:49 UTC (rev 49891)
+++ trunk/dports/python/py26-logilab-common/Portfile	2009-04-19 21:02:34 UTC (rev 49897)
@@ -1,12 +1,11 @@
-# -*- 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           python25 1.0
+PortGroup           python26 1.0
 
-name                py25-logilab-common
+name                py26-logilab-common
 version             0.39.0
-maintainers         stechert at macports.org openmaintainer
+maintainers         nomaintainer
 description         A number of modules used by various projects from Logilab
 long_description    ${description}
 
@@ -16,24 +15,17 @@
 master_sites        ftp://ftp.logilab.fr/pub/common/
 distname            logilab-common-${version}
 
-livecheck.check     regex
-livecheck.url       http://ftp.logilab.org/pub/common/
-livecheck.regex     {logilab-common-(\d+(?:\.\d+)*)\.tar\.gz}
-
 checksums           md5     9b49a710eb08225919aceedb84f1f28c \
                     sha1    596657988e024d5d0286ba3a2a71f167eca9af1a \
                     rmd160  02de1650175e8c3e383c71f8e0aa935d2b132e87
 
 post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
-
-    # alter the install name of pytest to include version name
-    move ${destroot}${prefix}/bin/pytest ${destroot}${prefix}/bin/pytest2.5
+   xinstall -m 644 -W ${worksrcpath} ChangeLog README \
+      ${destroot}${prefix}/share/doc/${name}
+   ln -s ${python.prefix}/bin/pytest ${destroot}${prefix}/bin/pytest2.6
 }
 
-# Shared-file warning; the following file is installed by this module as
-# well as (at least) py-lint, but it is the basic, auto-generated, empty-
-# other-than-the-docstring file:
-#    ${prefix}/lib/python2.3/site-packages/logilab/__init__.py
+livecheck.check     regex
+livecheck.url       http://ftp.logilab.org/pub/common/
+livecheck.regex     {logilab-common-(\d+(?:\.\d+)*)\.tar\.gz}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090419/c2d32092/attachment.html>


More information about the macports-changes mailing list