<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/57eaaf2de298589671ad39c2e31cd0002d91155e">https://github.com/macports/macports-ports/commit/57eaaf2de298589671ad39c2e31cd0002d91155e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 57eaaf2 geant4: fix livecheck, add size
</span>57eaaf2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 57eaaf2de298589671ad39c2e31cd0002d91155e
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Mon Sep 3 12:53:15 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> geant4: fix livecheck, add size
</span>---
science/geant4/Portfile | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/geant4/Portfile b/science/geant4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index de12669..871c73b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/geant4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/geant4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +22,9 @@ platforms darwin
</span>
master_sites http://geant4.cern.ch/support/source/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set geant.url_new https://geant4.web.cern.ch/support/download
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set geant.url_old https://geant4.web.cern.ch/support/download_archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # meaning of the fields:
# - version
# - revision (used internally in MacPorts to force updates)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,14 +33,14 @@ master_sites http://geant4.cern.ch/support/source/
</span> # - version string (used for fetching the source)
#
# if we start distributing betas, epoch will have to be added for the transition from version 4.x.y.b01 to 4.x.y
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set geant.versions_info {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 9.6 2 0 4 4.9.6.p04 3dd8f6ac2e79929d26519e83fce113691a670788 997220a5386a43ac8f533fc7d5a8360aa1fd6338244d17deeaa583fb3a0f39fd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10.0 2 0 4 4.10.00.p04 bfd11977b55f316f5c38d82f09dc37e7c0f60ea7 f4e1fc6d5ea4d9761ba44fd7e50921ff6276e25c2f640c7615460235d8c77d74
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10.1 1 0 3 4.10.01.p03 0b141adfceb4203f4855e0c6fb0d4c17036776ca b198943b5bc4fd7968ef4eaa5bbe2fb094b8df1d907a05486dc05f4c92bbb174
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10.2 1 1 3 4.10.02.p03 c45d91fb2def7143e6dcccb5d11907454be77386 e0bba0a9c937430e7dfac158873e218fafc0f167b12e7ff3d17ce13cbe550c4f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10.3 0 0 3 4.10.03.p03 e4e18181ab777811415b85341caec658d14f7427 a164f49c038859ab675eec474d08c9d02be8c4be9c0c2d3aa8e69adf89e1e138
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10.4 1 0 0 4.10.04 740375629e95747af7c845bc876701bf989354b1 f6d883132f110eb036c69da2b21df51f13c585dc7b99d4211ddd32f4ccee1670
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set geant.versions_info [list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9.6 2 0 4 4.9.6.p04 3dd8f6ac2e79929d26519e83fce113691a670788 997220a5386a43ac8f533fc7d5a8360aa1fd6338244d17deeaa583fb3a0f39fd 25454650 ${geant.url_old}?page=4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.0 2 0 4 4.10.00.p04 bfd11977b55f316f5c38d82f09dc37e7c0f60ea7 f4e1fc6d5ea4d9761ba44fd7e50921ff6276e25c2f640c7615460235d8c77d74 29655911 ${geant.url_old}?page=3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.1 1 0 3 4.10.01.p03 0b141adfceb4203f4855e0c6fb0d4c17036776ca b198943b5bc4fd7968ef4eaa5bbe2fb094b8df1d907a05486dc05f4c92bbb174 33538209 ${geant.url_old}?page=2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.2 1 1 3 4.10.02.p03 c45d91fb2def7143e6dcccb5d11907454be77386 e0bba0a9c937430e7dfac158873e218fafc0f167b12e7ff3d17ce13cbe550c4f 32241693 ${geant.url_old}?page=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.3 0 0 3 4.10.03.p03 e4e18181ab777811415b85341caec658d14f7427 a164f49c038859ab675eec474d08c9d02be8c4be9c0c2d3aa8e69adf89e1e138 32517096 ${geant.url_old}?page=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.4 1 0 0 4.10.04 740375629e95747af7c845bc876701bf989354b1 f6d883132f110eb036c69da2b21df51f13c585dc7b99d4211ddd32f4ccee1670 34884065 ${geant.url_new} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+]
</span>
# NAME VERS FILENAME ENVVAR md5 rmd160 sha256
set geant.data_versions_10.4 {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -119,7 +122,7 @@ set geant.data_versions_9.6 {
</span> G4SAIDDATA 1.1 G4SAIDDATA G4SAIDXSDATA d88a31218fdf28455e5c5a3609f7216f 7f0c75c86eea3d227379d3dfe77e4600752f99a2 a38cd9a83db62311922850fe609ecd250d36adf264a88e88c82ba82b7da0ed7f
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.version_full geant.rmd160 geant.sha256} ${geant.versions_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.version_full geant.rmd160 geant.sha256 geant.size geant.livecheck_url} ${geant.versions_info} {
</span>
# this variable could/should come from a PortGroup one day
# note that gmk files go to share/Geant4/Geant4-${geant.version}.${geant.patchlevel}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -216,7 +219,7 @@ foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.
</span> version ${geant.version_full}
revision ${geant.revision}
distfiles ${geant.distfilename}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums ${geant.distfilename} rmd160 ${geant.rmd160} sha256 ${geant.sha256}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums ${geant.distfilename} rmd160 ${geant.rmd160} sha256 ${geant.sha256} size ${geant.size}
</span>
cmake.out_of_source yes
worksrcdir geant${version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -402,13 +405,8 @@ NOTE: Use 'sudo port select geant4 ${subport}'
</span> }
set geant.version_full_no_patch [join [lrange [split ${geant.version_full} .] 0 2] \\.]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${geant.version} == "10.4"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url http://geant4.cern.ch/support/download.shtml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url http://geant4.cern.ch/support/source_archive.shtml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> # http://geant4.cern.ch/support/source/geant4.xx.xx[.pxx].tar.gz
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url ${geant.livecheck_url}
</span> livecheck.regex geant(${geant.version_full_no_patch}(\\.\[bp\]\[0-9\]+)?)\\.tar\\.gz
}
}
</pre><pre style='margin:0'>
</pre>