<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/59200b9149b4169c4b9bbbf382869d6ea03360e1">https://github.com/macports/macports-ports/commit/59200b9149b4169c4b9bbbf382869d6ea03360e1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 59200b9149b4169c4b9bbbf382869d6ea03360e1
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Mar 10 12:53:23 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-enchant: remove py27 subport
</span>---
python/py-enchant/Portfile | 24 ++--------------------
.../files/patch-enchant-_enchant.py.diff | 11 ----------
2 files changed, 2 insertions(+), 33 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-enchant/Portfile b/python/py-enchant/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2a42c90df14..baba190ca25 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-enchant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-enchant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,6 @@ version 3.2.2
</span> revision 0
categories-append textproc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> supported_archs noarch
license LGPL-2.1+
maintainers {reneeotten @reneeotten} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +23,7 @@ checksums rmd160 1add5ffb4901bd5a00cb69be28576643488ac34c \
</span> sha256 1cf830c6614362a78aab78d50eaf7c6c93831369c52e1bb64ffae1df0341e637 \
size 49580
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 36 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 36 37 38 39 310
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,29 +32,10 @@ if {${name} ne ${subport}} {
</span> depends_lib-append \
port:enchant2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} == 27} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 2.0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 418e2f231f11f4b7c23ab5e2217ad4971c407560 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 64022
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-enchant-_enchant.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/enchant/_enchant.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:enchant2 port:enchant
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span> set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} Changelog README.rst \
LICENSE.txt ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-enchant/files/patch-enchant-_enchant.py.diff b/python/py-enchant/files/patch-enchant-_enchant.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 24d6a659f06..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-enchant/files/patch-enchant-_enchant.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- enchant/_enchant.orig.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ enchant/_enchant.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -76,7 +76,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yield find_library("libenchant-1")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Special-case handling for enchant installed by macports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if sys.platform == 'darwin':
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- yield "/opt/local/lib/libenchant.dylib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ yield "@PREFIX@/lib/libenchant.dylib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # On win32 we ship a bundled version of the enchant DLLs.
</span></pre><pre style='margin:0'>
</pre>