FROM ubuntu:14.04

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get upgrade -y

RUN apt-get install -qy curl git python2.7 python-pip python-dev

# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
ADD https://api.github.com/repos/ethereum/pyethereum/git/refs/heads/develop unused.txt 

RUN git clone --branch develop --recursive https://github.com/ethereum/pyethereum.git

RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python

RUN cd pyethereum && bin/buildout

#default port for incoming requests
EXPOSE 30303

WORKDIR /pyethereum 

ENTRYPOINT ["bin/python", "tests/test_vm.py"]
m-ports' title='marcuscom-ports Git repository'/>
<link rel='vcs-git' href='https://phantom.tfcis.org/~lantw44/git/marcuscom-ports' title='marcuscom-ports Git repository'/>
<link rel='vcs-git' href='https://www.csie.ntu.edu.tw/~b01902062/git/marcuscom-ports' title='marcuscom-ports Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/~lantw44/cgit/'><img src='/~lantw44/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/~lantw44/cgit/'>index</a> : <a title='marcuscom-ports' href='/~lantw44/cgit/marcuscom-ports/'>marcuscom-ports</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='f33c5fb61cfe4c8856817db7f2c84041a862250b'/><select name='h' onchange='this.form.submit();'>
<option value='GNOME_2_6'>GNOME_2_6</option>
<option value='GNOME_3_12'>GNOME_3_12</option>
<option value='GNOME_3_6'>GNOME_3_6</option>
<option value='trunk' selected='selected'>trunk</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME obsolete development ports (svn://creme-brulee.marcuscom.com/ports)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/marcuscom-ports/'>summary</a><a href='/~lantw44/cgit/marcuscom-ports/refs/?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>refs</a><a href='/~lantw44/cgit/marcuscom-ports/log/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp'>log</a><a class='active' href='/~lantw44/cgit/marcuscom-ports/tree/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>tree</a><a href='/~lantw44/cgit/marcuscom-ports/commit/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>commit</a><a href='/~lantw44/cgit/marcuscom-ports/diff/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>diff</a><a href='/~lantw44/cgit/marcuscom-ports/stats/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/marcuscom-ports/log/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp'>
<input type='hidden' name='id' value='f33c5fb61cfe4c8856817db7f2c84041a862250b'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/marcuscom-ports/tree/?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>root</a>/<a href='/~lantw44/cgit/marcuscom-ports/tree/sysutils?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>sysutils</a>/<a href='/~lantw44/cgit/marcuscom-ports/tree/sysutils/gnome-system-monitor?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>gnome-system-monitor</a>/<a href='/~lantw44/cgit/marcuscom-ports/tree/sysutils/gnome-system-monitor/files?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>files</a>/<a href='/~lantw44/cgit/marcuscom-ports/tree/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>patch-src_load-graph.cpp</a></div><div class='content'>blob: e57a2170425e87f800de8675a195eaa2f7f38509 (<a href='/~lantw44/cgit/marcuscom-ports/plain/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>plain</a>) (<a href='/~lantw44/cgit/marcuscom-ports/blame/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp?id=f33c5fb61cfe4c8856817db7f2c84041a862250b'>blame</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
</pre></td>
<td class='lines'><pre><code><span style="color:#a52a35">--- src/load-graph.cpp.orig 2008-01-14 23:43:43.000000000 -0600</span>
<span style="color:#2e8b57">+++ src/load-graph.cpp  2008-01-14 23:44:15.000000000 -0600</span>
<span style="color:#3a3935; font-weight:bold">&#64;&#64; -501,7 +501,7 &#64;&#64;</span>
    // e.g: ceil(100.5 KiB) = 101 KiB = 101 * 2**(1 * 10)
    //      where base10 = 1, coef10 = 101, pow2 = 16
 
<span style="color:#a52a35">-   unsigned pow2 = std::floor(log2(new_max));</span>
<span style="color:#2e8b57">+   unsigned pow2 = std::floor(log(new_max) / log(2));</span>
    unsigned base10 = pow2 / 10;
    unsigned coef10 = std::ceil(new_max / double(1UL &lt;&lt; (base10 * 10)));
    g_assert(new_max &lt;= (coef10 * (1UL &lt;&lt; (base10 * 10))));
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit </a> (<a href='https://git-scm.com/'>git 2.34.1</a>) at 2025-05-19 07:39:27 +0800</div>
</div> <!-- id=cgit -->
</body>
</html>