<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/dc2a3ea46ad149df12c582cc40d760056965f5b3">https://github.com/macports/macports-ports/commit/dc2a3ea46ad149df12c582cc40d760056965f5b3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new dc2a3ea epubcheck: update to version 4.2.2
</span>dc2a3ea is described below
<span style='display:block; white-space:pre;color:#808000;'>commit dc2a3ea46ad149df12c582cc40d760056965f5b3
</span>Author: Randolph M. Fritz <rmfritz3@gmail.com>
AuthorDate: Tue Nov 26 20:56:32 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> epubcheck: update to version 4.2.2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * switch to GitHub
</span><span style='display:block; white-space:pre;color:#404040;'> * specify java version 1.7+
</span><span style='display:block; white-space:pre;color:#404040;'> * update fallback version to openjdk11, the most recent LTS open JDK
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove dependency on kaffe, which is deprecated
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58906
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/53467
</span>---
textproc/epubcheck/Portfile | 66 ++++++++++++++++++++++-----------------------
1 file changed, 33 insertions(+), 33 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/epubcheck/Portfile b/textproc/epubcheck/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5e33737..3009a7e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/epubcheck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/epubcheck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,62 +2,62 @@
</span>
PortSystem 1.0
PortGroup java 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup w3c epubcheck 4.2.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name epubcheck
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2
</span> categories textproc
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span> maintainers nomaintainer
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description ePub Validator to validate ePub documents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description EpubCheck is a tool to validate IDPF EPUB files. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- It can detect many types of errors in EPUB. OCF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- container structure, OPF and OPS mark-up, and \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- internal reference consistency are checked.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://code.google.com/p/epubcheck/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites googlecode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.version 1.7+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.fallback openjdk11
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description EPUB validator
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description EPUBCheck is a tool to validate the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conformance of EPUB publications against the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EPUB specifications. EPUBCheck can be run as a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ standalone command-line tool or used as a Java \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ library.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums sha256 2ad436aeaaa341f28e11fdb91256bc04e8b0747d50857f58f5bd97ec6a6cb265 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 a086609ba13ae36ec63759cf2f7f474b88c8ccdc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1399350
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha256 029ee9cda237a42e0d4c1a2b8771a440a4a6326449db843510b16a3c61045463 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 cebf60866877013c2a9170605548d139fd16a232 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 11990465
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-java.version 1.5+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This Portfile downloads the Java bytecode for EPUBCheck from GitHub,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# rather than pulling together all the Java bits and pieces necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# to run EPUBCheck
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.mkdir yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.post_args ""
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Since we're just dealing with downloaded bytecode, there is no configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and build
</span> use_configure no
build {}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Since this is a non-standard installation,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the standard destroot phase is entirely overridden
</span> destroot {
# path to the epubcheck java files (without ${destroot}):
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set epubcheck ${prefix}/share/java/epubcheck
# install the template epubcheck script from files:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> xinstall ${filespath}/epubcheck.in ${destroot}${prefix}/bin/epubcheck
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # set the correct path to epubcheck.jar in the epubcheck script:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@EPUBCHECK@@|${epubcheck}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/bin/epubcheck
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@EPUBCHECK@@|${epubcheck}|g" ${destroot}${prefix}/bin/epubcheck
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # install the epubcheck java files:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> xinstall -d ${destroot}${epubcheck}/lib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${worksrcpath}/${name}-${version}.jar ${destroot}${epubcheck}/${name}.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall {*}[glob ${worksrcpath}/*.txt] ${destroot}${epubcheck}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall {*}[glob ${worksrcpath}/lib/*] ${destroot}${epubcheck}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${worksrcpath}/${name}.jar ${destroot}${epubcheck}/${name}.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall {*}[glob ${worksrcpath}/*.txt] ${destroot}${epubcheck}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall {*}[glob ${worksrcpath}/lib/*] ${destroot}${epubcheck}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>