[48481] trunk/dports/python

blb at macports.org blb at macports.org
Mon Mar 23 00:19:39 PDT 2009


Revision: 48481
          http://trac.macports.org/changeset/48481
Author:   blb at macports.org
Date:     2009-03-23 00:19:39 -0700 (Mon, 23 Mar 2009)
Log Message:
-----------
New port - python/py26-imdb, python module providing access to the IMDb movie database

Added Paths:
-----------
    trunk/dports/python/py26-imdb/
    trunk/dports/python/py26-imdb/Portfile

Removed Paths:
-------------
    trunk/dports/python/py26-imdb/Portfile

Deleted: trunk/dports/python/py26-imdb/Portfile
===================================================================
--- trunk/dports/python/py25-imdb/Portfile	2009-03-22 23:06:11 UTC (rev 48463)
+++ trunk/dports/python/py26-imdb/Portfile	2009-03-23 07:19:39 UTC (rev 48481)
@@ -1,30 +0,0 @@
-# $Id$
-
-PortSystem 1.0
-PortGroup python25 1.0
-
-name			py25-imdb
-version			3.6
-categories		python
-platforms		darwin
-maintainers		nomaintainer
-description		python module providing access to the IMDb movie database
-long_description	py-imdb is a Python package useful to retrieve and \
-				manage the data of the IMDb movie database.
-
-
-homepage		http://imdbpy.sourceforge.net/
-master_sites	sourceforge:imdbpy
-distname		IMDbPY-${version}
-checksums		sha1 c4b059633a2dcf07a6c96e9b52986b5c26cf1605
-
-post-destroot {
-	foreach f {get_first_movie get_first_person get_movie get_person imdbpy2sql search_movie search_person} {
-		file rename ${destroot}${prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.5.py
-	}
-	xinstall -m 644 -W ${worksrcpath}/docs AUTHOR.txt CREDITS.txt \
-		Changelog.txt DISCLAIMER.txt GPL.txt INSTALL.txt LICENSE.txt \
-		README.devel README.package README.txt README.users TODO.txt \
-		${destroot}${prefix}/share/doc/${name}
-}
-

Copied: trunk/dports/python/py26-imdb/Portfile (from rev 48480, trunk/dports/python/py25-imdb/Portfile)
===================================================================
--- trunk/dports/python/py26-imdb/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-imdb/Portfile	2009-03-23 07:19:39 UTC (rev 48481)
@@ -0,0 +1,41 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+name                py26-imdb
+version             4.0
+categories          python
+maintainers         nomaintainer
+description         python module providing access to the IMDb movie database
+long_description \
+   py-imdb is a Python package useful to retrieve and manage the data of the \
+   IMDb movie database.
+
+platforms           darwin
+
+homepage            http://imdbpy.sourceforge.net/
+master_sites        sourceforge:imdbpy
+distname            IMDbPY-${version}
+
+checksums           md5     873fb1550f0fde04acbb297b74c94377 \
+                    sha1    dc24344461c9a1bd38d3eddd34768d4dd468202e \
+                    rmd160  6243c0ddb0084e3d31bf217c04d6382386d83b83
+
+post-destroot {
+   eval move [glob ${destroot}${python.prefix}/doc/*] \
+      ${destroot}${prefix}/share/doc/${name}
+   set filesToLink26 {characters4local companies4local get_character \
+      get_company get_first_character get_first_company get_first_movie \
+      get_first_person get_keyword get_movie get_person get_top_bottom_movies \
+      imdbpy2sql misc-companies4local mpaa4local search_character \
+      search_company search_keyword search_movie search_person topbottom4local}
+   foreach f ${filesToLink26} {
+      ln -s ${python.prefix}/bin/${f}.py \
+         ${destroot}${prefix}/bin/${f}-2.6.py
+   }
+   xinstall -m 644 -W ${worksrcpath}/docs AUTHOR.txt CREDITS.txt \
+      Changelog.txt DISCLAIMER.txt GPL.txt INSTALL.txt LICENSE.txt \
+      README.devel README.package README.txt README.users TODO.txt \
+      ${destroot}${prefix}/share/doc/${name}
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090323/b08da330/attachment.html>


More information about the macports-changes mailing list