Ticket #39216: patch-Portfile.diff
File patch-Portfile.diff, 2.6 KB (added by lpsinger (Leo Singer), 11 years ago) |
---|
-
Portfile
old new 27 27 master_sites http://archive.ipython.org/release/${version} 28 28 distname ${realname}-${version} 29 29 30 checksums rmd160 afdd4e7fed6b3d23d5577b66671c9b868ef1f847 \ 30 checksums ${distname}${extract.suffix} \ 31 rmd160 afdd4e7fed6b3d23d5577b66671c9b868ef1f847 \ 31 32 sha256 17fbeea1dff2318d617d90fdf7af4eb35dc48c61389a2dffaab8ff100fb100ea 32 33 33 34 python.versions 24 25 26 27 31 32 33 … … 37 38 revision 4 38 39 master_sites http://archive.ipython.org/release/${version} 39 40 distname ${realname}-${version} 40 checksums md5 8a1bd1a9be272f4ddf4de99e5c1ad0dc \ 41 checksums ${distname}${extract.suffix} \ 42 md5 8a1bd1a9be272f4ddf4de99e5c1ad0dc \ 41 43 sha1 2d069416b31ed03eb1cad36f84ef2337362ac6a9 \ 42 44 rmd160 3d522f80290caa72e1c4fc60b2d56369c8c66eba 43 45 } … … 47 49 revision 2 48 50 master_sites http://archive.ipython.org/release/${version} 49 51 distname ${realname}-${version} 50 checksums md5 dda59bfc6e256ce786c4bc4aadb220a4 \ 52 checksums ${distname}${extract.suffix} \ 53 md5 dda59bfc6e256ce786c4bc4aadb220a4 \ 51 54 sha1 d45b97b0f458fd517cb2bfa9ebb3c671c46a21c0 \ 52 55 rmd160 365a4eb9b534df1a9aa8717f173e9a032224ea01 53 56 } … … 77 80 variant notebook requires parallel description "Support for IPython HTML notebook" { 78 81 depends_lib-append port:py${python.version}-tornado 79 82 } 83 variant mathjax requires notebook description "Install offline copy of MathJax 2.2" { 84 distfiles-append v2.2:mathjax 85 master_sites-append https://github.com/mathjax/MathJax/tarball:mathjax 86 checksums-append v2.2 \ 87 rmd160 6cbbfc96b41191580ea49f99f5f7e47b6346d6da \ 88 sha256 3c01dc8c3fd6869311d45c15c348f7ad682aefa3ae03ccf201f9cad83e26ceb1 89 } 80 90 } 81 91 82 92 if {$subport != $name} { … … 113 123 # ln -s ${python.prefix}/share/man/man1/${f}.1.gz ${destroot}${prefix}/share/man/man1/${f}3-${python.branch}.1.gz 114 124 # } 115 125 } 126 if {[variant_isset mathjax]} { 127 move ${workpath}/mathjax-MathJax-54280bb ${destroot}${python.pkgd}/IPython/frontend/html/notebook/static/mathjax 128 } 116 129 } 117 130 118 131 if {${python.version} >= 30} {