[53627] trunk/dports/python/py25-checker

Ryan Schmidt ryandesign at macports.org
Fri Jul 10 12:10:26 PDT 2009


On Jul 10, 2009, at 11:06, jmr at macports.org wrote:

> Revision: 53627
>           http://trac.macports.org/changeset/53627
> Author:   jmr at macports.org
> Date:     2009-07-10 09:06:43 -0700 (Fri, 10 Jul 2009)
> Log Message:
> -----------
> py25-checker: install pychecker2 (needed for spe)
>
> Modified Paths:
> --------------
>     trunk/dports/python/py25-checker/Portfile
>     trunk/dports/python/py25-checker/files/patch-setup.py.diff
>
> Modified: trunk/dports/python/py25-checker/Portfile
> ===================================================================
> --- trunk/dports/python/py25-checker/Portfile	2009-07-10 12:53:07  
> UTC (rev 53626)
> +++ trunk/dports/python/py25-checker/Portfile	2009-07-10 16:06:43  
> UTC (rev 53627)
> @@ -5,6 +5,7 @@
>
>  name			py25-checker
>  version			0.8.18
> +revision		1
>  categories		python
>  maintainers		nomaintainer
>  platforms		darwin freebsd
>
> Modified: trunk/dports/python/py25-checker/files/patch-setup.py.diff
> ===================================================================
> --- trunk/dports/python/py25-checker/files/patch-setup.py.diff	 
> 2009-07-10 12:53:07 UTC (rev 53626)
> +++ trunk/dports/python/py25-checker/files/patch-setup.py.diff	 
> 2009-07-10 16:06:43 UTC (rev 53627)
> @@ -1,11 +1,20 @@
> ---- setup.py	2006-02-04 11:29:46.000000000 +0900
> -+++ setup.py.new	2006-05-10 22:26:36.000000000 +0900
> -@@ -211,7 +211,7 @@
> +--- setup.py.orig	2008-08-18 14:53:12.000000000 +1000
> ++++ setup.py	2009-07-11 02:02:09.000000000 +1000
> +@@ -216,7 +216,7 @@
>      @raise Exception: If script cannot be created on disk.
>      """
>      try:
>  -      checker_path = os.path.join(package_path, "checker.py")
> -+      checker_path = os.path.join("PYTHONLIB/pychecker",  
> "checker.py")
> ++      checker_path = os.path.join("/opt/local/lib/python2.5/site- 
> packages/pychecker", "checker.py")

/opt/local is hardcoded here.

>         if sys.platform == "win32":
> -          script_str = "%s %s %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 
> \n" % (sys.executable, checker_path)
> +          script_str = "%s %s %%*\n" % (sys.executable, checker_path)
>         else:
> +@@ -258,7 +258,7 @@
> +         'author'           : "Neal Norwitz",
> +         'author_email'     : "nnorwitz at gmail.com",
> +         'url'              : "http://pychecker.sourceforge.net/",
> +-        'packages'         : [ 'pychecker', ],
> ++        'packages'         : [ 'pychecker', 'pychecker2', ],
> +         'scripts'          : [ "pychecker" ],   # note: will be  
> replaced by customized action
> +         'data_files'       : [ ( "pychecker", DATA_FILES, ) ],
> +         'long_description' : LONG_DESCRIPTION,




More information about the macports-dev mailing list