[109328] trunk/dports/python/py-sympy/Portfile
stromnov at macports.org
stromnov at macports.org
Tue Aug 13 03:08:26 PDT 2013
Revision: 109328
https://trac.macports.org/changeset/109328
Author: stromnov at macports.org
Date: 2013-08-13 03:08:26 -0700 (Tue, 13 Aug 2013)
Log Message:
-----------
py-sympy: update to version 0.7.3
Modified Paths:
--------------
trunk/dports/python/py-sympy/Portfile
Modified: trunk/dports/python/py-sympy/Portfile
===================================================================
--- trunk/dports/python/py-sympy/Portfile 2013-08-13 08:52:39 UTC (rev 109327)
+++ trunk/dports/python/py-sympy/Portfile 2013-08-13 10:08:26 UTC (rev 109328)
@@ -6,16 +6,19 @@
PortGroup select 1.0
name py-sympy
-version 0.7.2
+version 0.7.3
revision 0
categories-append science math
+platforms darwin
license BSD
-platforms darwin
supported_archs noarch
+python.versions 25 26 27 32 33
+
maintainers stromnov openmaintainer
description Python module for symbolic mathematics.
+
long_description \
SymPy is a Python library for symbolic mathematics. It aims to \
become a full-featured computer algebra system (CAS) while keeping \
@@ -23,24 +26,23 @@
and easily extensible. SymPy is written entirely in Python and does \
not require any external libraries.
-homepage http://code.google.com/p/sympy/
-master_sites googlecode:sympy
+homepage http://sympy.org/
+master_sites https://github.com/sympy/sympy/releases/download/sympy-${version}
-checksums rmd160 5daa92e94a63f582b7739c214925cfd1a09a01ac \
- sha256 2304aebd298d8bd467273a32b90fd66a24ee61cbea7e892a9ddc759d50a087fc
-
distname sympy-${version}
-python.default_version 27
-python.versions 25 26 27 32 33
+checksums rmd160 ff9a71848cffa32712fd6951b456136624b277a2 \
+ sha256 bdc4c8eee7397eee2a86b1ea4fd8eed932941a19207f646f0ca48526f44b2f20
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}
+ if {${python.version} >= 32} {
+ distname sympy-${version}-py3.2
+
+ checksums rmd160 003b2b2dd388121a810088d5c9dc4770a38fca87 \
+ sha256 93f9062033e4ab2a701cb6653564297ddbba846f7cb2dc1a53598293a7f29fcc
+
+ worksrcdir sympy-${version}
}
post-destroot {
@@ -72,6 +74,9 @@
port select --set ${select.group} [file tail ${select.file}]
"
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/packages/source/s/sympy/
+ livecheck.regex "sympy-(\\d+(?:\\.\\d+)*)\.\[tz\]"
}
-
-livecheck.regex "sympy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130813/b5f46b84/attachment.html>
More information about the macports-changes
mailing list