<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/14a34348b73104690c2e43dfa709a20119e44a22">https://github.com/macports/macports-ports/commit/14a34348b73104690c2e43dfa709a20119e44a22</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 14a34348b73104690c2e43dfa709a20119e44a22
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Nov 9 11:04:25 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-datrie: remove py34, add py38 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - update license
</span><span style='display:block; white-space:pre;color:#404040;'> - fix dependencies
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span><span style='display:block; white-space:pre;color:#404040;'> - Cythonize the C code for Python 3.8
</span>---
python/py-datrie/Portfile | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-datrie/Portfile b/python/py-datrie/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fdda68a..47e3648 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-datrie/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-datrie/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,12 +5,12 @@ PortGroup python 1.0
</span>
name py-datrie
version 0.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append devel
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license LGPL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2+
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38
</span>
maintainers {stromnov @stromnov} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,10 +27,31 @@ checksums rmd160 9eb01a22060a6845cf03780dadd38c3c285ebda2 \
</span> size 226077
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Cythonize the C-code since it doesn't work otherwise with Python 3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this can likely be removed when upstream realeses a new version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} eq 38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "cython-${python.branch} src/datrie.pyx src/cdatrie.pxd src/stdio_ext.pxd -a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><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}-hypothesis \
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-pytest-runner
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
</pre><pre style='margin:0'>
</pre>