[34617] trunk/dports/python

eridius at macports.org eridius at macports.org
Fri Feb 29 07:04:55 PST 2008


Revision: 34617
          http://trac.macosforge.org/projects/macports/changeset/34617
Author:   eridius at macports.org
Date:     2008-02-29 07:04:52 -0800 (Fri, 29 Feb 2008)

Log Message:
-----------
Update py-sqlachemy and py25-sqlalchemy to install docs/examples (maintainer timeout). Fixes #14464

Modified Paths:
--------------
    trunk/dports/python/py-sqlalchemy/Portfile
    trunk/dports/python/py25-sqlalchemy/Portfile

Modified: trunk/dports/python/py-sqlalchemy/Portfile
===================================================================
--- trunk/dports/python/py-sqlalchemy/Portfile	2008-02-29 14:45:09 UTC (rev 34616)
+++ trunk/dports/python/py-sqlalchemy/Portfile	2008-02-29 15:04:52 UTC (rev 34617)
@@ -5,6 +5,7 @@
 
 name			py-sqlalchemy
 version			0.4.3
+revision		1
 categories		python
 platforms		darwin
 maintainers		landonf at macports.org
@@ -16,6 +17,17 @@
 homepage		http://www.sqlalchemy.org
 master_sites		sourceforge:sqlalchemy
 distname		SQLAlchemy-${version}
-checksums		sha1 7b07feecb76d0954dfd974fa768026db1b32e4fe \
+checksums		md5 f0a1401ab11246d59a535206e5043c65 \
+			sha1 7b07feecb76d0954dfd974fa768026db1b32e4fe \
 			rmd160 66d6eb2badf28068c7e50bcce2ac7a525dcf552d
 depends_lib		port:py-setuptools
+
+post-destroot {
+	# Install example files not installed by the Makefile
+	foreach f [glob -directory ${worksrcpath}/doc *] {
+		copy $f ${destroot}${prefix}/share/doc/${name}/$f
+	}
+	foreach f [glob -directory ${worksrcpath}/examples *] {
+		copy $f ${destroot}${prefix}/share/doc/${name}/examples/$f
+	}
+}

Modified: trunk/dports/python/py25-sqlalchemy/Portfile
===================================================================
--- trunk/dports/python/py25-sqlalchemy/Portfile	2008-02-29 14:45:09 UTC (rev 34616)
+++ trunk/dports/python/py25-sqlalchemy/Portfile	2008-02-29 15:04:52 UTC (rev 34617)
@@ -5,6 +5,7 @@
 
 name			py25-sqlalchemy
 version			0.4.3
+revision		1
 categories		python
 platforms		darwin
 maintainers		stechert at macports.org
@@ -16,8 +17,17 @@
 homepage		http://www.sqlalchemy.org
 master_sites		sourceforge:sqlalchemy
 distname		SQLAlchemy-${version}
-checksums		sha1 7b07feecb76d0954dfd974fa768026db1b32e4fe \
+checksums		md5 f0a1401ab11246d59a535206e5043c65 \
+			sha1 7b07feecb76d0954dfd974fa768026db1b32e4fe \
 			rmd160 66d6eb2badf28068c7e50bcce2ac7a525dcf552d
-
 depends_lib		port:py25-setuptools
 
+post-destroot {
+	# Install example files not installed by the Makefile
+	foreach f [glob -directory ${worksrcpath}/doc *] {
+		copy $f ${destroot}${prefix}/share/doc/${name}/$f
+	}
+	foreach f [glob -directory ${worksrcpath}/examples *] {
+		copy $f ${destroot}${prefix}/share/doc/${name}/examples/$f
+	}
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080229/e38833b4/attachment-0001.html 


More information about the macports-changes mailing list