[100445] trunk/dports/python/py-sympy
g5pw at macports.org
g5pw at macports.org
Wed Dec 12 06:52:31 PST 2012
Revision: 100445
https://trac.macports.org/changeset/100445
Author: g5pw at macports.org
Date: 2012-12-12 06:52:31 -0800 (Wed, 12 Dec 2012)
Log Message:
-----------
python/py-sympy:
add python33 support
Modified Paths:
--------------
trunk/dports/python/py-sympy/Portfile
Added Paths:
-----------
trunk/dports/python/py-sympy/files/py33-sympy
Modified: trunk/dports/python/py-sympy/Portfile
===================================================================
--- trunk/dports/python/py-sympy/Portfile 2012-12-12 14:47:22 UTC (rev 100444)
+++ trunk/dports/python/py-sympy/Portfile 2012-12-12 14:52:31 UTC (rev 100445)
@@ -32,18 +32,17 @@
distname sympy-${version}
python.default_version 27
-python.versions 25 26 27 32
+python.versions 25 26 27 32 33
-subport py32-sympy {
- checksums rmd160 3ad241a75d6175aa597b45c4d851b723eb077430 \
- sha256 9b6d6c82b023a439565ea9493fc217cafaf4fe5b8d067537c7d4382500091ffc
-
- distname sympy-${version}-py3.2
- worksrcdir sympy-${version}
-}
-
if {$subport != $name} {
+ if {[string range ${python.version} 0 end-1] == 3} {
+ checksums rmd160 3ad241a75d6175aa597b45c4d851b723eb077430 \
+ sha256 9b6d6c82b023a439565ea9493fc217cafaf4fe5b8d067537c7d4382500091ffc
+ distname sympy-${version}-py3.2
+ worksrcdir sympy-${version}
+ }
+
post-destroot {
set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
if {$subport == "py25-sympy"} {
Added: trunk/dports/python/py-sympy/files/py33-sympy
===================================================================
--- trunk/dports/python/py-sympy/files/py33-sympy (rev 0)
+++ trunk/dports/python/py-sympy/files/py33-sympy 2012-12-12 14:52:31 UTC (rev 100445)
@@ -0,0 +1,2 @@
+${frameworks_dir}/Python.framework/Versions/3.3/bin/isympy
+${frameworks_dir}/Python.framework/Versions/3.3/share/man/man1/isympy.1.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121212/d61a83ab/attachment.html>
More information about the macports-changes
mailing list