<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3e763cf8537416554f97a6a28d8e61dca58a35d9">https://github.com/macports/macports-ports/commit/3e763cf8537416554f97a6a28d8e61dca58a35d9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3e763cf8537416554f97a6a28d8e61dca58a35d9
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Dec 13 22:51:55 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-ujson: add py39 subport, fix tests
</span>---
python/py-ujson/Portfile | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ujson/Portfile b/python/py-ujson/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 832bd4578da..9a6826d29f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ujson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ujson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,13 +16,12 @@ description Ultra fast JSON encoder and decoder for Python
</span> long_description ${description}
homepage https://github.com/ultrajson/ultrajson
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span>
checksums rmd160 45694f5693e81abfe8ce8bbc1125f0aa2ba8088d \
sha256 26cf6241b36ff5ce4539ae687b6b02673109c5e3efc96148806a7873eaa229d3 \
size 7128868
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38 39
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,35 +33,34 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-tz
if {${python.version} eq 27} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 2.0.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 7ebac441237750ddac9d9164139ee37bebfbc24a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bd2deffc983827510e5145fb66e4cc0f577480c62fe0b4882139f8f7d27ae9a3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 7127432
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_test-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-unittest2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7ebac441237750ddac9d9164139ee37bebfbc24a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 bd2deffc983827510e5145fb66e4cc0f577480c62fe0b4882139f8f7d27ae9a3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7127432
</span> }
if {${python.version} eq 35} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.2.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 83886a8f53cd70eed2949ba3dc0a489e4612da9a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 abb1996ba1c1d2faf5b1e38efa97da7f64e5373a31f705b96fe0587f5f778db4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 7128952
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 83886a8f53cd70eed2949ba3dc0a489e4612da9a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 abb1996ba1c1d2faf5b1e38efa97da7f64e5373a31f705b96fe0587f5f778db4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7128952
</span> }
distname ${python.rootname}-${version}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-test {
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
}
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.dir ${build.dir}/tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd ${python.bin} tests.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd py.test-${python.branch}
</span> test.target
post-destroot {
</pre><pre style='margin:0'>
</pre>