Changeset 137793


Ignore:
Timestamp:
Jun 19, 2015, 11:59:57 PM (4 years ago)
Author:
eborisch@…
Message:

eigen3: Update to 3.2.5. Add eigen3-devel subport. Closes #48105.

Location:
trunk/dports/math/eigen3
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/eigen3/Portfile

    r137406 r137793  
    55PortGroup           compilers 1.0
    66PortGroup           cmake 1.0
     7PortGroup           bitbucket 1.0
    78
    89name                eigen3
    9 version             3.2.4
    1010revision            0
     11
    1112license             MPL-2 LGPL-3+
    1213categories          math science
     
    1617                    matrices, and related algorithms.
    1718long_description    ${description}
    18 homepage            http://eigen.tuxfamily.org/
    1919platforms           darwin
    20 
    21 master_sites        http://bitbucket.org/eigen/eigen/get/
    22 distname            ${version}
    23 
    24 # Eigen seems to like to stealth update; keeping this around for the next time
    25 # 3.0.4 was stealth updated; see #32613
    26 #dist_subdir         ${name}/${version}_32613
    2720
    2821use_bzip2           yes
    2922
    30 checksums \
    31     rmd160  6f91d659c386a9bb2c54f2dc7508ac37577b7be7 \
    32     sha256  d64332c92e31803d2c59f6646ed893965c666acfc7c284e4f5e9ffbb4d148922
    33 
    34 conflicts           eigen3-devel
    35 
    3623depends_build-append    port:pkgconfig
    3724
    38 livecheck.type      regex
    39 livecheck.url       ${homepage}index.php?title=Main_Page
    40 livecheck.regex     {stable release.*Eigen (\d+(?:\.\d+)*).}
     25subport eigen3-devel {}
    4126
    42 patchfiles          unsupported.patch
     27if {${subport} eq ${name}} {
     28    bitbucket.setup     eigen eigen 3.2.5
     29    name                eigen3
     30    conflicts           eigen3-devel
    4331
    44 subport eigen3-devel {
     32    # Eigen seems to like to stealth update; keeping this around for the next
     33    # time 3.0.4 was stealth updated; see #32613
     34    #dist_subdir         ${name}/${version}_32613
     35    checksums \
     36        rmd160  46d5604ef279a50562771a7492ee3a6d570705d6 \
     37        sha256  5f6e6cb88188e34185f43cb819d7dab9b48ef493774ff834e568f4805d3dc2f9
     38
     39    patchfiles          unsupported.patch
     40} else {
     41    # No current development version (other than rolling snapshot)
     42    bitbucket.setup     eigen eigen 90c881e
     43    name                eigen3-devel
    4544    conflicts           eigen3
    46     # No current development version (other than rolling snapshot)
    47     version             3.2.4
     45   
     46    version             3.2.90.20150619
    4847    revision            0
    4948    # rc version seen as older than beta
    5049    epoch               1
    51     distname            ${version}
    5250    checksums \
    53         rmd160  6f91d659c386a9bb2c54f2dc7508ac37577b7be7 \
    54         sha256  d64332c92e31803d2c59f6646ed893965c666acfc7c284e4f5e9ffbb4d148922
    55     livecheck.regex \
    56         {development release.*Eigen (([\d]|\.|beta|rc|-)+)\.}
     51        rmd160  e1f4144d5841f7c9ee146439b6804125fd4a0e5f \
     52        sha256  0c40b0c8829ba6b72f19336583abfcdb6a0bc20a2fd09430b6c5efc138bad6df
    5753}
     54
     55homepage            http://eigen.tuxfamily.org/
    5856
    5957variant doc description \
     
    133131
    134132    foreach sfx ${build_suffix} {
    135         set docdir ${destroot}${sfx}${prefix}/share/doc/${name}
     133        set docdir ${destroot}${sfx}${prefix}/share/doc/eigen3
    136134        xinstall -d ${docdir}
    137135        xinstall -m 644 -W ${workpath}/eigen_src \
     
    145143                # into destroot directories.
    146144                file copy ${worksrcpath}${sfx}/doc/html ${docdir}
     145                # Temporary fix for doxygen changes
     146                file copy ${filespath}/ftv2node.png ${docdir}/html
     147                file copy ${filespath}/ftv2pnode.png ${docdir}/html
     148                file copy ${filespath}/ftv2node.png ${docdir}/html/unsupported
     149                file copy ${filespath}/ftv2pnode.png ${docdir}/html/unsupported
    147150            }
    148151        }
     
    161164    foreach n {README.txt bench doc test} {
    162165        file copy ${workpath}/eigen_src/unsupported/${n} \
    163             ${destroot}${prefix}/include/${name}/unsupported
     166            ${destroot}${prefix}/include/eigen3/unsupported
    164167    }
    165168
  • trunk/dports/math/eigen3/files/unsupported.patch

    r118088 r137793  
    22+++ unsupported/Eigen/CMakeLists.txt    2014-03-14 10:38:30.000000000 -0500
    33@@ -1,6 +1,6 @@
    4 -set(Eigen_HEADERS AdolcForward BVH IterativeSolvers MatrixFunctions MoreVectorization AutoDiff AlignedVector3 Polynomials
    5 +set(Eigen_HEADERS AdolcForward ArpackSupport BVH IterativeSolvers MatrixFunctions MoreVectorization AutoDiff AlignedVector3 Polynomials
    6                    FFT NonLinearOptimization SparseExtra IterativeSolvers
    7 -                  NumericalDiff Skyline MPRealSupport OpenGLSupport KroneckerProduct Splines LevenbergMarquardt
    8 +                  NumericalDiff Skyline SVD MPRealSupport OpenGLSupport KroneckerProduct Splines LevenbergMarquardt
     4 set(Eigen_HEADERS AdolcForward AlignedVector3 ArpackSupport AutoDiff BVH FFT IterativeSolvers KroneckerProduct LevenbergMarquardt
     5                   MatrixFunctions MoreVectorization MPRealSupport NonLinearOptimization NumericalDiff OpenGLSupport Polynomials
     6-                  Skyline SparseExtra Splines
     7+                  Skyline SparseExtra Splines SVD
    98    )
    10  
     9
    1110 install(FILES
    1211--- unsupported/Eigen/src/CMakeLists.txt.orig   2014-03-14 10:39:42.000000000 -0500
    1312+++ unsupported/Eigen/src/CMakeLists.txt        2014-03-14 10:44:53.000000000 -0500
    14 @@ -1,7 +1,9 @@
     13@@ -1,5 +1,6 @@
    1514 ADD_SUBDIRECTORY(AutoDiff)
    1615 ADD_SUBDIRECTORY(BVH)
     
    1817 ADD_SUBDIRECTORY(FFT)
    1918 ADD_SUBDIRECTORY(IterativeSolvers)
    20 +ADD_SUBDIRECTORY(LevenbergMarquardt)
    21  ADD_SUBDIRECTORY(MatrixFunctions)
    22  ADD_SUBDIRECTORY(MoreVectorization)
    23  ADD_SUBDIRECTORY(NonLinearOptimization)
    24 @@ -9,5 +11,6 @@
     19 ADD_SUBDIRECTORY(KroneckerProduct)
     20@@ -11,4 +12,5 @@
    2521 ADD_SUBDIRECTORY(Polynomials)
    2622 ADD_SUBDIRECTORY(Skyline)
    2723 ADD_SUBDIRECTORY(SparseExtra)
    2824+ADD_SUBDIRECTORY(SVD)
    29  ADD_SUBDIRECTORY(KroneckerProduct)
    3025 ADD_SUBDIRECTORY(Splines)
    3126--- unsupported/Eigen/src/SVD/CMakeLists.txt.orig       2014-03-14 10:56:38.000000000 -0500
     
    4035--- unsupported/Eigen/src/LevenbergMarquardt/CMakeLists.txt.orig        2014-03-14 10:57:24.000000000 -0500
    4136+++ unsupported/Eigen/src/LevenbergMarquardt/CMakeLists.txt     2014-03-14 10:57:06.000000000 -0500
    42 @@ -1,6 +1,6 @@
     37@@ -1,4 +1,4 @@
    4338-FILE(GLOB Eigen_LevenbergMarquardt_SRCS "*.h")
    4439+FILE(GLOB Eigen_LevenbergMarquardt_SRCS "*.h" "Copyright*.txt")
     
    4641 INSTALL(FILES
    4742   ${Eigen_LevenbergMarquardt_SRCS}
    48 -  DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen/src/LevenbergMarquardt COMPONENT Devel
    49 +  DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/LevenbergMarquardt COMPONENT Devel
    50    )
Note: See TracChangeset for help on using the changeset viewer.