FreeBSD Bugzilla – Attachment 210554 Details for
Bug 241380
[PATCH] math/jakarta-commons-math3 update and rename to apache-commons-math
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn patch: Update, cleanup obsolete changes and move
math-apache_commons-math.diff (text/plain), 14.97 KB, created by
Pedro F. Giffuni
on 2020-01-09 04:16:36 UTC
(
hide
)
Description:
svn patch: Update, cleanup obsolete changes and move
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2020-01-09 04:16:36 UTC
Size:
14.97 KB
patch
obsolete
>Index: MOVED >=================================================================== >--- MOVED (revision 522436) >+++ MOVED (working copy) >@@ -13724,3 +13724,4 @@ > devel/yosys|cad/yosys|2020-01-04|Move to a proper category > cad/ujprog|comms/ujprog|2020-01-05|Move to a proper category > net/gnatsd|net/nats-server|2020-01-06|Renamed upstream >+math/jakarta-commons-math3|apache-commons-math|2020-01-08|Renamed upstream >Index: math/Makefile >=================================================================== >--- math/Makefile (revision 522436) >+++ math/Makefile (working copy) >@@ -132,6 +132,7 @@ > SUBDIR += ann > SUBDIR += antic > SUBDIR += apc >+ SUBDIR += apache-commons-math > SUBDIR += apron > SUBDIR += arb > SUBDIR += aribas >@@ -301,7 +302,6 @@ > SUBDIR += ised > SUBDIR += jacal > SUBDIR += jags >- SUBDIR += jakarta-commons-math3 > SUBDIR += jama > SUBDIR += jeuclid > SUBDIR += jlatexmath >Index: math/apache-commons-math/Makefile >=================================================================== >--- math/apache-commons-math/Makefile (revision 522436) >+++ math/apache-commons-math/Makefile (working copy) >@@ -1,13 +1,13 @@ > # Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com> > # $FreeBSD$ > >-PORTNAME= commons-math3 >-PORTVERSION= 3.3 >+PORTNAME= commons-math >+PORTVERSION= 3.6.1 > CATEGORIES= math java > MASTER_SITES= APACHE_COMMONS_SOURCE \ > http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 >-PKGNAMEPREFIX= jakarta- >-DISTNAME= ${PORTNAME}-${PORTVERSION}-src >+PKGNAMEPREFIX= apache- >+DISTNAME= ${PORTNAME}3-${PORTVERSION}-src > DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ > junit-4.8.2.jar:source2 > EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} >@@ -15,8 +15,6 @@ > MAINTAINER= bofh@FreeBSD.org > COMMENT= Java library of self-contained mathematics and statistics components > >-BROKEN= unfetchable >- > LICENSE= APACHE20 > > BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details >@@ -29,7 +27,7 @@ > ALL_TARGET= jar > MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true > >-JARFILE= ${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar >+JARFILE= ${PORTNAME:S,3,,}-3.6.jar > DESTJARFILE= ${PORTNAME}.jar > PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE} > >@@ -43,11 +41,6 @@ > PORTDOCS= apidocs ${OTHERDOCS} > .endif > >-JDK_API= ${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1 >-.if ${JDK_API} != "" >-MAKE_ARGS+= -Djdk.api=$$(${JDK_API}) >-.endif >- > post-extract: > ${MKDIR} ${WRKSRC}/lib > ${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/ >@@ -57,11 +50,9 @@ > ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE} > > .if ${PORT_OPTIONS:MDOCS} >- ${MKDIR} ${STAGEDIR}${DOCSDIR} >- cd ${WRKSRC}/target \ >- && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ >- && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; >- ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ >+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs >+ (cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}/apidocs/${SDIR}) >+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}/ > .endif > > .include <bsd.port.mk> >Index: math/apache-commons-math/distinfo >=================================================================== >--- math/apache-commons-math/distinfo (revision 522436) >+++ math/apache-commons-math/distinfo (working copy) >@@ -1,4 +1,5 @@ >-SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b >-SIZE (commons-math3-3.3-src.tar.gz) = 3409107 >+TIMESTAMP = 1571601170 >+SHA256 (commons-math3-3.6.1-src.tar.gz) = 46171449bcfb7d76912275ed1af9ef7de03f7eb1cb9a801e3faf304cc8f586a6 >+SIZE (commons-math3-3.6.1-src.tar.gz) = 3665572 > SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e > SIZE (junit-4.8.2.jar) = 237344 >Index: math/apache-commons-math/files/patch-build.xml >=================================================================== >--- math/apache-commons-math/files/patch-build.xml (revision 522436) >+++ math/apache-commons-math/files/patch-build.xml (working copy) >@@ -1,14 +1,5 @@ >---- build.xml.orig 2014-05-07 20:40:45.000000000 +0000 >-+++ build.xml 2014-06-13 18:53:29.152647282 +0000 >-@@ -52,7 +52,7 @@ >- <property name="component.title" value="Commons MATH"/> >- >- <!-- The current version number of this component --> >-- <property name="component.version" value="3.1-SNAPSHOT"/> >-+ <property name="component.version" value="3.3-SNAPSHOT"/> >- >- <!-- The base directory for component sources --> >- <property name="source.home" value="src/main/java"/> >+--- build.xml.orig 2016-03-17 12:14:52 UTC >++++ build.xml > @@ -174,7 +174,7 @@ > > <!-- ========== Unit Test Targets ========================================= --> >@@ -27,20 +18,21 @@ > > <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> > <copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/> >-@@ -339,29 +339,8 @@ >+@@ -339,38 +339,11 @@ > > <!-- ========== Gump Target ===================================================== --> > > - <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/> >-+ <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,javadoc,jar"/> >++ <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/> > > >--<!-- ========== Download Dependencies =========================================== --> >-- >+ <!-- ========== Download Dependencies =========================================== --> >+ > - <target name="download-dependencies" >-- depends="check-availability" unless="skip.download"> >+- depends="check-availability" unless="skip.download"> > - <echo message="doing download-dependencies..." /> > - <antcall target="download-junit" /> >+- <antcall target="download-hamcrest" /> > - </target> > - > - <target name="check-availability"> >@@ -55,6 +47,14 @@ > - usetimestamp="true" ignoreerrors="true" > - src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/> > - </target> >-- >+- >+- <target name="download-hamcrest" unless="hamcrest.found"> >+- <echo message="Downloading hamcrest..."/> >+- <mkdir dir="${download.lib.dir}" /> >+- <get dest="${download.lib.dir}/${hamcrest.jar}" >+- usetimestamp="true" ignoreerrors="true" >+- src="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/> >+- </target> >+ > </project> > >Index: math/apache-commons-math/pkg-descr >=================================================================== >--- math/apache-commons-math/pkg-descr (revision 522436) >+++ math/apache-commons-math/pkg-descr (working copy) >@@ -2,4 +2,16 @@ > statistics components addressing the most common problems not available in the > Java programming language or Commons Lang. > >-WWW: http://jakarta.apache.org/commons/math/ >+Guiding principles: >+ >+ * Real-world application use cases determine development priority. >+ * This package emphasizes small, easily integrated components rather than >+ large libraries with complex dependencies and configurations. >+ * All algorithms are fully documented and follow generally accepted best >+ practices. >+ * In situations where multiple standard algorithms exist, a Strategy pattern >+ is used to support multiple implementations. >+ * Limited dependencies. No external dependencies beyond Commons components >+ and the core Java platform. >+ >+WWW: http://commons.apache.org/proper/commons-math/ >Index: math/jakarta-commons-math3/Makefile >=================================================================== >--- math/jakarta-commons-math3/Makefile (revision 522436) >+++ math/jakarta-commons-math3/Makefile (nonexistent) >@@ -1,67 +0,0 @@ >-# Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com> >-# $FreeBSD$ >- >-PORTNAME= commons-math3 >-PORTVERSION= 3.3 >-CATEGORIES= math java >-MASTER_SITES= APACHE_COMMONS_SOURCE \ >- http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 >-PKGNAMEPREFIX= jakarta- >-DISTNAME= ${PORTNAME}-${PORTVERSION}-src >-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ >- junit-4.8.2.jar:source2 >-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} >- >-MAINTAINER= bofh@FreeBSD.org >-COMMENT= Java library of self-contained mathematics and statistics components >- >-BROKEN= unfetchable >- >-LICENSE= APACHE20 >- >-BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details >-BROKEN_armv7= fails to compile: PowellOptimizer.java:301: error: Illegal static declaration in inner class PowellOptimizer.LineSearch >- >-USE_ANT= yes >-USE_JAVA= yes >-USE_LOCALE= en_US.ISO8859-1 >- >-ALL_TARGET= jar >-MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true >- >-JARFILE= ${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar >-DESTJARFILE= ${PORTNAME}.jar >-PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE} >- >-OPTIONS_DEFINE= DOCS >- >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:MDOCS} >-ALL_TARGET+= javadoc >-OTHERDOCS= LICENSE.txt NOTICE.txt >-PORTDOCS= apidocs ${OTHERDOCS} >-.endif >- >-JDK_API= ${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1 >-.if ${JDK_API} != "" >-MAKE_ARGS+= -Djdk.api=$$(${JDK_API}) >-.endif >- >-post-extract: >- ${MKDIR} ${WRKSRC}/lib >- ${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/ >- >-do-install: >- ${MKDIR} ${STAGEDIR}${JAVAJARDIR} >- ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE} >- >-.if ${PORT_OPTIONS:MDOCS} >- ${MKDIR} ${STAGEDIR}${DOCSDIR} >- cd ${WRKSRC}/target \ >- && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ >- && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; >- ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ >-.endif >- >-.include <bsd.port.mk> > >Property changes on: math/jakarta-commons-math3/Makefile >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:keywords >## -1 +0,0 ## >-FreeBSD=%H >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: math/jakarta-commons-math3/distinfo >=================================================================== >--- math/jakarta-commons-math3/distinfo (revision 522436) >+++ math/jakarta-commons-math3/distinfo (nonexistent) >@@ -1,4 +0,0 @@ >-SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b >-SIZE (commons-math3-3.3-src.tar.gz) = 3409107 >-SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e >-SIZE (junit-4.8.2.jar) = 237344 > >Property changes on: math/jakarta-commons-math3/distinfo >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: math/jakarta-commons-math3/files/patch-build.xml >=================================================================== >--- math/jakarta-commons-math3/files/patch-build.xml (revision 522436) >+++ math/jakarta-commons-math3/files/patch-build.xml (nonexistent) >@@ -1,60 +0,0 @@ >---- build.xml.orig 2014-05-07 20:40:45.000000000 +0000 >-+++ build.xml 2014-06-13 18:53:29.152647282 +0000 >-@@ -52,7 +52,7 @@ >- <property name="component.title" value="Commons MATH"/> >- >- <!-- The current version number of this component --> >-- <property name="component.version" value="3.1-SNAPSHOT"/> >-+ <property name="component.version" value="3.3-SNAPSHOT"/> >- >- <!-- The base directory for component sources --> >- <property name="source.home" value="src/main/java"/> >-@@ -174,7 +174,7 @@ >- >- <!-- ========== Unit Test Targets ========================================= --> >- >-- <target name="compile.tests" depends="compile, download-dependencies" description="Compile unit tests."> >-+ <target name="compile.tests" depends="compile" description="Compile unit tests."> >- >- <javac srcdir="${test.home}" >- destdir="${build.home}/test-classes" >-@@ -256,7 +256,7 @@ >- >- <!-- ========== Create Jar ================================================ --> >- >-- <target name="jar" depends="test" description="Create jar file"> >-+ <target name="jar" description="Create jar file"> >- >- <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> >- <copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/> >-@@ -339,29 +339,8 @@ >- >- <!-- ========== Gump Target ===================================================== --> >- >-- <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/> >-+ <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,javadoc,jar"/> >- >- >--<!-- ========== Download Dependencies =========================================== --> >-- >-- <target name="download-dependencies" >-- depends="check-availability" unless="skip.download"> >-- <echo message="doing download-dependencies..." /> >-- <antcall target="download-junit" /> >-- </target> >-- >-- <target name="check-availability"> >-- <echo message="doing check-availability..." /> >-- <available file="${junit.jar}" property="junit.found"/> >-- </target> >-- >-- <target name="download-junit" unless="junit.found"> >-- <echo message="Downloading junit..."/> >-- <mkdir dir="${download.lib.dir}" /> >-- <get dest="${download.lib.dir}/junit-${junit.version}.jar" >-- usetimestamp="true" ignoreerrors="true" >-- src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/> >-- </target> >-- >- </project> >- > >Property changes on: math/jakarta-commons-math3/files/patch-build.xml >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: math/jakarta-commons-math3/pkg-descr >=================================================================== >--- math/jakarta-commons-math3/pkg-descr (revision 522436) >+++ math/jakarta-commons-math3/pkg-descr (nonexistent) >@@ -1,5 +0,0 @@ >-Commons Math is a library of lightweight, self-contained mathematics and >-statistics components addressing the most common problems not available in the >-Java programming language or Commons Lang. >- >-WWW: http://jakarta.apache.org/commons/math/ > >Property changes on: math/jakarta-commons-math3/pkg-descr >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pfg
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 241380
:
208468
| 210554