Changeset 82098
- Timestamp:
- 08/08/11 00:33:15 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 10 added
- 3 deleted
- 1 edited
-
py-sympy/Portfile (modified) (2 diffs)
-
py-sympy/files (added)
-
py-sympy/files/py24-sympy (added)
-
py-sympy/files/py25-sympy (added)
-
py-sympy/files/py26-sympy (added)
-
py-sympy/files/py27-sympy (added)
-
py-sympy_select (added)
-
py-sympy_select/Portfile (added)
-
py-sympy_select/files (added)
-
py-sympy_select/files/base (added)
-
py-sympy_select/files/none (added)
-
py25-sympy (deleted)
-
py26-sympy (deleted)
-
py27-sympy (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-sympy/Portfile
r67230 r82098 3 3 4 4 PortSystem 1.0 5 PortGroup python24 1.0 5 PortGroup python 1.0 6 PortGroup select 1.0 6 7 7 8 name py-sympy 8 version 0.6.6 9 categories python math 10 maintainers nomaintainer 9 version 0.7.1 10 revision 0 11 categories-append science math 12 license BSD 13 platforms darwin 14 supported_archs noarch 15 16 maintainers stromnov openmaintainer 11 17 12 18 description Python module for symbolic mathematics. … … 18 24 not require any external libraries. 19 25 20 platforms darwin21 distname sympy-${version}22 26 homepage http://code.google.com/p/sympy/ 23 27 master_sites googlecode:sympy 24 28 25 checksums md5 aa7be690a1df7e7415fe968f5e076733 \26 sha1 aad5f919552a4e3710baee83ef0b2573d1950881 \27 rmd160 663671a544d47ff25df407a6168affe7b7b8976729 checksums md5 3847b5ed5c1531bf3c1b849dc2337253 \ 30 sha1 b8609cc7e08d2883f96526ee8a4afdc90d77b911 \ 31 rmd160 ba6f95435d72708a12e4c4285d82d5e51d38bce4 28 32 29 post-destroot { 30 file delete ${destroot}${prefix}/bin/test ${destroot}${prefix}/bin/doctest 31 move ${destroot}${prefix}/bin/isympy \ 32 ${destroot}${prefix}/bin/isympy${python.branch} 33 move ${destroot}${prefix}/share/man/man1/isympy.1 \ 34 ${destroot}${prefix}/share/man/man1/isympy${python.branch}.1 33 python.versions 24 25 26 27 34 35 subport py24-sympy { 36 version 0.7.0 37 revision 0 38 checksums md5 c4d00a7fe8c4cee4b3308e06bc475cf5 \ 39 sha1 b95030d8901486d51692d1dd4fe689fb569c7ff7 \ 40 rmd160 21df1e843865c52a51210542f93840e256366c3d 41 } 42 43 distname sympy-${version} 44 45 if {$subport != $name} { 46 47 post-destroot { 48 set gzip [findBinary gzip ${portutil::autoconf::gzip_path}] 49 if {$subport == "py24-sympy" || $subport == "py25-sympy"} { 50 move ${destroot}${prefix}/bin/isympy \ 51 ${destroot}${prefix}/bin/isympy-${python.branch} 52 move ${destroot}${prefix}/share/man/man1/isympy.1 \ 53 ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1 54 system "$gzip -9vf ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1" 55 file attributes ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz \ 56 -permissions 00444 57 } else { 58 system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/isympy.1" 59 file attributes ${destroot}${python.prefix}/share/man/man1/isympy.1.gz -permissions 00444 60 ln -s ${python.prefix}/share/man/man1/isympy.1.gz \ 61 ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz 62 } 63 } 64 65 depends_build port:gzip 66 depends_run port:py-sympy_select 67 68 select.group py-sympy 69 select.file ${filespath}/py${python.version}-sympy 70 71 notes \ 72 "To make the Python ${python.branch} version of py-sympy the one that is run 73 when you execute the commands without a version suffix, e.g. 'isympy', 74 run: 75 port select --set ${select.group} [file tail ${select.file}]" 76 35 77 } 36 78
Note: See TracChangeset
for help on using the changeset viewer.

