diff options
Diffstat (limited to 'sci-libs/hdf5')
-rw-r--r-- | sci-libs/hdf5/Manifest | 10 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.12.1-cmake_installdirs.patch | 103 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch | 164 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.10.5.ebuild | 102 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 128 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.12.1.ebuild | 119 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.12.2-r1.ebuild | 124 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 125 | ||||
-rw-r--r-- | sci-libs/hdf5/metadata.xml | 1 |
9 files changed, 1 insertions, 875 deletions
diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest index 21188e4f22af..bcaff401bd57 100644 --- a/sci-libs/hdf5/Manifest +++ b/sci-libs/hdf5/Manifest @@ -1,19 +1,11 @@ -AUX hdf5-1.12.1-cmake_installdirs.patch 4313 BLAKE2B 78b894a3535c71dbd673e2061e09e1a57d57c1d65418ac87e51669e7cf8a77f023aac076686e978b89903fb0aa74f0511f779ceb149ab783e5624ec24bf5c6a6 SHA512 4a8fce1e3a5ae9d8cdca4fa377011fb7333de0b233e79c6eeed9a24154925eb8dededfe8cff4e28a7cedeb2fbfe194df1a5f18629d56de47b4ba3097824e6b7d -AUX hdf5-1.12.2-cmake_installdirs.patch 7289 BLAKE2B 7a8846200194c93f014e1862165d153e3dc21df87f08458c827356051cb4e1ffc90df4f176063356347eea881153f48c791cf51fa209ec3b5ca883edc13c06b1 SHA512 3c0933d64207ddead06cd575d40d919402a94a5317f14da1a5ee3b06c88ac65b108754d698715618b87104d8d471eaa6131310b0077202eac0ed221b3da18c5b AUX hdf5-1.12.2-no-messing-ldpath.patch 1086 BLAKE2B 77aba02cd8f3663883fa5cf91b3f77067163f58ec4270d22e2c4e1a5b9b1cc138a2e9dd1c7a44331165c69d6c7a0427fe2708bae63958b416a9f26c799de7443 SHA512 8b8aa080cb6feded376900cf9f4b1f1bbe98550b37e9ae8ad660419f732e686aae2ff6eac37e7810ee438a0e9c1b7a37d24f5db8590cce0c91f482ec7b873527 AUX hdf5-1.12.2-no-strip-symbols.patch 434 BLAKE2B c8d96cb95d3444c18349d72b7fd59f76b4af3d0c5422a7c31161b8f98afacb322b042b8f5751b581565b351148fd0f4003379349b6ca964f5957cd9e19ebdebc SHA512 6b593a8bbbd4a4e9b97e8b3324ad90024b2c09c669d2f6e21a0d23adb66bbbec34afc5961bf97bc6f913492e33610a4b5aeca6a7a4ef9f7605ce5b69fbba6527 AUX hdf5-1.8.13-no-messing-ldpath.patch 1141 BLAKE2B d7d186e4c00acb9fd3d44beb1d8c3c4da0c373f88b3fdf21e1f89b169b747d49572239385228687cfc10380bdceb9ca6d1ac0d5f5154cb7a328f8a2d509fb28d SHA512 e43021ceb83909ab06ba378363c192aa0f1b34cc7c2b121f5000e215516dbdea1b825a53ac4023073bf4870a5c3452c22f5535391d95af45ad63a309e1ffa5a4 AUX hdf5-1.8.9-mpicxx.patch 494 BLAKE2B 148d87af064e2ba28c918c8db39ece0782a179803e4c38c5cd5eaba81a673bb8aa3699a48e80a7ae2d4579ac0261cc21d5509e46661ada9a69f444a58eb45ecd SHA512 8b4c39e40591860652547ea8ff205230da7d67488233e911cbcb3416eab561f2529c65bc5e7c9c812bf4298812346f47f9209e5f69f7e8f66ad587306a5b477b AUX hdf5-1.8.9-static_libgfortran.patch 429 BLAKE2B 9e1c544a453c09b3498a7d9d3e8090c928571776934c4dd6b426cbdb2783ed8f47185d6ee0c73ede6b4f14e27459ef5e1412112e9d897daa2dc57f1ad5fb0b24 SHA512 af97c54469a90bf3b0e8ec1218d4ca95822ac0cbc7120114979fc467fe3114743c74f4d4e16f0c10b1cd82d40880ef482f6fd34e1effc7c621b981ad466204f9 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c SHA512 769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4 -DIST hdf5-1.12.1.tar.bz2 9724309 BLAKE2B cc75ba497188b33972218d02a7601acad1a0443bdb934ecd1641ef5996076fe120e3b72dba3a99d99f919fb4e478d1e531414448de9a7b97a0afde58a4c7c23f SHA512 158a067ee284ccb9e2c4db12e9d37cf187d90d9ef1bed7a6303e2c3a2fd216d7b13a46c5f46018b097511281c4246156b6f917633ca88872f10f0ad04be285fd DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7 SHA512 cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5 EBUILD hdf5-1.10.5-r1.ebuild 2940 BLAKE2B 45e4cf6004cb70667829844ddf37f2c4f96d6b5c92a8eb9b3c757ea47e6d9f98e28f906c7d2c6a33efd95328bc0b6358d640da36c82fc5408bbb968c38b95115 SHA512 04ac047f56128f41f4cdc8b07caa0d656f31d34200961a1ee525583263dc338abff7860158f9549ddf31bf0563ed963fbd5dff4ee212d85443aff599e5d2c25a -EBUILD hdf5-1.10.5.ebuild 2770 BLAKE2B 33a671a87978ba04e1b43cbc048093f12d6303841353124a0ba405fec1d32fdc2cb15ed627b968fc5c3feeba151e78525adf77be3f420993d02f793cf094b96d SHA512 3bb860418e226967b1a2b50ecbbeb6ca793790a7915d6cb6f9ea201816cbc555b455596e200fc2504084597ccbe4d1ae1f91cbc64d68c7a39d2eeae998194304 -EBUILD hdf5-1.12.1-r1.ebuild 3468 BLAKE2B da5ba395f8971076a6a3186332f94446dadc7be2817fbb488c612bf4f1b283fc927ea33b7eff23dfbe5b43c1c27a85d72d72ddd4fb617e37a79416fede96bd1b SHA512 96c6c2f95e13a7841f6a9fa63e838ad218819bd0c854c8994a382c15e2f3fff1ae11f099cd613c4b41efa726b1616ead0cf9c4a0d6aedf6d0c7b2d8ca0d8f7ea -EBUILD hdf5-1.12.1.ebuild 3144 BLAKE2B 2bd023c0ade920fc795f4434260318095a34b200ddb6a458a6ee7d647fac79d4e31029f93a0d2aafede8682e515a9f9c9db46b5a976f07cd83d5086f77538079 SHA512 10ce8493fd3fa421d8c71267e7c57adaac490244742ed93166ce634f5b956b392efb3b86814c17ad8bfba3347c4e3be54b5688b8eec3af848f1d13c341bb8bcc -EBUILD hdf5-1.12.2-r1.ebuild 3389 BLAKE2B 536c7a51533849c8b19f2a086b35352a9a845d89417ba10464ef53b0ee444fcab2fec0e369d5bdf9a1aa4746c0f004726200db1b60b67b3876eb425504d6d173 SHA512 1ccc6ce4ca8712bdd39d79e5acd82886a592d0578f14162ed374675e9bfcd2e8fe838354acea030298b340c9fac22f250913e205a9e943a4919237c0603766cc -EBUILD hdf5-1.12.2-r2.ebuild 3456 BLAKE2B d59c684d4494e7f7f484dc87297ef1465998a8f9d75c2cf268e1d689353fd5e092c27dd0a61907ffe11cb35c424e2f9e972a7e3770f0938808bd704cdeca7961 SHA512 4e0b609458298ab12214aa68bb298063d35f64c12c4eff0cc656546b930dce5cc5891e9cdd6d030f7d616aa4ca13386dbbb020970cbea6d939bbe2356fb310ed EBUILD hdf5-1.12.2-r4.ebuild 3209 BLAKE2B eb7b30bee62cbad778b07f089026395d70046e3845b636bdb526e0960e4ae3789f2e5d1c9eac6fc213b755809c42946cf332446582d032d04900cfd80b57b06a SHA512 e6c2c24f9558c381b8ae5da8f0967635c64b02ad5f8288d5a08841c7637f8de7b72229f89d8be2cff5cd0c8c4482b404db3a7d41aeeaa927157c257f91fb62a3 EBUILD hdf5-1.12.2-r5.ebuild 3296 BLAKE2B a0930b328b9d52218d95d4fe613d37b82f34805a97a51f366fe9785028c69aab19c7225e65929be4e14b882266b5318cff327bf98cb7ebea11de64248d9c982e SHA512 3e89fd024d44dd9f12dea298411730083c54b880b261d831afb8a29b19b83cbf28780ad3dd7cbbf2ccf4fff11630547131a37291052849adee0c678393005918 -MISC metadata.xml 985 BLAKE2B 989b487ac17b7cfc1920144207dbe101cb46d059e2f219d3da15094a7cd2da9979d0d11ef177f2c5542f010aefb4c1be10768d5c98a3e0b6235a4228b452f283 SHA512 e95daa26ad42f923ab113db8e62d2a37e4d8296e1cdc8e856a2f4ab5ffbcd0797c7be7365d3f3d55ab1e6cb45f17e6264bcf0df8d2ae013e972e28f679dfce61 +MISC metadata.xml 826 BLAKE2B fd131bb207e4ab863ef7c05ab95e5c0254fa08230139a2508ab5f0c363809b0735532498ad26cc39621495a063de86ab5bd97447514ff561a63302e8b1d7d26d SHA512 290883ed9bf3de60bf04e2474c4db50e095b1b87974867e58601a5c5c2f98d6b839ed22d9ce2798bc44f484f1a38ee4b6df99aaea7d134629bd441d34b5a29b5 diff --git a/sci-libs/hdf5/files/hdf5-1.12.1-cmake_installdirs.patch b/sci-libs/hdf5/files/hdf5-1.12.1-cmake_installdirs.patch deleted file mode 100644 index 8c4dc34cb80c..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.12.1-cmake_installdirs.patch +++ /dev/null @@ -1,103 +0,0 @@ ---- a/c++/src/CMakeLists.txt -+++ b/c++/src/CMakeLists.txt -@@ -180,8 +180,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_CPP_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -46,6 +46,13 @@ - endif() - endif () - -+include (GNUInstallDirs) -+set (HDF5_INSTALL_BIN_DIR "${CMAKE_INSTALL_FULL_BINDIR}") -+set (HDF5_INSTALL_DATA_DIR "${CMAKE_INSTALL_FULL_DATADIR}") -+set (HDF5_INSTALL_DOC_DIR "${CMAKE_INSTALL_FULL_DOCDIR}") -+set (HDF5_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}") -+set (HDF5_INSTALL_LIB_DIR "${CMAKE_INSTALL_FULL_LIBDIR}") -+ - #----------------------------------------------------------------------------- - # Instructions for use : Sub-Project Build - # ---- a/fortran/src/CMakeLists.txt -+++ b/fortran/src/CMakeLists.txt -@@ -537,8 +537,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_F90_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/c++/src/CMakeLists.txt -+++ b/hl/c++/src/CMakeLists.txt -@@ -91,8 +91,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_CPP_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/fortran/src/CMakeLists.txt -+++ b/hl/fortran/src/CMakeLists.txt -@@ -324,8 +324,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_F90_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/src/CMakeLists.txt -+++ b/hl/src/CMakeLists.txt -@@ -123,8 +123,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1311,8 +1311,8 @@ - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - -@@ -1419,7 +1419,7 @@ - # ) - install ( - DIRECTORY ${HDF5_BINARY_DIR}/hdf5lib_docs/html -- DESTINATION ${HDF5_INSTALL_DATA_DIR} -+ DESTINATION ${HDF5_INSTALL_DOC_DIR} - COMPONENT Documents - ) - diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch b/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch deleted file mode 100644 index 6ea7520c0f13..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch +++ /dev/null @@ -1,164 +0,0 @@ -https://github.com/HDFGroup/hdf5/pull/1716 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -46,6 +46,13 @@ if (CMAKE_VERSION VERSION_LESS "3.14.0") - endif() - endif () - -+include (GNUInstallDirs) -+set (HDF5_INSTALL_BIN_DIR "${CMAKE_INSTALL_FULL_BINDIR}") -+set (HDF5_INSTALL_DATA_DIR "${CMAKE_INSTALL_FULL_DATADIR}") -+set (HDF5_INSTALL_DOC_DIR "${CMAKE_INSTALL_FULL_DOCDIR}") -+set (HDF5_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}") -+set (HDF5_INSTALL_LIB_DIR "${CMAKE_INSTALL_FULL_LIBDIR}") -+ - #----------------------------------------------------------------------------- - # Instructions for use : Sub-Project Build - # ---- a/c++/src/CMakeLists.txt -+++ b/c++/src/CMakeLists.txt -@@ -173,8 +173,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_CPP_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/doxygen/CMakeLists.txt -+++ b/doxygen/CMakeLists.txt -@@ -36,7 +36,7 @@ if (DOXYGEN_FOUND) - - install ( - DIRECTORY ${HDF5_BINARY_DIR}/hdf5lib_docs/html -- DESTINATION ${HDF5_INSTALL_DATA_DIR} -+ DESTINATION ${HDF5_INSTALL_DOC_DIR} - COMPONENT Documents - ) - ---- a/fortran/src/CMakeLists.txt -+++ b/fortran/src/CMakeLists.txt -@@ -537,8 +537,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_F90_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/c++/src/CMakeLists.txt -+++ b/hl/c++/src/CMakeLists.txt -@@ -91,8 +91,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_CPP_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/fortran/src/CMakeLists.txt -+++ b/hl/fortran/src/CMakeLists.txt -@@ -324,8 +324,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_F90_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/hl/src/CMakeLists.txt -+++ b/hl/src/CMakeLists.txt -@@ -123,8 +123,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_HL_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1288,8 +1288,8 @@ endif () - #----------------------------------------------------------------------------- - set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) --set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) --set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) -+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - set (_PKG_CONFIG_LIBNAME "${HDF5_LIB_CORENAME}") - set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") - ---- a/CMakeInstallation.cmake -+++ b/CMakeInstallation.cmake -@@ -31,7 +31,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED) - if (HDF5_EXPORTED_TARGETS) - install ( - EXPORT ${HDF5_EXPORTED_TARGETS} -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR} -+ DESTINATION ${HDF5_INSTALL_LIB_DIR}/cmake - FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake - NAMESPACE ${HDF_PACKAGE_NAMESPACE} - COMPONENT configinstall -@@ -67,12 +67,12 @@ set (HDF5_VERSION_MINOR ${HDF5_PACKAGE_VERSION_MINOR}) - # Configure the hdf5-config.cmake file for the build directory - #----------------------------------------------------------------------------- - set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR}) --set (SHARE_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_INSTALL_CMAKE_DIR}" ) -+set (SHARE_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_INSTALL_LIB_DIR}/cmake" ) - set (CURRENT_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}" ) - configure_package_config_file ( - ${HDF_RESOURCES_DIR}/hdf5-config.cmake.in - "${HDF5_BINARY_DIR}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake" -- INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}" -+ INSTALL_DESTINATION "${HDF5_INSTALL_LIB_DIR}/cmake" - PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR - INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}" - ) -@@ -81,19 +81,19 @@ configure_package_config_file ( - # Configure the hdf5-config.cmake file for the install directory - #----------------------------------------------------------------------------- - set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR}) --set (SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${HDF5_INSTALL_CMAKE_DIR}" ) -+set (SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${HDF5_INSTALL_LIB_DIR}/cmake" ) - set (CURRENT_BUILD_DIR "${CMAKE_INSTALL_PREFIX}" ) - configure_package_config_file ( - ${HDF_RESOURCES_DIR}/hdf5-config.cmake.in - "${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake" -- INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}" -+ INSTALL_DESTINATION "${HDF5_INSTALL_LIB_DIR}/cmake" - PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR - ) - - if (NOT HDF5_EXTERNALLY_CONFIGURED) - install ( - FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR} -+ DESTINATION ${HDF5_INSTALL_LIB_DIR}/cmake - COMPONENT configinstall - ) - endif () -@@ -109,7 +109,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED) - ) - install ( - FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR} -+ DESTINATION ${HDF5_INSTALL_LIB_DIR}/cmake - COMPONENT configinstall - ) - endif () diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild deleted file mode 100644 index 1b6770c23e14..000000000000 --- a/sci-libs/hdf5/hdf5-1.10.5.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED=fortran - -inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix - -MY_P=${PN}-${PV/_p/-patch} -MAJOR_P=${PN}-$(ver_cut 1-2) - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug examples fortran +hl mpi szip threads zlib" - -REQUIRED_USE=" - cxx? ( !mpi ) mpi? ( !cxx ) - threads? ( !cxx !mpi !fortran !hl )" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip ) - zlib? ( sys-libs/zlib:0= )" - -DEPEND="${RDEPEND} - sys-devel/libtool:2 - >=sys-devel/autoconf-2.69" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch - "${FILESDIR}"/${PN}-1.8.9-mpicxx.patch - "${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch -) - -pkg_setup() { - tc-export CXX CC AR # workaround for bug 285148 - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - export CC=mpicc - use fortran && export FC=mpif90 - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_prepare() { - # respect gentoo examples directory - sed \ - -e "s:hdf5_examples:doc/${PF}/examples:g" \ - -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die - sed \ - -e '/docdir/d' \ - -i config/commence.am || die - if ! use examples; then - sed -e '/^install:/ s/install-examples//' \ - -i Makefile.am || die #409091 - fi - # enable shared libs by default for h5cc config utility - sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die - hprefixify m4/libtool.m4 - - default - eautomake -} - -src_configure() { - use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620 - econf \ - --disable-static \ - --enable-deprecated-symbols \ - --enable-build-mode=$(usex debug debug production) \ - $(use_enable cxx) \ - $(use_enable debug codestack) \ - $(use_enable fortran) \ - $(use_enable hl) \ - $(use_enable mpi parallel) \ - $(use_enable threads threadsafe) \ - $(use_with szip szlib) \ - $(use_with threads pthread) \ - $(use_with zlib) -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild deleted file mode 100644 index 32a8891c8155..000000000000 --- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED="fortran" - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -MY_P="${PN}-${PV/_p/-patch}" -MAJOR_P="${PN}-$(ver_cut 1-2)" - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug doc examples fortran +hl mpi ros3 szip test threads unsupported zlib" - -REQUIRED_USE=" - !unsupported? ( - mpi? ( !cxx !threads ) - threads? ( !cxx !fortran !hl ) - )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - ros3? ( - net-misc/curl - dev-libs/openssl:= - ) - szip? ( virtual/szip ) - zlib? ( sys-libs/zlib:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( - app-doc/doxygen - virtual/latex-base -)" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.1-cmake_installdirs.patch -) - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - export CC="mpicc" - use fortran && export FC="mpif90" - append-libs -lmpi - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620 - local mycmakeargs=( - # Workaround needed to allow build with USE=fortran when an older - # version is installed. See bug #808633 and - # https://github.com/HDFGroup/hdf5/issues/1027 upstream. - -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON - -DBUILD_STATIC_LIBS=OFF - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DHDF5_BUILD_EXAMPLES=OFF - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_DOC=$(usex doc) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_ENABLE_CODESTACK=$(usex debug) - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip) - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - -DHDF5_ENABLE_ROS3_VFD:BOOL=$(usex ros3) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # TODO: generate functioning example runners from their respective - # .in files - as of version 1.12.1 upstream only has it implemented - # for autoconf. - if use examples; then - # These are all useless outside the source tree - rm -f {examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - rm -f hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - - dodoc -r examples - if use cxx; then - docinto c++ - dodoc -r c++/examples - fi - if use fortran; then - docinto fortran - dodoc -r fortran/examples - fi - if use hl; then - docinto hl - dodoc -r hl/examples - if use cxx; then - docinto hl/c++ - dodoc -r hl/c++/examples - fi - if use fortran; then - docinto hl/fortran - dodoc -r hl/fortran/examples - fi - fi - fi -} diff --git a/sci-libs/hdf5/hdf5-1.12.1.ebuild b/sci-libs/hdf5/hdf5-1.12.1.ebuild deleted file mode 100644 index 8248d6614f5a..000000000000 --- a/sci-libs/hdf5/hdf5-1.12.1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED="fortran" - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -MY_P="${PN}-${PV/_p/-patch}" -MAJOR_P="${PN}-$(ver_cut 1-2)" - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported zlib" - -REQUIRED_USE=" - !unsupported? ( - mpi? ( !cxx !threads ) - threads? ( !cxx !fortran !hl ) - )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip ) - zlib? ( sys-libs/zlib:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( - app-doc/doxygen - virtual/latex-base -)" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.1-cmake_installdirs.patch -) - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - export CC="mpicc" - use fortran && export FC="mpif90" - append-libs -lmpi - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620 - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DHDF5_BUILD_EXAMPLES=OFF - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_DOC=$(usex doc) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_ENABLE_CODESTACK=$(usex debug) - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip) - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # TODO: generate functioning example runners from their respective - # .in files - as of version 1.12.1 upstream only has it implemented - # for autoconf. - if use examples; then - # These are all useless outside the source tree - rm -f {examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - rm -f hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - - dodoc -r examples - if use cxx; then - docinto c++ - dodoc -r c++/examples - fi - if use fortran; then - docinto fortran - dodoc -r fortran/examples - fi - if use hl; then - docinto hl - dodoc -r hl/examples - if use cxx; then - docinto hl/c++ - dodoc -r hl/c++/examples - fi - if use fortran; then - docinto hl/fortran - dodoc -r hl/fortran/examples - fi - fi - fi -} diff --git a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild deleted file mode 100644 index 325f24396b29..000000000000 --- a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED="fortran" - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -MY_P="${PN}-${PV/_p/-patch}" -MAJOR_P="${PN}-$(ver_cut 1-2)" - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported zlib" - -REQUIRED_USE=" - !unsupported? ( - mpi? ( !cxx !threads ) - threads? ( !cxx !fortran !hl ) - )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip ) - zlib? ( sys-libs/zlib:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( - app-doc/doxygen - virtual/latex-base -)" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.2-cmake_installdirs.patch -) - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - export CC="mpicc" - use fortran && export FC="mpif90" - append-libs -lmpi - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620 - local mycmakeargs=( - # Workaround needed to allow build with USE=fortran when an older - # version is installed. See bug #808633 and - # https://github.com/HDFGroup/hdf5/issues/1027 upstream. - -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON - -DBUILD_STATIC_LIBS=OFF - -DONLY_SHARED_LIBS=ON - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DHDF5_BUILD_EXAMPLES=OFF - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_DOC=$(usex doc) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_ENABLE_CODESTACK=$(usex debug) - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip) - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # TODO: generate functioning example runners from their respective - # .in files - as of version 1.12.1 upstream only has it implemented - # for autoconf. - if use examples; then - # These are all useless outside the source tree - rm -f {examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - rm -f hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - - dodoc -r examples - if use cxx; then - docinto c++ - dodoc -r c++/examples - fi - if use fortran; then - docinto fortran - dodoc -r fortran/examples - fi - if use hl; then - docinto hl - dodoc -r hl/examples - if use cxx; then - docinto hl/c++ - dodoc -r hl/c++/examples - fi - if use fortran; then - docinto hl/fortran - dodoc -r hl/fortran/examples - fi - fi - fi -} diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild deleted file mode 100644 index 12d13c181a04..000000000000 --- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED="fortran" - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -MY_P="${PN}-${PV/_p/-patch}" -MAJOR_P="${PN}-$(ver_cut 1-2)" - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported zlib" - -REQUIRED_USE=" - !unsupported? ( - mpi? ( !cxx !threads ) - threads? ( !cxx !fortran !hl ) - )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip ) - zlib? ( sys-libs/zlib:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( - app-doc/doxygen - virtual/latex-base -)" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.2-cmake_installdirs.patch -) - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - export CC="mpicc" - use fortran && export FC="mpif90" - append-libs -lmpi - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620 - local mycmakeargs=( - # Workaround needed to allow build with USE=fortran when an older - # version is installed. See bug #808633 and - # https://github.com/HDFGroup/hdf5/issues/1027 upstream. - -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON - -DBUILD_STATIC_LIBS=OFF - -DONLY_SHARED_LIBS=ON - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DHDF5_BUILD_EXAMPLES=OFF - -DH5_DEFAULT_PLUGINDIR="${EPREFIX}/usr/$(get_libdir)/hdf5/plugin" - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_DOC=$(usex doc) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_ENABLE_CODESTACK=$(usex debug) - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip) - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # TODO: generate functioning example runners from their respective - # .in files - as of version 1.12.1 upstream only has it implemented - # for autoconf. - if use examples; then - # These are all useless outside the source tree - rm -f {examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - rm -f hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*} - - dodoc -r examples - if use cxx; then - docinto c++ - dodoc -r c++/examples - fi - if use fortran; then - docinto fortran - dodoc -r fortran/examples - fi - if use hl; then - docinto hl - dodoc -r hl/examples - if use cxx; then - docinto hl/c++ - dodoc -r hl/c++/examples - fi - if use fortran; then - docinto hl/fortran - dodoc -r hl/fortran/examples - fi - fi - fi -} diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml index 8f7b63aa4610..e36b723f3510 100644 --- a/sci-libs/hdf5/metadata.xml +++ b/sci-libs/hdf5/metadata.xml @@ -13,7 +13,6 @@ </longdescription> <use> <flag name="hl">Enable high level API (https://support.hdfgroup.org/HDF5/doc/HL/index.html)</flag> - <flag name="ros3">Enable support for read-only S3 access (https://portal.hdfgroup.org/display/HDF5/Configuration+and+Setup+for+HDF5+Read+Only+S3+VFD)</flag> <flag name="unsupported">Enable unsupported combinations of configuration options</flag> </use> <upstream> |