# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 name py-sympy version 0.7.3 revision 0 categories-append science math platforms darwin license BSD 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 \ the code as simple as possible in order to be comprehensible \ and easily extensible. SymPy is written entirely in Python and does \ not require any external libraries. homepage http://sympy.org/ master_sites https://github.com/sympy/sympy/releases/download/sympy-${version} distname sympy-${version} checksums rmd160 ff9a71848cffa32712fd6951b456136624b277a2 \ sha256 bdc4c8eee7397eee2a86b1ea4fd8eed932941a19207f646f0ca48526f44b2f20 if {$subport != $name} { if {${python.version} >= 32} { distname sympy-${version}-py3.2 checksums rmd160 003b2b2dd388121a810088d5c9dc4770a38fca87 \ sha256 93f9062033e4ab2a701cb6653564297ddbba846f7cb2dc1a53598293a7f29fcc worksrcdir sympy-${version} } post-destroot { set gzip [findBinary gzip ${portutil::autoconf::gzip_path}] if {$subport == "py25-sympy"} { move ${destroot}${prefix}/share/man/man1/isympy.1 \ ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1 system "$gzip -9vf ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1" file attributes ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz \ -permissions 00444 } else { system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/isympy.1" file attributes ${destroot}${python.prefix}/share/man/man1/isympy.1.gz -permissions 00444 ln -s ${python.prefix}/share/man/man1/isympy.1.gz \ ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz } } depends_build port:gzip depends_run port:py-sympy_select select.group py-sympy select.file ${filespath}/py${python.version}-sympy notes " To make the Python ${python.branch} version of py-sympy the one that is run\ when you execute the commands without a version suffix, e.g. 'isympy', run: 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+)*)\[.-\]" }