[110198] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Wed Aug 28 03:20:00 PDT 2013


Revision: 110198
          https://trac.macports.org/changeset/110198
Author:   stromnov at macports.org
Date:     2013-08-28 03:20:00 -0700 (Wed, 28 Aug 2013)
Log Message:
-----------
py-astroid: new port

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

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

Modified: trunk/dports/python/py-astroid/Portfile
===================================================================
--- trunk/dports/python/py-logilab-astng/Portfile	2013-08-28 07:07:44 UTC (rev 110182)
+++ trunk/dports/python/py-astroid/Portfile	2013-08-28 10:20:00 UTC (rev 110198)
@@ -4,19 +4,19 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-logilab-astng
-version             0.24.3
+name                py-astroid
+version             1.0.0
 revision            0
 categories-append   devel
 platforms           darwin
 license             LGPL-2.1+
 supported_archs     noarch
 
-python.versions     24 25 26 27 32 33
+python.versions     26 27 32 33
 
-maintainers         dh openmaintainer stromnov
+maintainers         stromnov openmaintainer
 
-description         Python Abstract Syntax Tree New Generation
+description         Rebuild a new abstract syntax tree from Python's ast.
 
 long_description    The aim of this module is to provide a common \
                     base representation of python source code for \
@@ -24,47 +24,29 @@
                     Well, actually the development of this library is \
                     essentially governed by pylint's needs.
 
-homepage            http://www.logilab.org/project/logilab-astng
-master_sites        http://ftp.logilab.org/pub/astng \
-                    ftp://ftp.logilab.fr/pub/astng
+homepage            http://bitbucket.org/logilab/astroid/
+master_sites        https://pypi.python.org/packages/source/a/astroid/
 
-distname            logilab-astng-${version}
+distname            astroid-${version}
 
-checksums           rmd160  a4b4d71222ce44ca7f3273d8c4da0adf645e9ac6 \
-                    sha256  961f030b055751f48179341c14ff3b8646bb1b29bee539f708e028e8fbe5e45a
+checksums           rmd160  b3ded619bd2f19038f805c78d30ff742010b0623 \
+                    sha256  57c885e17b1b10d45b0b8033f40f6a2f0f71d1d6b30a3b5ae8a10f79eb7e3eae
 
-if {$subport == "py24-logilab-astng"} {
-    epoch               1
-    version             0.20.1
-    revision            0
-    distname            logilab-astng-${version}
-    checksums           rmd160  add5f8d561617313762f79ddca9728ab8a11eed6 \
-                        sha256  5483499402e227db5f3d232d6e109605d42a37995032fed43413939b378db31e
-}
-
 if {$subport != $name} {
     depends_build-append \
                         port:py${python.version}-setuptools
 
     depends_lib-append  port:py${python.version}-logilab-common
 
-    # Fix files not being world-readable.
-    post-extract {
-        foreach f [exec find ${workpath}] {
-        file attributes $f -permissions a+r
-        }
-    }
-
     post-destroot {
         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 644 -W ${worksrcpath} ChangeLog README \
             ${destroot}${prefix}/share/doc/${subport}
-        file delete ${destroot}${python.pkgd}/logilab/__init__.py
     }
 
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       http://ftp.logilab.org/pub/astng/
-    livecheck.regex     {logilab-astng-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.url       ${master_sites}
+    livecheck.regex     {astroid-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130828/b0c4b9f8/attachment-0001.html>


More information about the macports-changes mailing list