<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/5689295fa4a8d18e4a52e3369fb63a7a4b22a393">https://github.com/macports/macports-ports/commit/5689295fa4a8d18e4a52e3369fb63a7a4b22a393</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5689295fa4a8d18e4a52e3369fb63a7a4b22a393
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Jan 25 17:40:31 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-libdnet: remove py26 subport, modernize checksums
</span>---
python/py-libdnet/Portfile | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libdnet/Portfile b/python/py-libdnet/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1784907..eae9a45 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-libdnet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libdnet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,23 +23,18 @@ extract.suffix .tgz
</span> distname libdnet-${version}
dist_subdir libdnet
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 9253ef6de1b5e28e9c9a62b882e44cc9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 71302be302e84fc19b559e811951b5d600d976f8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4b849f07c3513522fda65af067928b7e6d504aab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4b849f07c3513522fda65af067928b7e6d504aab \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 970125
</span>
subport py27-libdnet {
set python.bin ${prefix}/bin/python2.7
set python.prefix ${frameworks_dir}/Python.framework/Versions/2.7
depends_lib-append port:python27
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport py26-libdnet {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python.bin ${prefix}/bin/python2.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python.prefix ${frameworks_dir}/Python.framework/Versions/2.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
if {$subport ne $name} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libdnet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libdnet
</span>
# libdnet is not universal
universal_variant no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,19 +44,8 @@ if {$subport ne $name} {
</span> }
destroot.cmd ${python.bin} setup.py --no-user-cfg install
destroot.destdir --prefix=${python.prefix} --root=${destroot}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
livecheck.regex "libdnet-(\\d+(?:\\.\\d+)*)${extract.suffix}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # py-libdnet was previously for python 2.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- replaced_by py27-libdnet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib port:py27-libdnet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "echo This port is a stub. > ${destroot}${prefix}/share/doc/${name}/README"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
</pre><pre style='margin:0'>
</pre>