diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
commit | f1af93971b7490792d8541bc790e0d8c6d787059 (patch) | |
tree | a38046712bbc3a3844d77452d16c84e716caa3d4 /sci-libs | |
parent | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff) |
gentoo resync : 06.08.2019
Diffstat (limited to 'sci-libs')
56 files changed, 1318 insertions, 1816 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex ef8473b676e3..44755f1d951f 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/Shapely/Manifest b/sci-libs/Shapely/Manifest index e5f2a4736af2..c2f1f86e036b 100644 --- a/sci-libs/Shapely/Manifest +++ b/sci-libs/Shapely/Manifest @@ -2,9 +2,11 @@ AUX setup_unicode.patch 698 BLAKE2B a4a007ac79df195e261161c59a92bf2fc50beea9d128 DIST Shapely-1.3.0.tar.gz 118863 BLAKE2B 6a35060b6593519b62b479fdb21047e0a44976109e27a55dbdf7583952666c8cfecf775975be54701696d57d3c5b1082110dd474df265ccf5b467acddcd2a629 SHA512 106f9773a5b00e7269a84c760f3a2b867c48139c48eebeecd524c8216d75c28daaf46eff45c118c1809999e33a317e9aca278a8d83605dc7273877a7ed3edd82 DIST Shapely-1.3.2.tar.gz 120179 BLAKE2B bc10e017a546e715c05c4edb1aab4f86cb0fd6f1f35ab23f1d8dcdf402c96bbbbaca92668cf9bc788387dac8cabd958cfa3ffff5a90045f2f2a7a6798383cb2d SHA512 23d65c5a7137726e05e0399dc49f05e5ad9b582d4adcdf30215f72ae75989e85daf30ea2a5010d6a5a086cb6bbb5b4599b5065080b845c833776812f6e46566d DIST Shapely-1.5.17.tar.gz 180663 BLAKE2B 1a41de8c264989abeac27fe9b63abd81ad6f03f0eecd313131d04190b8bbebc6c6bd6b45b1782fbfd163025cda4977b7e93a24a711c76fddfaedb0fe880cea53 SHA512 eea241942ffbf377001445fab4017c9a2746d6bc0baa6c801a08ca95e608bbdaea7ad9568f00cbecdb559e634402bc6d213ebccb4074e59325e1cc4b3771626d +DIST Shapely-1.6.4.post2.tar.gz 225745 BLAKE2B 96e995db6dd1464bac7c2562efdc7f298a5f23c388e44f334db685b1cfa1025ff403db870e11328977a267483726504e03b6d7c47fe4234a3a5966a13b2b7311 SHA512 027c816ef2104f654569ca658b52b87c60e5ba6a45927fcc51c23dd1922f3f9f7fdcea3601160b0a999e39611617142833ccac790777093be8b96a0d9083f78f EBUILD Shapely-1.3.0.ebuild 603 BLAKE2B 62cf1e6d9fd2910ca19853362f74b6cf887f51680f4ddb4c4815043afc6299145c3238dbf9324d20047a9b7888c0c3ca8f4f97a8e088081943545e064b36b335 SHA512 ad90840393460ff0644e0bdc8be885febbe8c874c47330d200266cb1423335ad8433163762b46fb2bd32275d4d255dde29297ecd44fec689156af7b6f5539905 EBUILD Shapely-1.3.2.ebuild 603 BLAKE2B 62cf1e6d9fd2910ca19853362f74b6cf887f51680f4ddb4c4815043afc6299145c3238dbf9324d20047a9b7888c0c3ca8f4f97a8e088081943545e064b36b335 SHA512 ad90840393460ff0644e0bdc8be885febbe8c874c47330d200266cb1423335ad8433163762b46fb2bd32275d4d255dde29297ecd44fec689156af7b6f5539905 EBUILD Shapely-1.5.17-r1.ebuild 1052 BLAKE2B 71a677a56a589598ee692554ecb4e1c07fad83af3f34e521b1f3ba039dc9ca52174431560e9a5624ccb58b51ab5c86c901e773947d08579f1e6d9aef51d767cd SHA512 20ddcc090a596b4fe9da47f5ca361a0710ab8e04e708a021e9d59ff35ded397779931b649937c204332521cf4cf514e7d8d4db196358f91a61d58d225b298c35 EBUILD Shapely-1.5.17.ebuild 688 BLAKE2B 03b1db2cd2deb926ab58b75228d729ae3315f83533021bb01ca157a3dc210e44d07da0e411f609de99758c655424bca9c158648694851af49bb5b4bc13df7b98 SHA512 11d9431fea44f608a3a50f1bb132c82fe63aaa0ed3591ed36900e3fd1943c55ae9e993ef48edbecf172ef30d7d4008e4bc6cb65bc7e0fd14758fd2ad36fc5d67 +EBUILD Shapely-1.6.4_p2.ebuild 1145 BLAKE2B dac69677d50fc0eb36522f4969f162bea9d2a7501c524731396555d28e4e84f554018d6fe581fed9ec2012457e4fa54c7a0c95503eddf5590c7085d0bc02f18d SHA512 59f6cf247d595d9ee2b597a5dc92b97dbbe2fef1ba94b473968bbb1992de7287ef1a72ee74f90333b050b7bab7672cf637633503d3d0b593ff880f91529da08b EBUILD Shapely-9999.ebuild 580 BLAKE2B 1662dcbd1c300b5c039e5d619f7b323d8206967f354f09b3b512cfc91e8f4f4b8d922d1db411f6307c38d33f06f4fd2d0944c7596020c9aa700cf498a38d0f77 SHA512 43dc089ac4901fe171b8bc1df7081d265c01471c6f27981e8c4d99ab13c4ebb7dc807fdb6cf11c2b93f34592307f0fce88dd3350ad2de60a85d6831466b95665 MISC metadata.xml 293 BLAKE2B 556bed997454d3e7c0a32291cae2326e9fcdd3cd91d5a3f43fd5934bb093daf397c3f3628b0f921460f7cb846b1c961a02de772437275193883d59c90f018e78 SHA512 850b4e0ef0b365030c29a55c20eba931ea283a3f1603d0c0f887e80fad352ffcee0c546cd68ada65d4ba9f33fc0bfb2a817b11e630e704a22928380c7180deb4 diff --git a/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild new file mode 100644 index 000000000000..50528d9087df --- /dev/null +++ b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 eapi7-ver + +DESCRIPTION="Geometric objects, predicates, and operations" +HOMEPAGE="https://pypi.org/project/Shapely/" + +MY_PV="$(ver_cut 1-3).post$(ver_cut 5)" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/Toblerity/${PN}.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +RDEPEND=">=sci-libs/geos-3.3 + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +S="${WORKDIR}/${PN}-${MY_PV}" + +python_prepare_all() { + # fix install path for Cython definition file + sed -i \ + -e "s|\(data_files.*\)'shapely'|\1'share/shapely'|" \ + setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}/lib" || die + cp -r "${S}/tests" . || die + py.test tests || die +} diff --git a/sci-libs/ViSP/Manifest b/sci-libs/ViSP/Manifest index 6f6b25938556..4ac836209949 100644 --- a/sci-libs/ViSP/Manifest +++ b/sci-libs/ViSP/Manifest @@ -1,7 +1,10 @@ AUX ViSP-3.0.0-ffmpeg3.patch 4291 BLAKE2B 2948a7e4cad247da78187a15198fbc5e804caab7ead381219113cd48ccc71c9b59832f315ca784d8bfd3b6d2d2b27ce918341dbbab88c2f66d0749e20cbaa63c SHA512 fed1699ccaba5baa67e0fde19abc5ae828c51c88bf761a9d6784b8ad858230cca7e11bfbc1fb7661bca0a666c49ff9915e0a771909bf42493229165d1131b3a9 AUX ViSP-3.0.1-opencv.patch 403 BLAKE2B 0bc3da5cd6e73cdd47dac7b525f4f3fbe6e683aa79f9185a3e92cecaf36fdc30c018fe93d1e9f7ac69890b7807e16663e21e65025184b950a8f384c1ec2748d8 SHA512 3a6a84ac6ad2bce4fdf7228b4a296589239c2b4b019b3ad8e4654af71b00eca6102444f38c32604013ec62d60d067deb2902ea8cffffff6d97e0762602a013f4 +AUX ViSP-3.2.0-ocv.patch 1065 BLAKE2B 830cecf11df2d9c5c909ab5e2b5e7430e953355feeea77e40b77d53f24d2f1799a529c8dfda061ca6a276a1e150d10fee475f63e798511ce0296e8fde1fd75a8 SHA512 35fbb672da815fd404bd483800bf3f27b4f62d41b1173b10292a964d23129f4ec8afd530f8de913500214633a425a1a7567341b6da317b9e74720cf9414f3eff DIST visp-3.0.1.tar.gz 26029005 BLAKE2B d8881b0dd56b38f5db88e33f13e7dfa29b0a64fa1aebc5160384db2c7124d3a0ab2f0a5b3ba0255cbe209b578a3cdeb4420dc138a063248f945e9a73e041f21d SHA512 558e9acbd7ac5ef2193dca026062b75e0a30a7efbcae7d1e7d392b0855e643ee96ab9f60c19465f6bfa861374e30d9e91faf2f860e0442fa48ea5ea384b4e3fa DIST visp-3.1.0.tar.gz 38743434 BLAKE2B 294eaaf95c7ff7a8ade8bdf2146018856b081a9c461aca68eedb6fb096d253e537f41ad9a81687cba7a9e42a34b5a3fe2d1a705917a1c96f47e1e3e708f20cc3 SHA512 b7d56d3286e3610ff0db4f4c3a51f953825578532a9c518f7654142a644f466343660901632487fb513b0f6a6503d3716d56e733830b4d52daf5839bc1cfbdb5 +DIST visp-3.2.0.tar.gz 52737424 BLAKE2B 78b733183a62541f5d5af22a376ac52ba2377753fa53be62858611b27d961fad286923c11f624c4fe0f561d8dbc5367e2ac01e6bc11a2a19068167ef52198307 SHA512 b4ad21e5063327d91d4ebda268cf4a4dc2ceffbe39d6af0dd6bfeb94d1150884d37fc4ea4295f640135fc2ba758afd29b9090755561ef05249fe2cbc5680dcce EBUILD ViSP-3.0.1-r1.ebuild 2999 BLAKE2B e5415f5a699aa20037e770f28155be8fef622f30201fa123a6cac27cbd134d1d796e35e971c6c5450ca0154f224dca0f78b78ca7f4f5cecb07c9f3144f8c423b SHA512 ee12ae28a8b83180978bf88b611ad83484ef6061b22252e5d4e0f0109c92b6a8620d3f8e314d41e1aeff700e2d0134c82fbc132db17163f74cc65dd74401a09d EBUILD ViSP-3.1.0-r1.ebuild 2864 BLAKE2B 7d9752251c1af6604544b14692352920765653d6022dfebd4eed381243df320d08da3f8539e4cdffdac387e16df4da1e409e5b80f28c086527614810efee3045 SHA512 a1b09523d092e39270210adeb0099b389cc3dc49b2cef86c7a9879bc02315b6c10a7df6d778a6955a3e4bff553ab1cb5751fb4f8b70533d83061bf0677013317 +EBUILD ViSP-3.2.0-r2.ebuild 2897 BLAKE2B e02dae9d88455de806338a8bd70e9e8f75e1405bfcab8b3d74689ed63bb613eca976b9ff074a5f37bb274f2c6bb63e84d6c11e20d494728a2002c0317064fb37 SHA512 52088222b4786e7d6d702abad38d2b1eae569ec8d130cfb02492d1b82eb3c20c52a5106e0b9e5276bc75ef8ec88d6edd8d007c1953ed6c5b6df0ff93b72c5aba MISC metadata.xml 1316 BLAKE2B 0ef658cebd419a44479f24feefd44103fca5a6538cd2f4ba82ac3a12f20fbe4d079551b35587d1616969d7908cb347cf94cc33d27a2a5e327e4b369be30dfaf3 SHA512 738ff67d41b80f336be750cc0e534196bd2055dac9e00a183c097bbe94febb686340db1fd683f3c17cf2dacb68d123e84d6730025d9a46153918aa5b316daf9b diff --git a/sci-libs/ViSP/ViSP-3.2.0-r2.ebuild b/sci-libs/ViSP/ViSP-3.2.0-r2.ebuild new file mode 100644 index 000000000000..c9cba774d8e7 --- /dev/null +++ b/sci-libs/ViSP/ViSP-3.2.0-r2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Visual Servoing Platform: visual tracking and visual servoing library" +HOMEPAGE="http://www.irisa.fr/lagadic/visp/visp.html" +SRC_URI="http://gforge.inria.fr/frs/download.php/latestfile/475/visp-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/3.2" +KEYWORDS="~amd64 ~arm" +IUSE=" + +coin demos +dmtx doc examples gsl ieee1394 jpeg lapack motif ogre + opencv png test tutorials usb v4l X xml +zbar zlib + cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 +" + +RDEPEND=" + coin? ( media-libs/coin virtual/opengl ) + dmtx? ( media-libs/libdmtx ) + gsl? ( sci-libs/gsl ) + ieee1394? ( media-libs/libdc1394 ) + jpeg? ( virtual/jpeg:0 ) + lapack? ( virtual/lapack ) + motif? ( media-libs/SoXt ) + ogre? ( dev-games/ogre[ois(+)] dev-libs/boost:=[threads] ) + opencv? ( media-libs/opencv:= ) + png? ( media-libs/libpng:0= ) + usb? ( virtual/libusb:1 ) + v4l? ( media-libs/libv4l ) + X? ( x11-libs/libX11 ) + xml? ( dev-libs/libxml2 ) + zbar? ( media-gfx/zbar ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen virtual/latex-base media-gfx/graphviz ) + test? ( sci-misc/ViSP-images ) + v4l? ( virtual/os-headers )" +RDEPEND="${RDEPEND} + demos? ( sci-misc/ViSP-images )" +REQUIRED_USE="motif? ( coin )" + +S="${WORKDIR}/visp-${PV}" +PATCHES=( "${FILESDIR}/${PN}-3.2.0-ocv.patch" "${FILESDIR}/${PN}-3.0.1-opencv.patch" ) + +src_configure() { + local mycmakeargs=( + "-DBUILD_EXAMPLES=$(usex examples ON OFF)" + "-DBUILD_TESTS=$(usex test ON OFF)" + "-DBUILD_DEMOS=$(usex demos ON OFF)" + "-DBUILD_TUTORIALS=$(usex tutorials ON OFF)" + "-DUSE_COIN3D=$(usex coin ON OFF)" + "-DUSE_DC1394=$(usex ieee1394 ON OFF)" + "-DUSE_DMTX=$(usex dmtx ON OFF)" + "-DUSE_GSL=$(usex gsl ON OFF)" + "-DUSE_LAPACK=$(usex lapack ON OFF)" + "-DUSE_JPEG=$(usex jpeg ON OFF)" + "-DUSE_PNG=$(usex png ON OFF)" + "-DUSE_LIBUSB_1=$(usex usb ON OFF)" + "-DUSE_OGRE=$(usex ogre ON OFF)" + "-DUSE_OIS=$(usex ogre ON OFF)" + "-DUSE_OPENCV=$(usex opencv ON OFF)" + "-DUSE_SOQT=OFF" + "-DUSE_SOXT=$(usex motif ON OFF)" + "-DUSE_V4L2=$(usex v4l ON OFF)" + "-DUSE_X11=$(usex X ON OFF)" + "-DUSE_XML2=$(usex xml ON OFF)" + "-DUSE_ZBAR=$(usex zbar ON OFF)" + "-DUSE_ZLIB=$(usex zlib ON OFF)" + "-DCOIN3D_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" + "-DSOQT_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" + "-DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" + "-DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)" + "-DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + cd "${BUILD_DIR}" + use doc && emake visp_doc +} + +src_install() { + cmake-utils_src_install + if use tutorials ; then + dodoc -r tutorial + docompress -x /usr/share/doc/${PF}/tutorial + fi + cd "${BUILD_DIR}" + use doc && dohtml -r doc/html/* +} diff --git a/sci-libs/ViSP/files/ViSP-3.2.0-ocv.patch b/sci-libs/ViSP/files/ViSP-3.2.0-ocv.patch new file mode 100644 index 000000000000..56347c58f968 --- /dev/null +++ b/sci-libs/ViSP/files/ViSP-3.2.0-ocv.patch @@ -0,0 +1,18 @@ +Index: visp-3.2.0/CMakeLists.txt +=================================================================== +--- visp-3.2.0.orig/CMakeLists.txt ++++ visp-3.2.0/CMakeLists.txt +@@ -574,12 +574,7 @@ if(USE_CXX11 AND NOT USE_PTHREAD) + endif() + endif() + VP_OPTION(USE_XML2 XML2 "" "Include xml support" "" ON IF NOT WINRT) +-if(CMAKE_TOOLCHAIN_FILE) +- # Find opencv2.framework for ios and naoqi +- VP_OPTION(USE_OPENCV "MyOpenCV" QUIET "Include OpenCV support" "OpenCV_DIR;OpenCV_FOUND;OPENCV_FOUND" ON) +-else() +- VP_OPTION(USE_OPENCV "OpenCV;MyOpenCV" QUIET "Include OpenCV support" "OpenCV_DIR;OpenCV_FOUND;OPENCV_FOUND" ON) +-endif() ++VP_OPTION(USE_OPENCV "OpenCV;MyOpenCV" QUIET "Include OpenCV support" "OpenCV_DIR;OpenCV_FOUND;OPENCV_FOUND" ON) + VP_OPTION(USE_ZLIB "ZLIB;MyZLIB" "" "Include zlib support" "" ON IF NOT WINRT AND NOT IOS) + VP_OPTION(USE_X11 X11 "" "Include X11 support" "" ON IF NOT WINRT AND NOT IOS) + # The native FindGTK2.cmake doesn't consider libgobject-2.0 that is diff --git a/sci-libs/blis/Manifest b/sci-libs/blis/Manifest index 7cdd8c43ea9f..9009236830a5 100644 --- a/sci-libs/blis/Manifest +++ b/sci-libs/blis/Manifest @@ -7,6 +7,6 @@ AUX blis-0.6.0-rpath.patch 384 BLAKE2B f5a0390384d30d2929fcb5ff22424770dc3b6a4b9 AUX cblas.lds 205 BLAKE2B ab2c41b571dbb9b55e36fa5afe4344ed9ef33454f6b7a5cda0726aa7f98a61dcef3065976cc02ab593aad94c5d6c0a23efce726da30673bd06cf57b64e826b93 SHA512 23008248e2b2c221a9ce36c2aca3e2acf58a6d434ffde498a058689af5d16d6e87ab56900508bb0403c5f5a1fc9366b202a7fc44a42d04c409197ec1ec164408 DIST blis-0.5.2.tar.gz 3502383 BLAKE2B b09fda20711086c8bde0d4efc3f3c9b0f6072e1ddb8bd2846465877f0353cced27548abe1239b6a042fe655e85e4b7b3c960322e39b2c733866b8e17777718bd SHA512 4f91a7834ef0ed39544dd21856814467416a222240050cca323917b0fc61b9201ae4dbd109aa687cdecb27ddee5d6bf4510ef023e1c1dc73599faef0482d3d04 DIST blis-0.6.0.tar.gz 5107257 BLAKE2B cd589ad1216486e8bb0cf574cc096c1e1f2bb9587b182c2bcff44db322468d9f027323c0bf2d22ea0fabb1902dc047d2bf62253ef1c2797fc3de9ba53d7fc34a SHA512 74e9da5146f7986cbd11651d7cd0837562a1603c667b9e6d3f79b5057443de657b60d7463cb2d64daf3eff7d33fc05a64e6d8eb807f4cabe0c3121517924a206 -EBUILD blis-0.5.2.ebuild 2681 BLAKE2B f33e967ea3a24689deac7d282f9b6740c5ee37a7cc8e6a8d9440050f7ea006a0acf9e577642b81e354c25efd920373963d0d26a4ebfa5998d201848cafed46da SHA512 47f73b98f61dfcb657c37c5bf4ac043a8b01c4c7c01c67e4d7a747eb7f56dc5eda2d8964928b1649fa5625184c6a727895fb43beb5f7420c697156b8ee24e09e -EBUILD blis-0.6.0.ebuild 2639 BLAKE2B d98cb1522bb6c947ecb96163f72a9434d9b0ddd791cba397106f99280ec0abbbfa5f674f6b4da93b9adccd8530edd0ae97c909f93038b13f43528c1cd85cfc94 SHA512 cb692569282023fa6a728d2066f2dc83bd0f34f005c6906fa3175554171f17fd20759f63c168f3301470596cc4921c84651e3d04e9e37f240fd41bafb4f182ea +EBUILD blis-0.5.2.ebuild 2731 BLAKE2B 918e61749a6e8b338805d4255f82205dd8834f16e8fedc80264b30ed6a799a14201573bc5c0c4d99e9fef0566507447165959b05e2315b1a123767921f636860 SHA512 6d4959da4440a037cf8c133b383e4aefded0cd7285da6b50aebb76da503dc9998a09635efc8532ee59d2696e9dbdc3b6fd1e54cecb23777d35a3e0bd0cbd460f +EBUILD blis-0.6.0.ebuild 2689 BLAKE2B c0b684e0aebfa5b607e2afb703b89d9fbba44069db963b6c023252fb677c932c9fee9956500ee408c67d3a6a12adaae6746066486e4bb655880ba98bf4d3a146 SHA512 b355863ef2f14516912cfb4e966489fa95fb832947317b2729768f21755678ee988dbc7768f93eb18b94e7819a35f4c38063204cd5b55524ec7e346d912ea3e8 MISC metadata.xml 1608 BLAKE2B c8026b4a933bd7f14e7c446ea5d4bda580532252e52194b058d97daaa38969c661d5dbd86d230f44d2c77d52798962ca2953b1d88490fe284629777e763a5ee7 SHA512 b7ce333449f22acb746fed9913850e226e2e6bd6573537996f43f402b055f20b5ca5fe511eda8aa220939dd8194937eb65e8bec34bf61280ddf90722563ab037 diff --git a/sci-libs/blis/blis-0.5.2.ebuild b/sci-libs/blis/blis-0.5.2.ebuild index 785210e5b5a9..2c8bf1dbc422 100644 --- a/sci-libs/blis/blis-0.5.2.ebuild +++ b/sci-libs/blis/blis-0.5.2.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) +inherit python-any-r1 DESCRIPTION="BLAS-like Library Instantiation Software Framework" HOMEPAGE="https://github.com/flame/blis" @@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas >=app-eselect/eselect-blas-0.2 )" DEPEND="${RDEPEND} - dev-lang/python + ${PYTHON_DEPS} " PATCHES=( @@ -56,7 +57,7 @@ src_configure () { $(use_enable static-libs static) \ --enable-blas \ --enable-cblas \ - ${BLIS_FLAGS[@]} \ + "${BLIS_FLAGS[@]}" \ --enable-shared \ $confname || die } diff --git a/sci-libs/blis/blis-0.6.0.ebuild b/sci-libs/blis/blis-0.6.0.ebuild index ccb44fdd6824..4d56f5622120 100644 --- a/sci-libs/blis/blis-0.6.0.ebuild +++ b/sci-libs/blis/blis-0.6.0.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) +inherit python-any-r1 DESCRIPTION="BLAS-like Library Instantiation Software Framework" HOMEPAGE="https://github.com/flame/blis" @@ -18,7 +19,7 @@ RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas >=app-eselect/eselect-blas-0.2 )" DEPEND="${RDEPEND} - dev-lang/python + ${PYTHON_DEPS} " PATCHES=( @@ -55,7 +56,7 @@ src_configure () { $(use_enable static-libs static) \ --enable-blas \ --enable-cblas \ - ${BLIS_FLAGS[@]} \ + "${BLIS_FLAGS[@]}" \ --enable-shared \ $confname || die } diff --git a/sci-libs/cantera/Manifest b/sci-libs/cantera/Manifest index 5d9f62c911d3..ef2a235b6897 100644 --- a/sci-libs/cantera/Manifest +++ b/sci-libs/cantera/Manifest @@ -1,4 +1,7 @@ AUX cantera_2.4.0_env.patch 3559 BLAKE2B 07af1b751b653b1c92288286b9c82ef230ea0df7d9ea4036d23ac24338a221cc45c8e74f137fcf741bb9bb7148e7f3339f54234e9a92ac939956ba7c0ca8e157 SHA512 f2574c3de42d1666a2b64914c66d97045a2a3598f63678b3b60a701d111d7bfc9bd71031dd665a64e6791c9f311fb9514b1a0462a5713763a1b5f87fcd72e528 +AUX cantera_2.4.0_env_python_install.patch 1001 BLAKE2B bfe6e69332117526d8a7c330ae9610e26e72a9e250ce04beda564149fbd21f3262f36982971e5ec0c552e09f12804172b7f978ab03bfb98c0dbe92cd8c7d9401 SHA512 410a81b4ec69eb6eb2a60d55d142b266b836da5a7d4e4ae2fd8844fb87eff0f3544f6e370fc354d334c6cd5a61f8364842c8a9b3bd0dc2290f58ee7392a170f4 +AUX cantera_2.4.0_sundials4.patch 7492 BLAKE2B 995142708ffd02bb3bfdf94b7cad545f269b4c20ffd4c325109637d61e3544d343d0135119388a4b88dc3b037f054854064df83aff381bac6769ec62b12ebf2e SHA512 24afc5d5944966140d191b2250768e2e1331b4db5d53b2dc204b0c1888ff2a328e1dd467b69616d3aced51e6108e38bc1fd2c3a102bf3a02b4c975b677ea73c5 DIST cantera-2.4.0.tar.gz 2321316 BLAKE2B 40750e3864afa3d35817e6f5777a6ac235261e9d134ef749966dbd738a2af5efec2882e6dcc719851f88656b41469e2159d3bff3df32f6abdf57db3b0a2afcae SHA512 8bb0fee34fa5bc9ec78e6f21a100eaa77bdd966bd0b7f0fa27d452e4f122c69e61648beef847178490f5c5d56267a96f6081cac9ccd03cea153c32814e0e84e9 EBUILD cantera-2.4.0-r1.ebuild 2828 BLAKE2B 2b41354065b3ce34ddb7c8535fe8e44d14ddb2bc2afb919f72c91ad92f2915895c9a17461d7575e238a719d0043a826eeb5ebd657edc341e289a669f06a5f3cf SHA512 77fdcddcb93927d08976a11828d82f82c4798b2b85795a230a095af4698c4747d4b2241f89d6933d3c5f6b852edc4626557e5ee67eb2243b0bbf40e24c8a8760 +EBUILD cantera-2.4.0-r2.ebuild 2926 BLAKE2B f39d64f5d3177b85ef5d5e2a12397bc62e2095958536bd7b0e9a385ad4c306e2b30085bf61fe9d547533ffa799d5e51fc1963da54041a1493480b5c5ecd213f9 SHA512 a610ce99c7836d58f28c5906ae5a8ce2641acebaeacb7723d149996d736edd16aa2d31c4fac0d33f6143f11097a37f5aeac42f40f875f034159a57cc21a7bea3 MISC metadata.xml 794 BLAKE2B 4a92fb553aad7d87d4b7a8d77974dbd67d593b4010783f96324979d9c01067bccc60d2faedf604bd8d44a8ac4316356879301899af8bc08d0fcd548df6d3762d SHA512 a9e6f4e161519d0b3618fe8da7065195bc760ba889fa4356358d4047ea1970eb5fd78bdc5fbeb7c660f1bee48a68ab20ced636514e6f12848e88f6f4dabc9705 diff --git a/sci-libs/cantera/cantera-2.4.0-r2.ebuild b/sci-libs/cantera/cantera-2.4.0-r2.ebuild new file mode 100644 index 000000000000..2d69f8d348c6 --- /dev/null +++ b/sci-libs/cantera/cantera-2.4.0-r2.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +FORTRAN_NEEDED=fortran +FORTRAN_STANDARD=90 + +inherit desktop fortran-2 python-single-r1 scons-utils toolchain-funcs + +DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" +HOMEPAGE="https://www.cantera.org" +SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+cti fortran pch +python test" + +REQUIRED_USE=" + python? ( cti ) + ${PYTHON_REQUIRED_USE} + " + +RDEPEND=" + ${PYTHON_DEPS} + python? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) + <sci-libs/sundials-5.0.0:0= +" + +DEPEND=" + ${RDEPEND} + dev-cpp/eigen:3 + dev-libs/boost + dev-libs/libfmt + python? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + >=dev-cpp/gtest-1.8.0 + ) +" + +PATCHES=( + "${FILESDIR}/${PN}_${PV}_env.patch" + "${FILESDIR}/${PN}_${PV}_env_python_install.patch" + "${FILESDIR}/${PN}_${PV}_sundials4.patch" + ) + +pkg_setup() { + fortran-2_pkg_setup + python-single-r1_pkg_setup +} + +## Full list of configuration options of Cantera is presented here: +## http://cantera.org/docs/sphinx/html/compiling/config-options.html + +src_configure() { + scons_vars=( + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + cc_flags="${CXXFLAGS}" + cxx_flags="-std=c++11" + debug="no" + FORTRAN="$(tc-getFC)" + FORTRANFLAGS="${CXXFLAGS}" + optimize_flags="-Wno-inline" + renamed_shared_libraries="no" + use_pch=$(usex pch) +## In some cases other order can break the detection of right location of Boost: ## + system_fmt="y" + system_sundials="y" + system_eigen="y" + env_vars="all" + extra_inc_dirs="/usr/include/eigen3" + ) + use test || scons_vars+=( googletest="none" ) + + scons_targets=( + f90_interface=$(usex fortran y n) + python2_package="none" + ) + + if use cti ; then + local scons_python=$(usex python full minimal) + scons_targets+=( python3_package="${scons_python}" python3_cmd="${EPYTHON}" ) + else + scons_targets+=( python3_package="none" ) + fi +} + +src_compile() { + escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" +} + +src_test() { + escons test +} + +src_install() { + escons install stage_dir="${D}" libdirname="$(get_libdir)" + if ! use cti ; then + rm -r "${D}/usr/share/man" || die "Can't remove man files." + else + # Run the byte-compile of modules + python_optimize "${D}/$(python_get_sitedir)/${PN}" + fi +} + +pkg_postinst() { + if use cti && ! use python ; then + elog "Cantera was build without 'python' use-flag therefore the CTI tool 'ck2cti'" + elog "will convert Chemkin files to Cantera format without verification of kinetic mechanism." + fi + + local post_msg=$(usex fortran "and Fortran " "") + elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." + + if use python ; then + elog "Python examples are installed to '$(python_get_sitedir)/${PN}/examples/' directories." + fi +} diff --git a/sci-libs/cantera/files/cantera_2.4.0_env_python_install.patch b/sci-libs/cantera/files/cantera_2.4.0_env_python_install.patch new file mode 100644 index 000000000000..2e01fed1fa93 --- /dev/null +++ b/sci-libs/cantera/files/cantera_2.4.0_env_python_install.patch @@ -0,0 +1,17 @@ +diff -Nur old/interfaces/cython/SConscript new/interfaces/cython/SConscript +--- old/interfaces/cython/SConscript 2018-08-24 16:24:45.000000000 +0300 ++++ new/interfaces/cython/SConscript 2019-08-14 04:28:41.000000000 +0300 +@@ -83,10 +83,10 @@ + extra = '' + elif localenv['OS'] == 'Darwin': + extra = localenv.subst(' --prefix=${python%s_prefix}' % major) +- elif localenv['libdirname'] == 'lib64': +- # 64-bit RHEL / Fedora ++ elif localenv['libdirname'] != 'lib': ++ # 64-bit RHEL / Fedora etc. or e.g. x32 Gentoo profile + extra = localenv.subst( +- ' --prefix=${python%s_prefix} --install-lib=${python%s_prefix}/lib64/python%s.%s/site-packages' % (major, major, major, minor)) ++ ' --prefix=${python%s_prefix} --install-lib=${python%s_prefix}/${libdirname}/python%s.%s/site-packages' % (major, major, major, minor)) + else: + extra = '--user' + localenv.AppendENVPath( diff --git a/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch b/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch new file mode 100644 index 000000000000..c745f6b6f7ff --- /dev/null +++ b/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch @@ -0,0 +1,190 @@ +diff -Nur old/SConstruct new/SConstruct +--- old/SConstruct 2019-08-14 04:12:50.000000000 +0300 ++++ new/SConstruct 2019-08-14 04:38:55.000000000 +0300 +@@ -1013,23 +1013,29 @@ + + import SCons.Conftest, SCons.SConf + context = SCons.SConf.CheckContext(conf) +-ret = SCons.Conftest.CheckLib(context, +- ['sundials_cvodes'], +- header='#include "cvodes/cvodes.h"', +- language='C++', +- call='CVodeCreate(CV_BDF, CV_NEWTON);', +- autoadd=False, +- extra_libs=env['blas_lapack_libs']) +-if ret: ++ ++# Check initially for Sundials<=3.2 and then for Sundials>=4.0 ++for cvode_call in ['CVodeCreate(CV_BDF, CV_NEWTON);','CVodeCreate(CV_BDF);']: ++ ret = SCons.Conftest.CheckLib(context, ++ ['sundials_cvodes'], ++ header='#include "cvodes/cvodes.h"', ++ language='C++', ++ call=cvode_call, ++ autoadd=False, ++ extra_libs=env['blas_lapack_libs']) + # CheckLib returns False to indicate success ++ if not ret: ++ if env['system_sundials'] == 'default': ++ env['system_sundials'] = 'y' ++ break ++ ++# Execute if the cycle ends without 'break' ++else: + if env['system_sundials'] == 'default': + env['system_sundials'] = 'n' + elif env['system_sundials'] == 'y': + config_error('Expected system installation of Sundials, but it could ' + 'not be found.') +-elif env['system_sundials'] == 'default': +- env['system_sundials'] = 'y' +- + + # Checkout Sundials submodule if needed + if (env['system_sundials'] == 'n' and +@@ -1066,7 +1072,7 @@ + + # Ignore the minor version, e.g. 2.4.x -> 2.4 + env['sundials_version'] = '.'.join(sundials_version.split('.')[:2]) +- if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2'): ++ if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2','4.0','4.1'): + print("""ERROR: Sundials version %r is not supported.""" % env['sundials_version']) + sys.exit(1) + print("""INFO: Using system installation of Sundials version %s.""" % sundials_version) +diff -Nur old/include/cantera/numerics/CVodesIntegrator.h new/include/cantera/numerics/CVodesIntegrator.h +--- old/include/cantera/numerics/CVodesIntegrator.h 2018-08-24 16:24:45.000000000 +0300 ++++ new/include/cantera/numerics/CVodesIntegrator.h 2019-08-14 04:39:50.000000000 +0300 +@@ -49,7 +49,6 @@ + m_maxord = n; + } + virtual void setMethod(MethodType t); +- virtual void setIterator(IterType t); + virtual void setMaxStepSize(double hmax); + virtual void setMinStepSize(double hmin); + virtual void setMaxSteps(int nmax); +diff -Nur old/include/cantera/numerics/Integrator.h new/include/cantera/numerics/Integrator.h +--- old/include/cantera/numerics/Integrator.h 2018-08-24 16:24:45.000000000 +0300 ++++ new/include/cantera/numerics/Integrator.h 2019-08-14 04:44:27.000000000 +0300 +@@ -34,17 +34,6 @@ + Adams_Method //! Adams + }; + +-//! Specifies the method used for iteration. +-/*! +- * Not all methods are supported by all integrators. +- */ +-enum IterType { +- //! Newton Iteration +- Newton_Iter, +- //! Functional Iteration +- Functional_Iter +-}; +- + //! Abstract base class for ODE system integrators. + /*! + * @ingroup odeGroup +@@ -163,11 +152,6 @@ + warn("setMethodType"); + } + +- //! Set the linear iterator. +- virtual void setIterator(IterType t) { +- warn("setInterator"); +- } +- + //! Set the maximum step size + virtual void setMaxStepSize(double hmax) { + warn("setMaxStepSize"); +diff -Nur old/src/kinetics/ImplicitSurfChem.cpp new/src/kinetics/ImplicitSurfChem.cpp +--- old/src/kinetics/ImplicitSurfChem.cpp 2018-08-24 16:24:45.000000000 +0300 ++++ new/src/kinetics/ImplicitSurfChem.cpp 2019-08-14 04:45:57.000000000 +0300 +@@ -79,7 +79,6 @@ + // numerically, and use a Newton linear iterator + m_integ->setMethod(BDF_Method); + m_integ->setProblemType(DENSE + NOJAC); +- m_integ->setIterator(Newton_Iter); + m_work.resize(ntmax); + } + +diff -Nur old/src/numerics/CVodesIntegrator.cpp new/src/numerics/CVodesIntegrator.cpp +--- old/src/numerics/CVodesIntegrator.cpp 2018-08-24 16:24:45.000000000 +0300 ++++ new/src/numerics/CVodesIntegrator.cpp 2019-08-14 04:49:02.000000000 +0300 +@@ -88,7 +88,6 @@ + m_type(DENSE+NOJAC), + m_itol(CV_SS), + m_method(CV_BDF), +- m_iter(CV_NEWTON), + m_maxord(0), + m_reltol(1.e-9), + m_abstols(1.e-15), +@@ -218,17 +217,6 @@ + } + } + +-void CVodesIntegrator::setIterator(IterType t) +-{ +- if (t == Newton_Iter) { +- m_iter = CV_NEWTON; +- } else if (t == Functional_Iter) { +- m_iter = CV_FUNCTIONAL; +- } else { +- throw CanteraError("CVodesIntegrator::setIterator", "unknown iterator"); +- } +-} +- + void CVodesIntegrator::sensInit(double t0, FuncEval& func) + { + m_np = func.nparams(); +@@ -284,7 +272,11 @@ + //! Specify the method and the iteration type. Cantera Defaults: + //! CV_BDF - Use BDF methods + //! CV_NEWTON - use Newton's method +- m_cvode_mem = CVodeCreate(m_method, m_iter); ++ #if CT_SUNDIALS_VERSION < 40 ++ m_cvode_mem = CVodeCreate(m_method, CV_NEWTON); ++ #else ++ m_cvode_mem = CVodeCreate(m_method); ++ #endif + if (!m_cvode_mem) { + throw CanteraError("CVodesIntegrator::initialize", + "CVodeCreate failed."); +@@ -394,7 +386,11 @@ + #if CT_SUNDIALS_VERSION >= 30 + SUNLinSolFree((SUNLinearSolver) m_linsol); + SUNMatDestroy((SUNMatrix) m_linsol_matrix); +- m_linsol_matrix = SUNBandMatrix(N, nu, nl, nu+nl); ++ #if CT_SUNDIALS_VERSION < 40 ++ m_linsol_matrix = SUNBandMatrix(N, nu, nl, nu+nl); ++ #else ++ m_linsol_matrix = SUNBandMatrix(N, nu, nl); ++ #endif + #if CT_SUNDIALS_USE_LAPACK + m_linsol = SUNLapackBand(m_y, (SUNMatrix) m_linsol_matrix); + #else +diff -Nur old/src/numerics/IDA_Solver.cpp new/src/numerics/IDA_Solver.cpp +--- old/src/numerics/IDA_Solver.cpp 2018-08-24 16:24:45.000000000 +0300 ++++ new/src/numerics/IDA_Solver.cpp 2019-08-14 04:51:01.000000000 +0300 +@@ -442,7 +442,11 @@ + #if CT_SUNDIALS_VERSION >= 30 + SUNLinSolFree((SUNLinearSolver) m_linsol); + SUNMatDestroy((SUNMatrix) m_linsol_matrix); +- m_linsol_matrix = SUNBandMatrix(N, nu, nl, nu+nl); ++ #if CT_SUNDIALS_VERSION < 40 ++ m_linsol_matrix = SUNBandMatrix(N, nu, nl, nu+nl); ++ #else ++ m_linsol_matrix = SUNBandMatrix(N, nu, nl); ++ #endif + #if CT_SUNDIALS_USE_LAPACK + m_linsol = SUNLapackBand(m_y, (SUNMatrix) m_linsol_matrix); + #else +diff -Nur old/src/zeroD/ReactorNet.cpp new/src/zeroD/ReactorNet.cpp +--- old/src/zeroD/ReactorNet.cpp 2018-08-24 16:24:45.000000000 +0300 ++++ new/src/zeroD/ReactorNet.cpp 2019-08-14 04:51:35.000000000 +0300 +@@ -28,7 +28,6 @@ + // numerically, and use a Newton linear iterator + m_integ->setMethod(BDF_Method); + m_integ->setProblemType(DENSE + NOJAC); +- m_integ->setIterator(Newton_Iter); + } + + void ReactorNet::setInitialTime(double time) diff --git a/sci-libs/gmsh/Manifest b/sci-libs/gmsh/Manifest index 734e9e99c16e..8b741b80f8cc 100644 --- a/sci-libs/gmsh/Manifest +++ b/sci-libs/gmsh/Manifest @@ -1,3 +1,3 @@ DIST gmsh-4.4.1-source.tgz 13227645 BLAKE2B 68df0a54655d2a85012d2961daafbe92f0295661f6f71b0be4c7a78b7c814af21b39b29e65a201c4918d7e31462ac391b208fcceca356c4d9974c5de3c88da13 SHA512 cfdd353de051d1deffca90bfa31a007a466d39c145e704612b92441556dec0c8d7b58ab07c2fa3166de893d99f0308ffb66b4f321172ea60da0b6db907aa7a2e -EBUILD gmsh-4.4.1.ebuild 1740 BLAKE2B 77ac37edcdc391cf69151c289b2958e8f6d3d1ddd482bee66695d573dc8a9435b6bab4c4be9ae9f03b492c58502be85d1621382912392d205e6153091d400fa5 SHA512 5ac483d00af4d61871a6391b730b83fe6c36426dd511efd1ad7c3f20b0ee3e07068c80f11e47d2c916e1427e7a7e26739c30900209e70b3147204d26a9551f80 +EBUILD gmsh-4.4.1.ebuild 1769 BLAKE2B c90deb313c847e37d898c84ea7c75ab37fe02e17bc37f94b4e662af7d23d4d299084bf382ed56eca38c39d96a76a2653e6e2b06f3f6e54136e759716906d1027 SHA512 e5e4fa32178bed819f8a20f93247d426a97dc2268a42381f9e1267b2d5e903449fd24df31a6538349000a0950a8cb5c0cb2dcec87ed79b55433160ad57402210 MISC metadata.xml 737 BLAKE2B fc604a0966c3106fabcd1379cf0cecbd28bd80c9068330206127cd35e134436a5ec3f43b19dfe0793e2a7a299a4b8f335b11cf2f723b6451a3b341077d27a6c7 SHA512 03f6a246c66264a58638c5ef89ec10737cbb15bd6d443f2f866fc77d21bf052c3ff4e00ca919546aa0da5b91c31a96af8dea5609a72dbb92a20c534e6a6f639b diff --git a/sci-libs/gmsh/gmsh-4.4.1.ebuild b/sci-libs/gmsh/gmsh-4.4.1.ebuild index fa56d3eae139..af727805d6c1 100644 --- a/sci-libs/gmsh/gmsh-4.4.1.ebuild +++ b/sci-libs/gmsh/gmsh-4.4.1.ebuild @@ -17,6 +17,8 @@ KEYWORDS="~amd64 ~x86" ## cgns is not compiling ATM, maybe fix cgns lib first IUSE="blas cgns examples jpeg lua med metis mpi netgen opencascade petsc png python X zlib" +REQUIRED_USE="med? ( mpi )" + RDEPEND=" virtual/fortran X? ( x11-libs/fltk:1 ) diff --git a/sci-libs/grib_api/Manifest b/sci-libs/grib_api/Manifest index 5c5b2659ebe9..8b5820f7e38c 100644 --- a/sci-libs/grib_api/Manifest +++ b/sci-libs/grib_api/Manifest @@ -3,6 +3,6 @@ AUX grib_api-1.14.5-disable-failing-test.patch 841 BLAKE2B 7ee8902b4ff278885bdeb DIST grib_api-1.11.0.tar.gz 14412684 BLAKE2B 72375400f74f3edba62e781b9dac4c40f3944c676cd90221ad57b0d6690a3a8958ef9d77c414ccb45b60ff2fd2c93923628e0ac3d0f10cfb4c393fb91eaf3001 SHA512 09c50d194049d2d19686139fb7150bd7399fc05bb5b7e40e8d91ce0301698263c40357b8524f925642ae6f78d9bc61218be26bef7f2dfeb326ccc9e8bc3a49e3 DIST grib_api-1.14.5-Source.tar.gz 4530071 BLAKE2B 7d9660e0c244ace011ef53e5a77c8ddc1f9435b210df407d6e90ef111c501cd589db1b34739937d5c78d6e1050b12d7c334b215122467a25b9a513e817a0eb7b SHA512 ad31dc27adcdeeded1aa3c3620181c0d4a5250734724c242443d19332b84f2297b4dea2aa02027627321fa35822c94865a41f24d03eb1143756621da14a59322 DIST grib_api_test_data.tar.gz 131042849 BLAKE2B 9036d4363b86ae0ad948026dd8ea7371232723942dea9eb6d8cceec466d8e37ebbe6a8e4eadb4cd413ab40601d8ea01c91bef0265310aac9ea3773a9bc252868 SHA512 25b37c3e725f7a2c18979d96e7d512111ba54f4e448c57e6a8ae913b7f13be25d9e643edb45ebc714daf6de51d85e9a7d252e735299affc562b9911e53a95058 -EBUILD grib_api-1.11.0.ebuild 2051 BLAKE2B df350b475c33ef307e2d1066196a085bb26b80a4efa02deab9d53bc44bbac3fc07b30b4a37e4215416f54f76789265a05c9cab8b9e3fdd4916280e616c279e97 SHA512 d19a87ecd3f3a8b42786c31fdbcc928f7cc2a0e9232c9f907315b6f1f8222dc066cc9941e9fbe9f3621693e10b5c21218b046327bd356401c82cbcf1b1b92a12 -EBUILD grib_api-1.14.5.ebuild 2461 BLAKE2B 01f6694b4bac595014ae94e85bc03bcc03e8c23c3af009c62c74fdae93dc17200cdf23e6a9e881605c440765f1b459a6d1f041af0e327e19569db4c7701c5ef5 SHA512 88f1eaae6f1190e2a02a023b620eb346e9e70e8bb00b81efa699ea7e16d0cdd9698e3382590e78abfd09c975216bf1a674e654f9dd279c3380dc98cf995bda7e -MISC metadata.xml 890 BLAKE2B 6a02ae5a83a54569ff02b5f2d30c4be7b765bc148772ec0360cff70ecf2d0a481642a2a01cdeff9a494a4c173ef120f6af14ee8624c076da6b0c7acd3355f5b3 SHA512 7e1ceccaf41783414b3fd3e3b00db274aa8df748d66e9f83617d4528f84d674ce313568a130cc5bac53eec5fc94cf03c9a35e9bf1f46a25851992f5c44f1bcd0 +EBUILD grib_api-1.11.0.ebuild 2019 BLAKE2B 39fbf10cee5e02f597cce76a338e74e87ac0c526b11aaa77328b3c74cee8f036dd3230f02bc7271d47fbb048699f2ea9109bbfc2693753acc01b0ccfb4839987 SHA512 b448af11504178dd6a582643d54b231ef4d8a738fdf8495ae35cda007fd15b6deef5a39a239f9173b94497a28162339b07fea646d8962c9225ccfc63d67e1212 +EBUILD grib_api-1.14.5.ebuild 2408 BLAKE2B c386fbdad1766723bd5e5b52a24c3888573b457777387e60b6f7f2258518350b8b469d6fc5d66bef504ca3a2958da65d51a3612a8f5483a55f7be30a05c9f3e9 SHA512 5609e07b738c1a6641e9000361693ec37cd1436c619e3435946ba0445fe06bf39ae62c9cd432eeb7dfc4fb483683defb0a64045882b817153bba5054986e9535 +MISC metadata.xml 762 BLAKE2B d691892137e85fdf2c7ab7d1845e5203b4c5c86199371a02d0680cbde369c122e17ec2cc08d58518a55a6accecbe5fd4937e1a96865c70b80ef1d96d9f73dcdf SHA512 f4d15bed44a3072c987c2467c8e034f1569611b277915a1ea17f63da576bccdd4c38ea0e5212325e6f5687471e789fb1c46412b8e2510bd8a1f6cbd6d86056e8 diff --git a/sci-libs/grib_api/grib_api-1.11.0.ebuild b/sci-libs/grib_api/grib_api-1.11.0.ebuild index e49572604770..e1476a9132a9 100644 --- a/sci-libs/grib_api/grib_api-1.11.0.ebuild +++ b/sci-libs/grib_api/grib_api-1.11.0.ebuild @@ -21,13 +21,13 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples fortran jasper jpeg2k netcdf openmp png python static-libs threads perl" +IUSE="doc examples fortran jpeg2k netcdf openmp png python static-libs threads perl" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" jpeg2k? ( - jasper? ( media-libs/jasper:= ) - !jasper? ( media-libs/openjpeg:0 ) + media-libs/openjpeg:0 + !!media-libs/jasper ) netcdf? ( sci-libs/netcdf ) png? ( media-libs/libpng:0= ) diff --git a/sci-libs/grib_api/grib_api-1.14.5.ebuild b/sci-libs/grib_api/grib_api-1.14.5.ebuild index ff36dfbfdf82..40b5406dc0f4 100644 --- a/sci-libs/grib_api/grib_api-1.14.5.ebuild +++ b/sci-libs/grib_api/grib_api-1.14.5.ebuild @@ -22,12 +22,11 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="aec doc examples fortran jpeg2k netcdf png python static-libs test threads" +IUSE="aec doc examples fortran netcdf png python static-libs test threads" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" aec? ( sci-libs/libaec:= ) - jpeg2k? ( media-libs/jasper:= ) netcdf? ( sci-libs/netcdf:= ) png? ( media-libs/libpng:= ) python? ( @@ -72,7 +71,7 @@ src_configure() { -DENABLE_AEC="$(usex aec)" -DENABLE_FORTRAN="$(usex fortran)" -DENABLE_GRIB_THREADS="$(usex threads)" - -DENABLE_JPG="$(usex jpeg2k)" + -DENABLE_JPG=OFF -DENABLE_NETCDF="$(usex netcdf)" -DENABLE_PNG="$(usex png)" -DENABLE_PYTHON="$(usex python)" diff --git a/sci-libs/grib_api/metadata.xml b/sci-libs/grib_api/metadata.xml index b053bfcb8747..9a5952fcb794 100644 --- a/sci-libs/grib_api/metadata.xml +++ b/sci-libs/grib_api/metadata.xml @@ -13,8 +13,6 @@ line tools is also provided to give quick access to grib messages. </longdescription> <use> - <flag name="jasper">Use <pkg>media-libs/jasper</pkg> instead of - <pkg>media-libs/openjpeg</pkg> for JPEG 2000 support</flag> <flag name="aec">Build with Adaptive Entropy Coding compression, needs <pkg>sci-libs/libaec</pkg></flag> </use> </pkgmetadata> diff --git a/sci-libs/iml/Manifest b/sci-libs/iml/Manifest new file mode 100644 index 000000000000..e9dcaebdb8e6 --- /dev/null +++ b/sci-libs/iml/Manifest @@ -0,0 +1,4 @@ +AUX iml-1.0.4-use-any-cblas-implementation.patch 865 BLAKE2B 5167ab1a5f82e5fce596dd3f7cdb3a711f0fd5c86fefc6a36574bcbc63e464115895e43d81eba3d4d04bd016266817440098eed18fab04b30bc45dee37497ffd SHA512 36181f90032b6f4d786d50b327cb342d5c8f4431dd556e4267e99b02e92161adbb9c23d7815e1764d8f237b1f008b2abebc27bdc422ba7296144999f0cde3c19 +DIST iml-1.0.5.tar.bz2 391757 BLAKE2B 5895b353269ce19e17e2522f78eb705c89a47ed3c6cce54d1b7ab3003f59d0a13050b30ce9cedbf38392c737c169740b6c2433f1a74856b0f9d4e6e007ebf804 SHA512 b5a85982636035cc50acba7dcff5478c6271be3669313f01915b2761302d4c77617c0dd7932daf74433098670d3ffdb2ef19eb24450b40709750a0b7c8f797f1 +EBUILD iml-1.0.5.ebuild 713 BLAKE2B 1bc188017da5870454c3c2af732322abac825d2920929110352ce23f7824e59d742efd42d92cab683410f2bde44f76c1324f645ddf99bb5eb1f6536dc7df7492 SHA512 794f836b7f892034aeff8fc69be433cde98ab1e8aa1733faee2bf37cd724797e35bfa96dcb921674df72ed0dd2973f37af6c0fbf0be7109681efce34d58b4ba2 +MISC metadata.xml 434 BLAKE2B 91cfe59fd89e32d7dda5fbb31ecccc46762c6e00cd8de2cbaa8509829d22d1e03f58eb143d72cd9a0c0294a5692643a372c810ecaaaa6d07b61a2818eb10ff91 SHA512 9d2059a19a31ac1393cb69aa28af0cabf1a6da3ee75f7edfea880b506dc8ff764be013e99b4b82fd8819c1552fde80caf15f5f022a0272701800482c2bd81006 diff --git a/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch b/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch new file mode 100644 index 000000000000..28d70bf91663 --- /dev/null +++ b/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch @@ -0,0 +1,22 @@ +Patch to detect ATLAS or cblas. Ported from 1.0.3 to 1.0.4. + +Patch by Marius Brehler. +--- a/configure.ac ++++ b/configure.ac +@@ -76,15 +76,7 @@ location with the options --with-gmp-inc + respectively when running configure. + )]) + +-IML_CHECK_CBLAS(,,[AC_MSG_WARN( +-CBLAS not found! +-Please make sure that --with-cblas=<linker flags> and optional --with-cblas-include=<path> and --with-cblas-lib=<path> are correctly set. +-Trying legacy ATLAS configuration.) +-IML_CHECK_ATLAS(,,[AC_MSG_ERROR( +-ATLAS not found! +-ATLAS version 3.0 or greater is required for this library to compile. Please make sure ATLAS is installed and specify the header and libraries location with the options --with-atlas-include=<path> and --with-atlas-lib=<path> respectively when running configure.) +-]) +-]) ++PKG_CHECK_MODULES([ATLAS], [cblas]) + + AC_SUBST(LIBIML_LDFLAGS) + AC_SUBST(LDFLAGS) diff --git a/sci-libs/iml/iml-1.0.5.ebuild b/sci-libs/iml/iml-1.0.5.ebuild new file mode 100644 index 000000000000..25907543c005 --- /dev/null +++ b/sci-libs/iml/iml-1.0.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Integer Matrix Library" +HOMEPAGE="http://www.cs.uwaterloo.ca/~astorjoh/iml.html" +SRC_URI="http://www.cs.uwaterloo.ca/~astorjoh/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RESTRICT="mirror" + +DEPEND="virtual/cblas" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.4-use-any-cblas-implementation.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-default="${EPREFIX}"/usr \ + --enable-shared \ + $(use_enable static-libs static) +} diff --git a/sci-libs/iml/metadata.xml b/sci-libs/iml/metadata.xml new file mode 100644 index 000000000000..673326db1e86 --- /dev/null +++ b/sci-libs/iml/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription>a free library of C source code which implements algorithms for computing exact solutions to dense systems of linear equations over the integers</longdescription> +</pkgmetadata> diff --git a/sci-libs/libctl/Manifest b/sci-libs/libctl/Manifest deleted file mode 100644 index 652910de529a..000000000000 --- a/sci-libs/libctl/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST libctl-3.1.tar.gz 460108 BLAKE2B 8aea0a1621d70c68c1fe91b8cfa5b7337f18c16e7789845990de850f6b72a4f902230f5c014c342060a98b9a835f7bad9899dc9ffb3c1ada840fe09d6cb5645a SHA512 94e44a0baea067a85c7a8f930545317b1c9f440e18b6ccc59417ed3072652da0ba79f58b469b8d9ba81cd6adae81830566c28aefea18fd76491824dc6c2da067 -DIST libctl-3.2.tar.gz 485681 BLAKE2B a995fc43c877a5094e1c1b88485a46b3d00a1f352adb5f940859efa26b8a46fa64b477b2e17fe41b43f0d373cafb5e628adf4443c7ea3de2079a4d78d7e7406d SHA512 df8701330d3785ff845a065a0d4abb1e7d9167ad7909ff7074a48040092e5bb840f75b3fa90263fe8d29607aeb0b33919be333a619f34a5bac255c0ade4340f5 -EBUILD libctl-3.1.ebuild 730 BLAKE2B 9748ac31749232b4ffa176a627eccb74a77c247db254c29f303fc122110c472ae5e42d100e081add97ff511b1d11d173b19e91c41375e52c84f54b630f554959 SHA512 7ddd0d5d118ead986ad401682d1775f45800bfc4499f76219bdc924e34ce0a50817ab0074534bed1f407b7e45988dd46519f02baeb980d73884fcc9fcaf04c3b -EBUILD libctl-3.2.ebuild 744 BLAKE2B 985977dab089acaf0875ab3891b911c9b16b91d511c1bae798f36974f641a6b233c4e4822aa8b53464a0981426771b83d8dbaac43b9f53f446bc79b2531c4c40 SHA512 3026f2c9a8162f03451fb1d4f0dfdd88c21f0485cbfd510ebead32f8727b4eac3091936811af39bea683c4abce26a51483827ba9783a53dbc1d431a35bbb6f8f -MISC metadata.xml 602 BLAKE2B eb599fb4602c792ca55134b3b88e3c5df6f6ba108cde255e12cab954ed06d113ff6acadcd93318c670edecf568cf29206d5ee800199d61ab633bf4aa8e046126 SHA512 e37303f22b99b3e18b1028d68473acc6fc6d8ecc6ffa17ed3857285a2bdafbab95e2c7df6cd2e1dd3f2fb54ccff0da8089723a4696aa2f27b422845b1ff95132 diff --git a/sci-libs/libctl/libctl-3.1.ebuild b/sci-libs/libctl/libctl-3.1.ebuild deleted file mode 100644 index 23d9af250871..000000000000 --- a/sci-libs/libctl/libctl-3.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit fortran-2 autotools-utils - -DESCRIPTION="Guile-based library for scientific simulations" -HOMEPAGE="http://ab-initio.mit.edu/libctl/" -SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 x86" -IUSE="doc examples static-libs" - -DEPEND=" - dev-scheme/guile[deprecated] - sci-libs/nlopt" -RDEPEND="${DEPEND}" - -src_install() { - autotools-utils_src_install - use doc && dohtml doc/* - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins "${AUTOTOOLS_BUILD_DIR}"/examples/{*.c,*.h,example.scm,Makefile} - doins "${S}"/examples/{README,example.c,run.ctl} - fi -} diff --git a/sci-libs/libctl/libctl-3.2.ebuild b/sci-libs/libctl/libctl-3.2.ebuild deleted file mode 100644 index 14995ee8a35b..000000000000 --- a/sci-libs/libctl/libctl-3.2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit fortran-2 autotools-utils - -DESCRIPTION="Guile-based library for scientific simulations" -HOMEPAGE="http://ab-initio.mit.edu/libctl/" -SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples static-libs" - -DEPEND=" - dev-scheme/guile - sci-libs/nlopt" -RDEPEND="${DEPEND}" - -src_install() { - autotools-utils_src_install - use doc && dohtml doc/* - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins "${AUTOTOOLS_BUILD_DIR}"/examples/{*.c,*.h,example.scm,Makefile} - doins "${S}"/examples/{README,example.c,run.ctl} - fi -} diff --git a/sci-libs/libctl/metadata.xml b/sci-libs/libctl/metadata.xml deleted file mode 100644 index 46b996eb80ed..000000000000 --- a/sci-libs/libctl/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - libctl is the Control Language library implementing a control file - structure aimed at simplifying the control file writing in - scientific simulations. The "ctl" in "libctl" stands for Control - Language (by convention, libctl control files end with ".ctl" and - are referred to as ctl files). - </longdescription> -</pkgmetadata> diff --git a/sci-libs/libgeodecomp/Manifest b/sci-libs/libgeodecomp/Manifest index 940ac3410369..d16b6ba6c4ed 100644 --- a/sci-libs/libgeodecomp/Manifest +++ b/sci-libs/libgeodecomp/Manifest @@ -1,5 +1,5 @@ AUX libgeodecomp-0.4.0-libdir.patch 694 BLAKE2B 87b08665e9f1d236183f7bfaaf34ef5a9839e28f7a94a6b870fe99d19603b11f152227137202be5669c9f9cd2ba65b3f559eba9ca2460676f19c22e0911ab36e SHA512 fa8e0e08b45d9250d6f32e1a8ade6ff8bdb8acb7951115916cee7b6df600800f8aa64cfb92e13bb5b108af98e8ac2b1f127f34b415648ebe556a589bb11af68d AUX libgeodecomp-0.4.0-scotch.patch 7962 BLAKE2B e47365810132838ba0afc63dead520a17d866c0c6b5c2c2bf8f7299d688bcf10ef34ff19d1b29a29d3388101f082080b5943b037fdc9aedf937b392ffb46a68a SHA512 78d805aedb820b457ae01e5f35c530edf7de014cc60c640314cefb1cdfa88f54a6128fb56a81e974fed9d0620e56c31a8f97922d78e88d729bbf3c29c71f7f5d DIST libgeodecomp-0.4.0.tar.bz2 766090 BLAKE2B 2abc5d10371fbad92f957118cabd656f0b4938d5e102da6446851bd979debddaf5eba8a6321dffd32356a40ca12659d9a7a691929e71989e48a71e5177fedc51 SHA512 3ff1a45844e5879662012cb4bae5d577f30ee71094ed4063b535b0ac3da900f34a1bc25be524c006ff91e0edd665e46cbb6cfc0db7966eebfea30f9fee6eeddb -EBUILD libgeodecomp-0.4.0.ebuild 1435 BLAKE2B b259a896d174988bec38e7e1be7493648ca5ed862eb04eecd1fc3b182b5b7bca159fa57075334368fbc3e667f4168db43134199e426ff890c1a17afdd61b8adc SHA512 f3a91db74a114d40bbecce9a3c997bdfa85c14c650fa14d35507b536ab34eff91fe11314d81c63c9f720bdcf43f29d67879b33fb1929f6d60840b14a000d459a +EBUILD libgeodecomp-0.4.0.ebuild 1466 BLAKE2B 5d6b2314208bee5bc15bc69fcc564ffa425d82421c1d54df69f8db187adab43889cee89f9d9affcf87ed139d283602c6514491240393bb44444d66f6a273f9b2 SHA512 1fc4b3515cb3d219108da35349292a4bceb1bc282949c2a16127d99a2b75787aa2edc2ac80b712c3b9579686a26e4ffe7a85020345030153c5b67c0420c09a29 MISC metadata.xml 1252 BLAKE2B 1c35e4efb788c48e23b62025853472afeedfe1f860797cf22e79877e8bab3170998bb1e064ff05a36bf8ddbb6e70b40da329cf9be7ab929a7cb6a9aca2b51c04 SHA512 e8c259afc51b594f4d167128555c7c0ef6935eab46e43ee92407ed32183815cd5e3588a3b0cb0230d757dfa9ca0ddb1f36ef4887b9c31f27ee57e668413f1026 diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.4.0.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.4.0.ebuild index d3a1b4df976b..14e3f4f3cc83 100644 --- a/sci-libs/libgeodecomp/libgeodecomp-0.4.0.ebuild +++ b/sci-libs/libgeodecomp/libgeodecomp-0.4.0.ebuild @@ -21,12 +21,13 @@ DEPEND="${RDEPEND} app-text/texlive media-gfx/graphviz ) + hpx? ( sys-cluster/hpx ) + <=dev-libs/libflatarray-0.2.0 mpi? ( virtual/mpi ) cuda? ( dev-util/nvidia-cuda-toolkit ) opencl? ( virtual/opencl ) opencv? ( media-libs/opencv ) silo? ( sci-libs/silo ) - hpx? ( sys-cluster/hpx ) visit? ( sci-visualization/visit )" S="${WORKDIR}/${P}" diff --git a/sci-libs/libmed/Manifest b/sci-libs/libmed/Manifest index 712e88eb6d7a..4944c28e0496 100644 --- a/sci-libs/libmed/Manifest +++ b/sci-libs/libmed/Manifest @@ -4,9 +4,6 @@ AUX libmed-3.3.1-mpi.patch 608 BLAKE2B 61c26f3cce21aa92d72f07227076afc477fb5cb94 AUX libmed-4.0.0-cmakelist.patch 2421 BLAKE2B 38991513aabbb8237a8b0d9456d9bb76f38cffecff9b1b4c906c0f9d17abd6c02ec150420403d8c1b36310b871f5354e100d1038d5620f6ba8719074e0ccd665 SHA512 405669dedc95b3776a2f4f6d64f8a608c914adb7d0666690f1f8b4a0598d6d85c7398622f50c50ead0295ee965fa993c36eb9e4217985079b528714682ea8b5d AUX libmed-4.0.0-installdoc.patch 1045 BLAKE2B ddc44d986743a4bf1fa59ab20d34835117f2213283ad13ce1e8e16358b87fe64888facb2f32da76a025cc283a5d942554700cc8816c25cb6f0eeaa54970f1f9a SHA512 486eb41af086d2dc92463aa8f64f074f70a39920b4954e4c272bc6b92c960efe198255975b7c594ff801be43e9eb6a31d007f55451901107db90ed6b3389eee6 AUX libmed-4.0.0-tests.patch 819 BLAKE2B c6352475b917d4300d15eaa8742c44ed609768265beb37d6a4128e52cfcda9b7971e8d770045944e94dfa9c40dd756dba854c6dd793639c3dad4497bba34b651 SHA512 4b13a8dc40d7d666b7853b47df7c432a796bc905b714cdecc22bc242597eddb6c18a13eae0c39b8a00a4b07d710332c413ac5c358ffff7cb19378a8adb12221c -DIST libmed-3.3.1-r1-gentoo.tar.bz2 36127 BLAKE2B c112215932ac5c84cc75911c20712fcf428a8fc6e8adfd497066315fbc99a70816e0276196ff6366f34eeb3bf6d40586a735dd35cc13579640d7128f563fbf2b SHA512 e55dc96b8282dfba0dc9746dba7ef2ea8616d5617deabd3164d0134ca680e27c2a121432ae22f38fc53a52ffb0ac66a9a17c131488a9d01a757601afbcdc0bff -DIST med-3.3.1.tar.gz 43379218 BLAKE2B 101033a766b3b8f184de8b18437a020129da3a11fd947742c30d8b9d274542e7445f1ee1d5827194a1ebc02c701ea6911105102f7b61c24d9d07bb15dbfe45f7 SHA512 f1eba3bc69520b862bdab89ce76694f91ed0e6be42c037df8ec655b6314e8ae776083d5ead61fb34097eb8440302969229d1859b6d8fcce51e7551b75d8ebf5f DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7 -EBUILD libmed-3.3.1-r1.ebuild 2959 BLAKE2B affec9e8225346068e8efae6aac6565aec3e2e7e03d49f7c29283002bd302d9f7c82cb01ec35900937cbc49bb3a4875ab170d20cc9ab9bccfa9ee64299e93dc4 SHA512 41d3458105c5847461b8e7077361fa735bb157e4eca8bc9853748a7ff3f1993ddf476a32663f75ebffb2c304bd962b8e180885d59702dbc6dd1022b1deceb706 EBUILD libmed-4.0.0-r1.ebuild 3020 BLAKE2B 7fdf0682ca017aae35f8cd93e685fcf397880b71a56c51418369f09a2d944cd707df131048ba6a2eb53e353d5101d288397f27954ea618aef21acb962a74dc24 SHA512 c05b59f02f76a9ac37147600dfa27171cbb7fafde529ebb96558e91c6c3b541e3372f1ec1bf1fa7d2d5b10e1cc59238c407339aae44ba8f9b87771702fd47ecc MISC metadata.xml 379 BLAKE2B d8dc23452e0bc847d6d828192f2665cc74924abb6e5057db84a2a7bd6a1e4b1daa047e7db5694e00b07b1c21666f0fca8d4c374fb3be0f1ce3dbf3742f3b7f93 SHA512 5bc38cad4d81652ac0f16779036d8a3ab1772e504c4d17b614aca53c845518c56f0baa3bf02aa186bb988d6942945b4b5355ade3544f9c0c5da367c9bf0a645f diff --git a/sci-libs/libmed/libmed-3.3.1-r1.ebuild b/sci-libs/libmed/libmed-3.3.1-r1.ebuild deleted file mode 100644 index 0a63fccfcc87..000000000000 --- a/sci-libs/libmed/libmed-3.3.1-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# EAPI=7 uses ninja generator by default but it's incompatible with USE=fortran -# https://github.com/Kitware/ninja/tree/features-for-fortran#readme -CMAKE_MAKEFILE_GENERATOR=emake - -FORTRAN_NEEDED=fortran -# NOTE:The build for multiple python versions should be possible but complecated for the build system -PYTHON_COMPAT=( python2_7 python3_{5,6} ) - -inherit cmake-utils fortran-2 python-single-r1 - -MY_P="med-${PV}" - -DESCRIPTION="A library to store and exchange meshed data or computation results" -HOMEPAGE="https://www.salome-platform.org/" -SRC_URI="http://files.salome-platform.org/Salome/other/${MY_P}.tar.gz - https://dev.gentoo.org/~fordfrog/distfiles/${P}-r1-gentoo.tar.bz2" - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc fortran mpi python static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RDEPEND=" - sci-libs/hdf5[fortran=,mpi=] - mpi? ( virtual/mpi[fortran=] ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND} - python? ( >=dev-lang/swig-2.0.9:0 ) -" - -S="${WORKDIR}"/${MY_P}_SRC - -PATCHES=( - "${WORKDIR}/${P}-cmake-fortran.patch" - "${WORKDIR}/${P}-disable-python-compile.patch" # managed by function of python eclass - "${WORKDIR}/${P}-mpi.patch" - "${WORKDIR}/${P}-hdf5-1.10-support.patch" # taken from Debian - "${WORKDIR}/${P}-cmakelist.patch" - "${WORKDIR}/${P}-tests.patch" # disable a few tests not running - "${WORKDIR}/${P}-tests-python3.patch" - "${WORKDIR}/${P}-installdoc.patch" - "${WORKDIR}/${P}-python-imports.patch" -) - -DOCS=( AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README TODO ) - -pkg_setup() { - use python && python-single-r1_pkg_setup - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # fixes for correct libdir name - sed -i -e "s@SET(_install_dir lib/python@SET(_install_dir $(get_libdir)/python@" \ - ./python/CMakeLists.txt || die "sed failed" - for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt - do - sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \ - "${cm}" || die "sed on ${cm} failed" - done - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DMEDFILE_BUILD_FORTRAN=$(usex fortran) - -DMEDFILE_BUILD_STATIC_LIBS=$(usex static-libs) - -DMEDFILE_BUILD_PYTHON=$(usex python) - -DMEDFILE_BUILD_TESTS=$(usex test) - -DMEDFILE_INSTALL_DOC=$(usex doc) - -DMEDFILE_USE_MPI=$(usex mpi) - -DMEDFILE_DOC_DIRECTORY="${EPREFIX}"/usr/share/doc/${PF}/html # custom var created by patches - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # the optimization done in CMakeLists.txt has been disabled so - # we need to do it manually - use python && python_optimize - - # Prevent test executables being installed - use test && rm -rf "${D}"/usr/bin/{testc,testf,testpy} -} - -src_test() { - # override parallel mode only for tests - local myctestargs=( "-j 1" ) - cmake-utils_src_test -} diff --git a/sci-libs/med/Manifest b/sci-libs/med/Manifest index 7f3fba95a489..be3be43db4b2 100644 --- a/sci-libs/med/Manifest +++ b/sci-libs/med/Manifest @@ -1,3 +1,4 @@ +AUX med-4.0.0-0001-doc-html.doc-Makefile.am-install-into-htmldir.patch 1683 BLAKE2B 7b5c58e14c36d08e534139df2deba0cd3dd14bc3b66ed3472f89c8693aad73b7215806b4a4a6e3696e5e54855e4deea428309cea48519c85bf99f94f6355f5ba SHA512 4175e0c4b89e541cf27932392333e08960849ebd8e2897a340bce09c7500782064afadfaa51ff8dea89d420636e8bbb28a60fa8fe23432531b233da4462f568a DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7 -EBUILD med-4.0.0.ebuild 855 BLAKE2B b10da966988f792f38bacee9d3262429f7d8f5da33b3e0d4785c77fdcf216b22ce1af488407938ad1e1a3154b139fc0385418bb35d4ced76023ee62bdf111727 SHA512 20cc36592197be6d7365cbe6410dfd3701b9236e79dfaa00d147afbff3d27151137d1f13945e2aa74be016bdae196b7a90a5e0b247ff5d14bae5cd4b466e18e6 -MISC metadata.xml 361 BLAKE2B fbd2fb8f0943722292e127f49064380cbe92df453a9c30ac6e0f4767866d81c3ca69b2605cb6269d8cc02604507068dbb967317b6cdc2d1184420bff2d592200 SHA512 a25fbe30ddfa3b62d7c7fff16a022a19145e161099fc59cb2df072461452f2c8a2a0246da7bbc3e18dd580789e514f6a85232b908e921a9762eff18059c85f94 +EBUILD med-4.0.0-r1.ebuild 2955 BLAKE2B 0ec34136f384fd172b7cf07fb8d0ed896f363f4a05b2a784bce784fb7747258aef27894c3850988536b1eb9d27c02729aa14609b4a76988eb7b4a4beafe6801b SHA512 b07717aa5cebf4421b9caa11a48adfd303ef661cc75d656f60ee0315134387028067e2d420556277248bbe408f8a97b6b0bd31f3c2726ca4a27dc0fca381e3ec +MISC metadata.xml 743 BLAKE2B 26b8d89344c704c98c0819d9c10818667619f77ac704086ee645cbae2d15a59c36533edfe13e787da7e20f0611ddedbc2d761e33277d5a0b1f3328f2704971f9 SHA512 65a7ccf699c82ba6830d0172c87e83651f7d02182f3974fbd725e027046e4a2496fbdab9be852d1796f254622a73f697a3677fbb771a30a06a0b8d9c0a54c4bf diff --git a/sci-libs/med/files/med-4.0.0-0001-doc-html.doc-Makefile.am-install-into-htmldir.patch b/sci-libs/med/files/med-4.0.0-0001-doc-html.doc-Makefile.am-install-into-htmldir.patch new file mode 100644 index 000000000000..e9dad6d5febe --- /dev/null +++ b/sci-libs/med/files/med-4.0.0-0001-doc-html.doc-Makefile.am-install-into-htmldir.patch @@ -0,0 +1,50 @@ +From 73a776f76043d122438d716d0958489fc67bab8e Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl@gmail.com> +Date: Sun, 1 Sep 2019 22:02:42 +0200 +Subject: [PATCH] doc/html.doc/Makefile.am: install into $htmldir + +Patches the install-data-local target to use $htmldir instead of $docdir + +Signed-off-by: Bernd Waibel <waebbl@gmail.com> +--- + doc/html.dox/Makefile.am | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/doc/html.dox/Makefile.am b/doc/html.dox/Makefile.am +index 9dc5b08..3946777 100644 +--- a/doc/html.dox/Makefile.am ++++ b/doc/html.dox/Makefile.am +@@ -36,25 +36,25 @@ html-local: $(builddir)/../dox/Doxyfile.cfg + diff $(builddir)/htmllistfile2.am.tmp $(srcdir)/htmllistfile2.am || @CP@ $(builddir)/htmllistfile2.am.tmp $(srcdir)/htmllistfile2.am + + install-data-local: $(htmllistfile1) $(htmllistfile2) $(htmllistfile3) +- test -z "$(DESTDIR)$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" ++ test -z "$(DESTDIR)$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" + for i in $(htmllistfile1) ; do \ + $(INSTALL_DATA) \ + `test -f $$i || echo $(srcdir)/`$$i \ +- $(DESTDIR)$(docdir) ; \ ++ $(DESTDIR)$(htmldir) ; \ + done + for i in $(htmllistfile2) ; do \ + $(INSTALL_DATA) \ + `test -f $$i || echo $(srcdir)/`$$i \ +- $(DESTDIR)$(docdir) ; \ ++ $(DESTDIR)$(htmldir) ; \ + done + for i in $(htmllistfile3) ; do \ + $(INSTALL_DATA) \ + `test -f $$i || echo $(srcdir)/`$$i \ +- $(DESTDIR)$(docdir) ; \ ++ $(DESTDIR)$(htmldir) ; \ + done + + uninstall-local: $(htmllistfile1) $(htmllistfile2) $(htmllistfile3) +- rm -rf $(DESTDIR)$(docdir); ++ rm -rf $(DESTDIR)$(htmldir); + + .PHONY: htmlclean + +-- +2.22.0 + diff --git a/sci-libs/med/med-4.0.0-r1.ebuild b/sci-libs/med/med-4.0.0-r1.ebuild new file mode 100644 index 000000000000..3eaa9806e84f --- /dev/null +++ b/sci-libs/med/med-4.0.0-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit autotools flag-o-matic fortran-2 python-single-r1 + +#DESCRIPTION="A library to store and exchange meshed data or computation results" +DESCRIPTION="Modeling and Exchange of Data library" +HOMEPAGE="https://www.salome-platform.org/user-section/about/med" +SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc fortran hdf5-16-api python test" + +# fails to run parallel tests +RESTRICT="test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +# dev-lang/tk is needed for wish-based xmdump utility +RDEPEND=" + !sci-libs/libmed + dev-lang/tk:0= + >=sci-libs/hdf5-1.10.2:=[fortran=,mpi(+)] + virtual/mpi[fortran=] + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="python? ( >=dev-lang/swig-3.0.8 )" + +PATCHES=( + "${FILESDIR}/${P}-0001-doc-html.doc-Makefile.am-install-into-htmldir.patch" +) + +DOCS=( AUTHORS ChangeLog README ) + +pkg_setup() { + use python && python-single-r1_pkg_setup + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + if use hdf5-16-api; then + append-cppflags -DH5_USE_16_API + fi + + # add flag to produce python 3 code + sed -e 's|SWIG_PYTHON_OPT += -c++|SWIG_PYTHON_OPT += -c++ -relativeimport -py3|' \ + -i ./python/Makefile.am || die "failed to change swig options" + + # don't use version information when linking python libraries + sed -e 's|= -module|= -avoid-version -module|' \ + -i ./python/Makefile.am || die "failed to change python link flags" + + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-api23 + --disable-installtest + --disable-static + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + --with-hdf5="${EPREFIX}"/usr + --with-hdf5-lib="${EPREFIX}"/usr/$(get_libdir) + $(use_enable fortran) + $(use_enable python) + ) + + if ! use fortran; then + myconf+=( + --with-f90=no + ) + fi + + if use python; then + myconf+=( + --with-swig="${EPREFIX}/usr" + ) + fi + + export MPICC=mpicc + export MPICXX=mpicxx + export MPIFC=mpif90 + export MPIF77=mpif77 + export FC=mpif90 + export F77=mpif77 + + econf "${myconf[@]}" +} + +src_install() { + use python && python_optimize + + default + + find "${ED}/usr/$(get_libdir)" -type f -name '*.la' -delete || die "failed to delete *.la files" + + # remove unnecessary doc subdirs + rm -r "${ED}"/usr/share/doc/${PF}/{gif,jpg,odt,png} || die "failed to remove unneeded doc subdirs" + if ! use doc; then + rm -r "${ED}"/usr/share/doc/${PF}/html || die "failed to remove html documentation" + fi + + # Prevent test executables being installed + if use test; then + rm -r "${ED}"/usr/bin/{testc,testf,testpy} || die "failed to delete test executables" + fi + + # we don't need old 2.3.6 include files + rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir" + + rm "${ED}"/usr/$(get_libdir)/libmed3.settings || die "failed to remove libmed3.settings" +} diff --git a/sci-libs/med/med-4.0.0.ebuild b/sci-libs/med/med-4.0.0.ebuild deleted file mode 100644 index 721d2173d35b..000000000000 --- a/sci-libs/med/med-4.0.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils flag-o-matic - -DESCRIPTION="Modeling and Exchange of Data library" -HOMEPAGE="https://www.salome-platform.org/user-section/about/med" -SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mpi" - -RDEPEND=" - ${PYTHON_DEPS} - >=sci-libs/hdf5-1.10.5[mpi=] - mpi? ( virtual/mpi ) -" - -DEPEND=" - ${DEPEND} -" - -src_prepare() { - default - append-cppflags -DH5_USE_16_API -} - -src_configure() { - local myconf=( - --docdir="/usr/share/doc/${PF}" - --disable-python - ) - - econf "${myconf[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/$(get_libdir)/libmed3.settings \ - "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - - rm -rf "${ED}"/usr/include/2.3.6 || die "rm failed" -} diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml index dd66d18ef4fd..508afc5ef9c1 100644 --- a/sci-libs/med/metadata.xml +++ b/sci-libs/med/metadata.xml @@ -5,8 +5,21 @@ <email>tamiko@gentoo.org</email> <name>Matthias Maier</name> </maintainer> + <maintainer type="person"> + <email>waebbl@gmail.com</email> + <name>Bernd Waibel</name> + </maintainer> <maintainer type="project"> <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> + <description>Gentoo Science Project</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <description>Gentoo Proxy Maintainers</description> </maintainer> + <use> + <flag name="hdf5-16-api"> + Use -DH5_USE_16_API to build the package against old 1.6 API of HDF5 + </flag> + </use> </pkgmetadata> diff --git a/sci-libs/numkit/Manifest b/sci-libs/numkit/Manifest new file mode 100644 index 000000000000..86f34ac46a2e --- /dev/null +++ b/sci-libs/numkit/Manifest @@ -0,0 +1,3 @@ +DIST numkit-1.1.2.tar.gz 243442 BLAKE2B e5d1e4d85b7646acf47a1e332cbb08f849272ada30bcd65fc5995cd000683f802eb882603e4e7043b159d30ca73395988b83c1fc16d6303ea32731bfdea12db5 SHA512 694a56f64282bbbffed975eabeb2716ac924fbf47f5fb62934ba3b57e6415e5f4b079345fd4eee670990fbf7abe1f945b98472aba034d8c7ff259676da58c034 +EBUILD numkit-1.1.2.ebuild 784 BLAKE2B 62ed2a3f85f7f566c5ab29ea86aff15b1f1a8faf1d754d999d0a8c805633e007f0f6253bf450bd54826ccca6bb4e5786edaa5a498ded72ac3f6eb22fc2ee2d41 SHA512 b9dce213f6cffd1585df04eaf7a49aac6926d46cae23789a4ba61880faf09f5c06fc66e249ecbb5913001bb7802edd2a8bf8fc2e2cc4b67633f5dfeac4150292 +MISC metadata.xml 474 BLAKE2B 7467f534225c3c84437c0306f716e64c9740607a9c18afae941af472c867fb29e3bf8e7371caaabd200a0a583c6502f5c6dc2dc6efa8508b91e15a372c90048f SHA512 7df51b689b986305f1a266361661871f2f0da60e1bda3c77d98f1f45d9ba4e2614930f283e2ef73fe861e519931fbc8b1724f2692c4759ddfa78e9cc89b1efeb diff --git a/sci-libs/numkit/metadata.xml b/sci-libs/numkit/metadata.xml new file mode 100644 index 000000000000..f38dc92dab52 --- /dev/null +++ b/sci-libs/numkit/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> + <maintainer type="project"> + <email>sci-chemistry@gentoo.org</email> + <name>Gentoo Chemistry Project</name> + </maintainer> + <upstream> + <remote-id type="github">Becksteinlab/numkit</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/numkit/numkit-1.1.2.ebuild b/sci-libs/numkit/numkit-1.1.2.ebuild new file mode 100644 index 000000000000..51a550050540 --- /dev/null +++ b/sci-libs/numkit/numkit-1.1.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +if [[ $PV = *9999* ]]; then + scm_eclass=git-r3 + EGIT_REPO_URI="https://github.com/Becksteinlab/${PN}.git" + EGIT_BRANCH="develop" + SRC_URI="" + KEYWORDS="" +else + scm_eclass=vcs-snapshot + SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +inherit eutils distutils-r1 ${scm_eclass} + +DESCRIPTION="Numerical first aid kit (with numpy/scipy)" +HOMEPAGE="https://numkit.readthedocs.io" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +BDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/numpy-1.9[${PYTHON_USEDEP}] + >=sci-libs/scipy-1.0[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest index bdc61767c453..37c549fd734b 100644 --- a/sci-libs/openblas/Manifest +++ b/sci-libs/openblas/Manifest @@ -1,4 +1,6 @@ AUX shared-blas-lapack.patch 5557 BLAKE2B 1e41b18e5a9c12eec9283c835e9b09e4ca89c6512f47a2f158f29c8a8a822d0365ad350177e379bec13f7c7574d8debd55a2f612027ff661c67ac7b226bb2370 SHA512 baa23f0c2bc8b7bc3384d7b8fa20eb5e095f20e1d8859badb55e680ccd435a851da6099b20aa203e46d62096ac93663ea130bea04dabf19432522e53139d393b DIST openblas-0.3.6.tar.gz 11923774 BLAKE2B 0133b83a4449fd7f86d6379129be4e4477df338d0a402a7787eec317838922b175315c6e6b014a2c7ed6aa1c58509a28f6b48c641e043af067434c4315f1fdb1 SHA512 e432ae8bfbdc8e8c6336553e05181ab38576164c140ef2a6ddb2a66479f724bd4e60a2c90f7bc15bf18eefa7045e7775dedae421fb71296b8d250132c2407b07 +DIST openblas-0.3.7.tar.gz 11991860 BLAKE2B c4eebcbdda8c15ce384195bd2a57d3638b9a8fa9a0484dc3af9dcef0543e7bbfd8444b65ede36379f2182a9bd3df085070210d289c916dfa428da7ab6889eb43 SHA512 424d1c9c6fd97f6af4fdb7d7dce320cf5eab867a027e576531e39df934358736c4efab88782f781ec8f4afa8d992544040e3bbff3a4736c20cf4256d3a8e517d EBUILD openblas-0.3.6.ebuild 3532 BLAKE2B b48e2a8dce76ebff23d42da60e867e97ceb5c2f7d9b610800472e8765373dc8547f86065bc35d3924e402b3f4d47650596a457845b2c5062e22f377318ada101 SHA512 0ac456ebe0043cd37be9e40186283895ed09c9bbdad9259b918b40053d3b083ef9df341e2806f7d140cb63dc39182b785e0da556d594edd1150f424c972b18b5 +EBUILD openblas-0.3.7.ebuild 3532 BLAKE2B b48e2a8dce76ebff23d42da60e867e97ceb5c2f7d9b610800472e8765373dc8547f86065bc35d3924e402b3f4d47650596a457845b2c5062e22f377318ada101 SHA512 0ac456ebe0043cd37be9e40186283895ed09c9bbdad9259b918b40053d3b083ef9df341e2806f7d140cb63dc39182b785e0da556d594edd1150f424c972b18b5 MISC metadata.xml 884 BLAKE2B a2fa7ef571e7fa3a5390f73e40f58fe54b156e9a706c046e88b844de341b0689b8a5fe996fa31ea48f913bfbf064271983d065dd1ada7109212240bcb766317a SHA512 088a07f3bb464717bd8403c9547def9c361b1d0c9f3e5d3398d93c7d8f7b54b4ec47ec82b4d72409ad926a6e49fc297cdbe43b7ea199cf1d64ac27091930868d diff --git a/sci-libs/openblas/openblas-0.3.7.ebuild b/sci-libs/openblas/openblas-0.3.7.ebuild new file mode 100644 index 000000000000..f52bf5c6ece1 --- /dev/null +++ b/sci-libs/openblas/openblas-0.3.7.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit fortran-2 toolchain-funcs + +DESCRIPTION="Optimized BLAS library based on GotoBLAS2" +HOMEPAGE="http://xianyi.github.com/OpenBLAS/" +SRC_URI="https://github.com/xianyi/OpenBLAS/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="dynamic eselect-ldso index-64bit openmp pthread" +REQUIRED_USE="?? ( openmp pthread )" + +RDEPEND=" + eselect-ldso? ( >=app-eselect/eselect-blas-0.2 + !app-eselect/eselect-cblas + >=app-eselect/eselect-lapack-0.2 )" + +DEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/shared-blas-lapack.patch" ) + +pkg_setup() { + fortran-2_pkg_setup + use openmp && tc-check-openmp + export CC=$(tc-getCC) FC=$(tc-getFC) + + use dynamic && \ + export DYNAMIC_ARCH=1 TARGET=GENERIC NUM_THREADS=64 NO_AFFINITY=1 + + # disable submake with -j + export MAKE_NB_JOBS=-1 + + USE_THREAD=0 + if use openmp; then + USE_THREAD=1; USE_OPENMP=1; + elif use pthread; then + USE_THREAD=1; USE_OPENMP=0; + fi + export USE_THREAD USE_OPENMP + + export PREFIX="${EPREFIX}/usr" +} + +src_unpack () { + default + mv "${WORKDIR}"/*OpenBLAS* "${S}" || die + if use index-64bit; then + cp -aL "${S}" "${S}-index-64bit" || die + fi +} + +src_compile () { + emake + emake -Cinterface shared-blas-lapack + if use index-64bit; then + emake -C"${S}-index-64bit" INTERFACE64=1 LIBPREFIX=libopenblas64 + fi +} + +src_test() { + emake tests +} + +src_install () { + emake install DESTDIR="${D}" OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/${PN} \ + OPENBLAS_LIBRARY_DIR='$(PREFIX)'/$(get_libdir) + dodoc GotoBLAS_*.txt *.md Changelog.txt + + if use eselect-ldso; then + dodir /usr/$(get_libdir)/blas/openblas/ + insinto /usr/$(get_libdir)/blas/openblas/ + doins interface/libblas.so.3 + dosym libblas.so.3 usr/$(get_libdir)/blas/openblas/libblas.so + doins interface/libcblas.so.3 + dosym libcblas.so.3 usr/$(get_libdir)/blas/openblas/libcblas.so + + dodir /usr/$(get_libdir)/lapack/openblas/ + insinto /usr/$(get_libdir)/lapack/openblas/ + doins interface/liblapack.so.3 + dosym liblapack.so.3 usr/$(get_libdir)/lapack/openblas/liblapack.so + fi + + if use index-64bit; then + insinto /usr/$(get_libdir)/ + dolib.so "${S}-index-64bit"/libopenblas64*.so* + fi +} + +pkg_postinst () { + use eselect-ldso || return + local libdir=$(get_libdir) me="openblas" + + # check blas + eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} + local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) + if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then + eselect blas set ${libdir} ${me} + elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." + else + elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." + elog "To use blas [${me}] implementation, you have to issue (as root):" + elog "\t eselect blas set ${libdir} ${me}" + fi + + # check lapack + eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} + local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) + if [[ ${current_lapack} == "${me}" || -z ${current_lapack} ]]; then + eselect lapack set ${libdir} ${me} + elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." + else + elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." + elog "To use lapack [${me}] implementation, you have to issue (as root):" + elog "\t eselect lapack set ${libdir} ${me}" + fi +} + +pkg_postrm () { + if use eselect-ldso; then + eselect blas validate + eselect lapack validate + fi +} diff --git a/sci-libs/pcl/Manifest b/sci-libs/pcl/Manifest index 55251d55febd..69af6ae72d5c 100644 --- a/sci-libs/pcl/Manifest +++ b/sci-libs/pcl/Manifest @@ -1,6 +1,4 @@ -DIST pcl-1.8.1.tar.gz 66787596 BLAKE2B d02439bc0c0b9cf179f5840822dcad9b3cd128c53325d5f1a5b67e0153c8b4c5150cd65763e17d2c28f91325eb9ae33d9fa6e673a17681b05d19c46eaf0bdb9d SHA512 9e7c87fb750a176712f08d215a906012c9e8174b687bbc8c08fa65de083b4468951bd8017b10409015d5eff0fc343885d2aae5c340346118b1a251af7bdd5cd7 DIST pcl-1.9.1.tar.gz 67158067 BLAKE2B 472422930e08feba11f42a2df49d68e0c55484744e0649164b113dc3b654188e598b1c0a55f1b75680150090749b00378ae0f70b35b1695a7914a16be7415bf7 SHA512 ca95028c23861ac2df0fa7e18fdd0202255cb2e49ab714325eb36c35289442c6eedbf489e6f9f232b30fa2a93eff4c9619f8a14d3fdfe58f353a4a6e26206bdf -EBUILD pcl-1.8.1.ebuild 2228 BLAKE2B 916758207e3f8ea2f4b95dcb72986f3dff0d5587e671b2b30471ed548a7c8c7a25b1088957fdcbebb82bcf366042ed3079935233ec54382aaf4b22b20384cf99 SHA512 3a2fd249e12e1529476d9efb04ab3a2dffd6303fcb5825668238c04562eaba439f83ed0dbf08c04b81923e83a58f53a44132cf6d20466d1311366b3b6961cc80 EBUILD pcl-1.9.1.ebuild 2225 BLAKE2B 71b098a237d0993d68442220862510f8539cdceedd21dbe86a65724044f64f366fbb861455cceca2467744d951cd4cacc790482012b0ad80ee5a1310a4ae1ea6 SHA512 d7c512ff67957ba32fb241489f14693131c15b57d1c05d5c84b3fe8021101a5a42ab3502686d8a0b0b653198ef4023c63ddfb2bc9626a44c4f1b8c83b27aabcc EBUILD pcl-9999.ebuild 2225 BLAKE2B 71b098a237d0993d68442220862510f8539cdceedd21dbe86a65724044f64f366fbb861455cceca2467744d951cd4cacc790482012b0ad80ee5a1310a4ae1ea6 SHA512 d7c512ff67957ba32fb241489f14693131c15b57d1c05d5c84b3fe8021101a5a42ab3502686d8a0b0b653198ef4023c63ddfb2bc9626a44c4f1b8c83b27aabcc MISC metadata.xml 1125 BLAKE2B 27e8b272d41bf690e99b28e7b9af140412e3d5641f56131c1c8ece113262f3222444a487a3e6a050fcf7fb8c8c404f284bc731780fa557d56241e0e0ad18613f SHA512 d5676bf63401993065215538dd0725f13a99251117e7e61cf9614ea765eb0b9388a8866aa74fb6840dba4ead49f763070076cd328c60ab0830ff11bee827e7cf diff --git a/sci-libs/pcl/pcl-1.8.1.ebuild b/sci-libs/pcl/pcl-1.8.1.ebuild deleted file mode 100644 index 9475d9da7036..000000000000 --- a/sci-libs/pcl/pcl-1.8.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/PointCloudLibrary/pcl" -fi - -inherit ${SCM} cmake-utils multilib - -if [ "${PV#9999}" != "${PV}" ] ; then - KEYWORDS="" - SRC_URI="" -else - KEYWORDS="~amd64 ~arm" - SRC_URI="https://github.com/PointCloudLibrary/pcl/archive/${P}.tar.gz" - S="${WORKDIR}/${PN}-${P}" -fi - -HOMEPAGE="http://pointclouds.org/" -DESCRIPTION="2D/3D image and point cloud processing" -LICENSE="BSD" -SLOT="0/1.8" -IUSE="cuda doc opengl openni openni2 pcap png +qhull qt5 usb vtk cpu_flags_x86_sse test tutorials" - -RDEPEND=" - >=sci-libs/flann-1.7.1 - dev-libs/boost:=[threads] - dev-cpp/eigen:3 - opengl? ( virtual/opengl media-libs/freeglut ) - openni? ( dev-libs/OpenNI ) - openni2? ( dev-libs/OpenNI2 ) - pcap? ( net-libs/libpcap ) - png? ( media-libs/libpng:0= ) - qhull? ( media-libs/qhull ) - qt5? ( - dev-qt/qtgui:5 - dev-qt/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtopengl:5 - ) - usb? ( virtual/libusb:1 ) - vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering] ) - cuda? ( >=dev-util/nvidia-cuda-toolkit-4 ) -" -DEPEND="${RDEPEND} - !!dev-cpp/metslib - doc? ( app-doc/doxygen ) - tutorials? ( dev-python/sphinx dev-python/sphinxcontrib-doxylink ) - test? ( >=dev-cpp/gtest-1.6.0 ) - virtual/pkgconfig" - -REQUIRED_USE=" - openni? ( usb ) - openni2? ( usb ) - tutorials? ( doc ) -" - -src_configure() { - local mycmakeargs=( - "-DLIB_INSTALL_DIR=$(get_libdir)" - "-DWITH_CUDA=$(usex cuda TRUE FALSE)" - "-DWITH_LIBUSB=$(usex usb TRUE FALSE)" - "-DWITH_OPENGL=$(usex opengl TRUE FALSE)" - "-DWITH_PNG=$(usex png TRUE FALSE)" - "-DWITH_QHULL=$(usex qhull TRUE FALSE)" - "-DWITH_QT=$(usex qt5 TRUE FALSE)" - "-DWITH_VTK=$(usex vtk TRUE FALSE)" - "-DWITH_PCAP=$(usex pcap TRUE FALSE)" - "-DWITH_OPENNI=$(usex openni TRUE FALSE)" - "-DBUILD_OPENNI=$(usex openni TRUE FALSE)" - "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)" - "-DBUILD_OPENNI2=$(usex openni2 TRUE FALSE)" - "-DPCL_ENABLE_SSE=$(usex cpu_flags_x86_sse TRUE FALSE)" - "-DWITH_DOCS=$(usex doc TRUE FALSE)" - "-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)" - "-DBUILD_TESTS=$(usex test TRUE FALSE)" - ) - cmake-utils_src_configure -} diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest index 08bf1dbcb961..65ea71b8399a 100644 --- a/sci-libs/rtabmap/Manifest +++ b/sci-libs/rtabmap/Manifest @@ -1,8 +1,6 @@ -DIST rtabmap-0.14.0.tar.gz 19515196 BLAKE2B 851017bd3114c4dfaf323ef7ba6c3e970480de4c227b06d625cec0363a144a220be587934b0d457eca587d39c0c0b609acebd71ce7a98f1193ab5723f6a47f9a SHA512 00e2996b11aef8e0f61dc59ac59626b5b695ac3b5281d7776d73b54edbd90473bfffa1daae148e090b601a4d56d7feff2190f362ea188640b93db06e3760042f -DIST rtabmap-0.17.1.tar.gz 19632117 BLAKE2B 6e2bd929da4148856317f0b03197e541223d59810397fc5d282b04ace5af796028cd8cde850d89fb2f3f289ed11d155a5163132edd7e65e2bc8a1bad1d09c54a SHA512 6714d245b87012cb0432b677c87b17e3bc182df2025203f0bd63b1f4ab06d03d795de4792d3cc4fe6d1ca4db40852c15350fed3c3a6e27176ea5e764a9816cd2 DIST rtabmap-0.18.1.tar.gz 19725948 BLAKE2B c43cf9c696a151b9f9117d13438122bf47fc66914249377b7c9519a2838c8512147d68f999744c1f1c5a298e1b7adb7b77db8df1c6100d1d9a7a0acbf8b24967 SHA512 37fc2e6445531875cb9b27684cd5ff7a651ca2a8a3c653a52813352579bd2f4a4ee4be7c690cf0b29ae7907d26fd8a1f4e9188071409611b845333e734714aca -EBUILD rtabmap-0.14.0.ebuild 1401 BLAKE2B 877164ca7375c4d39f6598b72019b16664c853f3c1ee16753c490df0efbcc600b7a7e0ae57957f11f0469ffc8f09f6c4a50a644191d111b19cd7ecc95bda774c SHA512 b47443ccdf33d69e61c6912951f7c816cfaa13ca8076dc627c1814b7bbffc4a2c547296d2995726a6203b3317e568b6df7933918d660594729bf436ef80382b6 -EBUILD rtabmap-0.17.1.ebuild 1446 BLAKE2B 7f638d8f3b7e756a39122ec993b0471bbf1e72d8fa986679f796c9e5e415fabba12721e7139bc70cb881082f2c2927066f6de814fed35105b85f47f61d196094 SHA512 27178728cadf42f1e8cc9e47e52ef69d3ef9ee6bb1c71223ed80edfa9fe451a6020ddbc08f5f960c2dcb6df77535d0f72458c465213886788048b2b6493fba30 +DIST rtabmap-0.19.3.tar.gz 19818629 BLAKE2B f732a02db6ef8434b1457234211a128e3050236590e0f6a1e08e36bbb5899b9d3de9409d7d7329f346d29874d440bd86835c1501fb638e3802e2663907e7b04d SHA512 bda72596911b1c35d757322c7e5acd7e43ec1f4e984bfb0599cfb39597bee79e470d1bc11b492f244f39c35812ae570d023848cdcbd011eeb78e347727045509 EBUILD rtabmap-0.18.1.ebuild 1427 BLAKE2B 8cd9e1dcbe91cd609815f9dadd9c252ef9145f2fa2a79e4f0fa627d276310d648cc53d81a4dce4e1b47fab5af19243f50643e2209e50920b2b373c83d1de7d0b SHA512 f380f1de720a19f8bcd5a4aec152b4776771c41794595151890fb47c63ef512a24cc3922d5e7b3ac5eb9671274fb1d26867dcb677eb1e5ee61a4e84461341afb +EBUILD rtabmap-0.19.3.ebuild 1427 BLAKE2B 8df77b7a3a13eaceb32b14acf719d0ed5310a47861d8ea1fc0b198d52fd8a41d0a898269d8efb03581a8f8c402834a351483928ccb3c215227a3e6cab0863cd2 SHA512 91f0b78b6bfa53210aed90c326ed5151e2712edef451953416e3e81ac5842a8f0e3349ea6ce0eb2b3097012014b908af915525e65e1a074bedd86f3a82594290 EBUILD rtabmap-9999.ebuild 1427 BLAKE2B 8cd9e1dcbe91cd609815f9dadd9c252ef9145f2fa2a79e4f0fa627d276310d648cc53d81a4dce4e1b47fab5af19243f50643e2209e50920b2b373c83d1de7d0b SHA512 f380f1de720a19f8bcd5a4aec152b4776771c41794595151890fb47c63ef512a24cc3922d5e7b3ac5eb9671274fb1d26867dcb677eb1e5ee61a4e84461341afb MISC metadata.xml 471 BLAKE2B d5e9287982f5e772ca5b3570010bc79b18e3d86424c64ed501765a9ca4285349f4fdc1428c92817b7fbdfd2000e5c43ff49dd44d37d512b227e4ee4bec98f3fc SHA512 41752dfbb60d49072337438d49c313eec8a13b51bf8d3e65ad26ca519d3d8f105966756495111f01c6b365d57acb4f7be0b4dd017f8b7bfa483c08c354b0ca81 diff --git a/sci-libs/rtabmap/rtabmap-0.17.1.ebuild b/sci-libs/rtabmap/rtabmap-0.17.1.ebuild deleted file mode 100644 index 9bbe6d06b163..000000000000 --- a/sci-libs/rtabmap/rtabmap-0.17.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/introlab/rtabmap" -fi - -inherit ${SCM} cmake-utils multilib - -if [ "${PV#9999}" != "${PV}" ] ; then - KEYWORDS="" - SRC_URI="" -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}-melodic.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${P}-melodic" -fi - -DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" -HOMEPAGE="http://introlab.github.io/rtabmap/" -LICENSE="BSD" -SLOT="0" -IUSE="examples ieee1394 openni2 qt5" - -RDEPEND=" - media-libs/opencv:=[qt5(-)?] - sci-libs/pcl:=[openni,vtk,qt5(-)?] - sci-libs/vtk:=[qt5(-)?] - sys-libs/zlib - sci-libs/octomap:= - dev-libs/boost:= - ieee1394? ( media-libs/libdc1394 ) - openni2? ( dev-libs/OpenNI2 ) - qt5? ( - dev-qt/qtwidgets:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - "-DWITH_QT=$(usex qt5 ON OFF)" - "-DWITH_DC1394=$(usex ieee1394 ON OFF)" - "-DWITH_OPENNI2=$(usex openni2 ON OFF)" - "-DBUILD_EXAMPLES=$(usex examples ON OFF)" - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - # Needed since we force ros crawling to be done only in - # /usr/share/ros_packages/ - insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" -} diff --git a/sci-libs/rtabmap/rtabmap-0.14.0.ebuild b/sci-libs/rtabmap/rtabmap-0.19.3.ebuild index ec181ba72d33..da61f393cbde 100644 --- a/sci-libs/rtabmap/rtabmap-0.14.0.ebuild +++ b/sci-libs/rtabmap/rtabmap-0.19.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,6 +17,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then else KEYWORDS="~amd64" SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P}" fi DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" @@ -27,7 +28,7 @@ IUSE="examples ieee1394 openni2 qt5" RDEPEND=" media-libs/opencv:=[qt5(-)?] - sci-libs/pcl:=[openni,vtk] + sci-libs/pcl:=[openni,vtk,qt5(-)?] sci-libs/vtk:=[qt5(-)?] sys-libs/zlib sci-libs/octomap:= diff --git a/sci-libs/tensorflow/Manifest b/sci-libs/tensorflow/Manifest index 83b067841fbe..74e292c51993 100644 --- a/sci-libs/tensorflow/Manifest +++ b/sci-libs/tensorflow/Manifest @@ -28,7 +28,9 @@ DIST rules_docker-b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz 460121 BLAKE2B DIST tensorflow-1.13.1.tar.gz 31614228 BLAKE2B 3e78309744747afd5a0929eebccb414efe51320f9291424ef6e3cb848f265aaac5ff16a7064c7aac8094f06b1edb61aa9fe22a55c28c23cfc4e2a6f640f4f12d SHA512 1e5c020a82b0b502c9c6fc9439905e19e8f1fb07e32740a5e2c70f4a3565c8c87053ccdcad360e95550dad648154e399ca8e352fb97a1788acfec3b87bf323bb DIST tensorflow-1.14.0-python-license.rst.txt 45132 BLAKE2B 8a8ace4b64fd9eda1932272704dd4fea002d2562cd9c2c94470d3ff5de58bb171ff849d3f998ea90cd779d1084d39af1267aca8400b74b701205d2e76e6a2628 SHA512 c79c42f4ceecf33c8f8778ca17b53595b75d5d0bdf30b11058cf01dd70a6351f530ca9dd846460aba14edc1d5876f7bf6fa0f9f49f7915590b0f54d267ce3856 DIST tensorflow-1.14.0.tar.gz 41335204 BLAKE2B d91d84c5d86c838cc659c45e28cf3c8a9ec9a02f5854a1826680806dae41cdd00ea49a6d2c04f2019b3400c6e267c6ca6f3b28e43b244569dca174ff7f2c59d6 SHA512 ac9ea5a2d1c761aaafbdc335259e29c128127b8d069ec5b206067935180490aa95e93c7e13de57f7f54ce4ba4f34a822face22b4a028f60185edb380e5cd4787 +DIST tensorflow-patches-1.14.0-r2.tar.bz2 7213 BLAKE2B 51719fc02049d564b7e5c00a76375af9a7e8dfc73753ba5f0d53163dc1fa00d23bb7ed03553a0bce68b8b90cd5bfe21d29e7a57a827db2c68ceef65f3cb0e925 SHA512 35e1a410060cdde99df148bfd06f042b91e021f7a692ae9c0100c67555de553bc248d73db762ed0239117296fb1147e2b67cdf0dd3dc94dee6fe9804c08a7360 DIST tensorflow-python-license.rst.txt 45132 BLAKE2B 770ddd87adc745a021daac01a284131825a33f176002a28b20a2251246183bf7ab4686305620678285e4a216a37f01b3ad953fe7864fa79611cccde156d69ab6 SHA512 2d5a3783ec340f24797e89c78007ee95ab753eb5ee8198c739544f9e1159895f7abe816d6b3c66620f8d7b64641d2a7f44ff0a5b4f2f941928f4733157c7995e EBUILD tensorflow-1.13.1.ebuild 10011 BLAKE2B 8b151edc20f6b80ccaac0e6c99f2414b484eb23ec2e1706736e90f355c8e5d960d8bb5beb00adf54238243e192832f6765d0edab1a6a14d18b888a34d2be343b SHA512 d3aefaeca59c6ee8ad58c0cf0830dc1334d0c0d12d602bbb6fea3f6030d002e918414fb0a5eb900a0ad199012c454d6dba8bda889b218fe6da4daa1e55a6d95e EBUILD tensorflow-1.14.0-r1.ebuild 10688 BLAKE2B 272c017503db3301e972242af8e0b66aaf7e81befe37ece9dc39696dec838b139d873c79e6db4f19fdf91f1af968475848bd4176155fcf5df403b6ebea108b79 SHA512 015fc7b2a664d7b8617da22139e8a87cca5bb6f876ded8fdc441ad68c5456ab9d7c7d5ca624031bec0d38e35e39fee69db8e5a38fdfe9ff23cdb8377fd9df66a +EBUILD tensorflow-1.14.0-r2.ebuild 10387 BLAKE2B e96b62c51ecddfd883dafe6e43612c490f082cb220eed052239d0bb5743bd899762c7308f9021d7a980a6b080b3930eea7520f257d23a420f53868c7b2606988 SHA512 0805d3024a2cd5fde6bf057bfda691710256639982e9281e4e6e57ab70e13f5069bcdcb232354e87edc8c99e1af9723a63ef2c5f5dee9e83424df5320ba707c4 MISC metadata.xml 512 BLAKE2B 39a7fc6dc76945448a9f0e8e9d79866f364d0df5036500a2ab981b6ab6f1170ef8a15e29e3a5a3d39edc0dc441985feaa45ce8069fdfb815ca1419721ba9d870 SHA512 a6dc893a523fa7dab319173914e8602434b8247aee2af6a4adbde29be440097901b0e40193e5592f3849340414a4debce1218ae3895c2c6e7d5af171c463c82b diff --git a/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild b/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild new file mode 100644 index 000000000000..b30050d97da7 --- /dev/null +++ b/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild @@ -0,0 +1,341 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} ) +MY_PV=${PV/_rc/-rc} +MY_P=${PN}-${MY_PV} + +inherit bazel check-reqs cuda distutils-r1 flag-o-matic toolchain-funcs + +DESCRIPTION="Computation framework using data flow graphs for scalable machine learning" +HOMEPAGE="https://www.tensorflow.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cuda mpi +python" +CPU_USE_FLAGS_X86="sse sse2 sse3 sse4_1 sse4_2 avx avx2 fma3 fma4" +for i in $CPU_USE_FLAGS_X86; do + IUSE+=" cpu_flags_x86_$i" +done + +# distfiles that bazel uses for the workspace, will be copied to basel-distdir +bazel_external_uris=" + http://www.kurims.kyoto-u.ac.jp/~ooura/fft.tgz -> oourafft-20061228.tgz + https://bitbucket.org/eigen/eigen/get/a0d250e79c79.tar.gz -> eigen-a0d250e79c79.tar.gz + https://github.com/abseil/abseil-cpp/archive/daf381e8535a1f1f1b8a75966a74e7cca63dee89.tar.gz -> abseil-cpp-daf381e8535a1f1f1b8a75966a74e7cca63dee89.tar.gz + https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz -> bazel-skylib-0.6.0.tar.gz + https://github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz -> bazelbuild-rules_closure-cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz + https://github.com/bazelbuild/rules_swift/releases/download/0.9.0/rules_swift.0.9.0.tar.gz -> bazelbuild-rules_swift.0.9.0.tar.gz + https://github.com/bazelbuild/rules_docker/archive/b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz -> rules_docker-b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz + https://github.com/google/farmhash/archive/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz -> farmhash-816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz + https://github.com/google/gemmlowp/archive/12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip -> gemmlowp-12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip + https://github.com/google/highwayhash/archive/fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz -> highwayhash-fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz + https://github.com/nlopezgi/bazel-toolchains/archive/94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz -> bazel-toolchains-94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz + cuda? ( + https://github.com/nvidia/nccl/archive/f93fe9bfd94884cec2ba711897222e0df5569a53.tar.gz -> nvidia-nccl-f93fe9bfd94884cec2ba711897222e0df5569a53.tar.gz + https://github.com/NVlabs/cub/archive/1.8.0.zip -> cub-1.8.0.zip + ) + python? ( + https://github.com/intel/ARM_NEON_2_x86_SSE/archive/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz -> ARM_NEON_2_x86_SSE-1200fe90bb174a6224a525ee60148671a786a71f.tar.gz + http://mirror.tensorflow.org/docs.python.org/2.7/_sources/license.rst.txt -> tensorflow-1.14.0-python-license.rst.txt + https://pypi.python.org/packages/bc/cc/3cdb0a02e7e96f6c70bd971bc8a90b8463fda83e264fa9c5c1c98ceabd81/backports.weakref-1.0rc1.tar.gz + )" + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~perfinion/patches/tensorflow-patches-${PVR}.tar.bz2 + ${bazel_external_uris}" + +RDEPEND=" + app-arch/snappy + dev-db/lmdb + dev-db/sqlite + dev-libs/icu + >=dev-libs/jsoncpp-1.9 + dev-libs/libpcre + dev-libs/nsync + dev-libs/openssl:0= + >=dev-libs/protobuf-3.6.0:= + >=dev-libs/re2-0.2018.04.01 + media-libs/giflib + media-libs/libjpeg-turbo + media-libs/libpng:0 + >=net-libs/grpc-1.22.0 + net-misc/curl + sys-libs/zlib + >=sys-apps/hwloc-2 + cuda? ( + >=dev-util/nvidia-cuda-toolkit-9.1[profiler] + dev-libs/cudnn + ) + mpi? ( virtual/mpi ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/flatbuffers-1.8.0 + dev-python/absl-py[${PYTHON_USEDEP}] + >=dev-python/astor-0.7.1[${PYTHON_USEDEP}] + dev-python/gast[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/google-pasta[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + >=dev-python/grpcio-1.22.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.11.1[${PYTHON_USEDEP}] + >=net-libs/google-cloud-cpp-0.10.0 + >=sci-libs/keras-applications-1.0.6[${PYTHON_USEDEP}] + >=sci-libs/keras-preprocessing-1.0.5[${PYTHON_USEDEP}] + >=sci-visualization/tensorboard-1.13.0[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + dev-python/mock" +PDEPEND="python? ( + >=sci-libs/tensorflow-estimator-1.13.0[${PYTHON_USEDEP}] + )" +BDEPEND=" + app-arch/unzip + >=dev-libs/protobuf-3.6.0 + dev-java/java-config + dev-python/mock + dev-lang/swig + dev-python/cython + || ( + =dev-util/bazel-0.24* + =dev-util/bazel-0.26* + =dev-util/bazel-0.27* + ) + cuda? ( + >=dev-util/nvidia-cuda-toolkit-9.1[profiler] + ) + !python? ( dev-lang/python ) + python? ( + >=dev-python/grpcio-tools-1.22.0 + )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS CONTRIBUTING.md ISSUE_TEMPLATE.md README.md RELEASE.md ) +CHECKREQS_MEMORY="5G" +CHECKREQS_DISK_BUILD="5G" + +get-cpu-flags() { + local i f=() + # Keep this list in sync with tensorflow/core/platform/cpu_feature_guard.cc. + for i in sse sse2 sse3 sse4_1 sse4_2 avx avx2 fma4; do + use cpu_flags_x86_${i} && f+=( -m${i/_/.} ) + done + use cpu_flags_x86_fma3 && f+=( -mfma ) + echo "${f[*]}" +} + +pkg_setup() { + local num_pythons_enabled + num_pythons_enabled=0 + count_impls(){ + num_pythons_enabled=$((${num_pythons_enabled} + 1)) + } + use python && python_foreach_impl count_impls + + # 5 G to build C/C++ libs, 5G per python impl + CHECKREQS_DISK_BUILD="$((5 + 5 * $num_pythons_enabled))G" + check-reqs_pkg_setup +} + +src_unpack() { + # Only unpack the main distfile + unpack "${P}.tar.gz" + unpack tensorflow-patches-${PVR}.tar.bz2 + bazel_load_distfiles "${bazel_external_uris}" +} + +src_prepare() { + export JAVA_HOME=$(java-config --jre-home) # so keepwork works + + append-flags $(get-cpu-flags) + bazel_setup_bazelrc + + eapply "${WORKDIR}"/patches/*.patch + + default + use python && python_copy_sources + + use cuda && cuda_add_sandbox +} + +src_configure() { + export JAVA_HOME=$(java-config --jre-home) # so keepwork works + + do_configure() { + export CC_OPT_FLAGS=" " + export TF_ENABLE_XLA=0 + export TF_NEED_OPENCL_SYCL=0 + export TF_NEED_OPENCL=0 + export TF_NEED_COMPUTECPP=0 + export TF_NEED_ROCM=0 + export TF_NEED_MPI=$(usex mpi 1 0) + export TF_SET_ANDROID_WORKSPACE=0 + + if use python; then + python_export PYTHON_SITEDIR + export PYTHON_BIN_PATH="${PYTHON}" + export PYTHON_LIB_PATH="${PYTHON_SITEDIR}" + else + export PYTHON_BIN_PATH="$(which python)" + export PYTHON_LIB_PATH="$(python -c 'from distutils.sysconfig import *; print(get_python_lib())')" + fi + + export TF_NEED_CUDA=$(usex cuda 1 0) + export TF_DOWNLOAD_CLANG=0 + export TF_CUDA_CLANG=0 + export TF_NEED_TENSORRT=0 + if use cuda; then + export TF_CUDA_PATHS="${EPREFIX%/}/opt/cuda" + export GCC_HOST_COMPILER_PATH="$(cuda_gccdir)/$(tc-getCC)" + export TF_CUDA_VERSION="$(cuda_toolkit_version)" + export TF_CUDNN_VERSION="$(cuda_cudnn_version)" + einfo "Setting CUDA version: $TF_CUDA_VERSION" + einfo "Setting CUDNN version: $TF_CUDNN_VERSION" + fi + + local SYSLIBS=( + absl_py + astor_archive + boringssl + com_github_googleapis_googleapis + com_github_googlecloudplatform_google_cloud_cpp + com_google_protobuf + com_google_protobuf_cc + com_googlesource_code_re2 + curl + cython + double_conversion + enum34_archive + flatbuffers + gast_archive + gif_archive + grpc + hwloc + icu + jpeg + jsoncpp_git + keras_applications_archive + lmdb + nasm + nsync + org_sqlite + pasta + pcre + png_archive + protobuf_archive + six_archive + snappy + swig + termcolor_archive + wrapt + zlib_archive + ) + + export TF_SYSTEM_LIBS="${SYSLIBS[@]}" + export TF_IGNORE_MAX_BAZEL_VERSION=1 + + # This is not autoconf + ./configure || die + + echo 'build --config=noaws --config=nohdfs --config=noignite --config=nokafka' >> .bazelrc || die + echo 'build --define tensorflow_mkldnn_contraction_kernel=0' >> .bazelrc || die + echo 'build --incompatible_no_support_tools_in_action_inputs=false' >> .bazelrc || die + } + if use python; then + python_foreach_impl run_in_build_dir do_configure + else + do_configure + fi +} + +src_compile() { + export JAVA_HOME=$(java-config --jre-home) # so keepwork works + + if use python; then + python_setup + BUILD_DIR="${S}-${EPYTHON/./_}" + cd "${BUILD_DIR}" + fi + + # fail early if any deps are missing + ebazel build --nobuild \ + //tensorflow:libtensorflow_framework.so \ + //tensorflow:libtensorflow.so \ + //tensorflow:libtensorflow_cc.so \ + $(usex python '//tensorflow/tools/pip_package:build_pip_package' '') + + ebazel build \ + //tensorflow:libtensorflow_framework.so \ + //tensorflow:libtensorflow.so + ebazel build //tensorflow:libtensorflow_cc.so + + do_compile() { + ebazel build //tensorflow/tools/pip_package:build_pip_package + } + BUILD_DIR="${S}" + cd "${BUILD_DIR}" + use python && python_foreach_impl run_in_build_dir do_compile + ebazel shutdown +} + +src_install() { + local i j + export JAVA_HOME=$(java-config --jre-home) # so keepwork works + + do_install() { + einfo "Installing ${EPYTHON} files" + local srcdir="${T}/src-${MULTIBUILD_VARIANT}" + mkdir -p "${srcdir}" || die + bazel-bin/tensorflow/tools/pip_package/build_pip_package --src "${srcdir}" || die + cd "${srcdir}" || die + esetup.py install + + # libtensorflow_framework.so is in /usr/lib already + python_export PYTHON_SITEDIR PYTHON_SCRIPTDIR + rm -f "${D}/${PYTHON_SITEDIR}"/${PN}/lib${PN}_framework.so* || die + python_optimize + } + + if use python; then + python_foreach_impl run_in_build_dir do_install + + # Symlink to python-exec scripts + for i in "${ED}"/usr/lib/python-exec/*/*; do + n="${i##*/}" + [[ -e "${ED}/usr/bin/${n}" ]] || dosym ../lib/python-exec/python-exec2 "/usr/bin/${n}" + done + + python_setup + local BUILD_DIR="${S}-${EPYTHON/./_}" + cd "${BUILD_DIR}" || die + fi + + einfo "Installing headers" + ebazel build //tensorflow:install_headers + ebazel shutdown + insinto /usr/include/${PN}/ + doins -r bazel-genfiles/tensorflow/include/* + + einfo "Installing libs" + # Generate pkg-config file + ${PN}/c/generate-pc.sh --prefix="${EPREFIX}"/usr --libdir=$(get_libdir) --version=${MY_PV} || die + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc ${PN}_cc.pc + + for l in libtensorflow{,_framework,_cc}.so; do + dolib.so bazel-bin/tensorflow/${l} + dolib.so bazel-bin/tensorflow/${l}.$(ver_cut 1) + dolib.so bazel-bin/tensorflow/${l}.$(ver_cut 1-3) + done + + einstalldocs +} diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest index 3177be830de3..d2d8a576c575 100644 --- a/sci-libs/vtk/Manifest +++ b/sci-libs/vtk/Manifest @@ -7,23 +7,14 @@ AUX vtk-6.1.0-memset.patch 5216 BLAKE2B 301ac84c0e439c14228665c8230d3f843c919b0a AUX vtk-6.1.0-netcdf.patch 994 BLAKE2B 9b24685987b2a76f32cbe7c107f5c5ac580ca7d6616d959caeedc2b3ac0699b9f1b5b79a26fc1cc61818c3712fb40d9246dea2c3bb221e0fbc5db5a61707406d SHA512 0f0b3493270efbf33a13abb7f38637473d48d15efe793f7148c13f5aeb77ac5534340d42f87451cd81ed2d7cce4ca6da9a71e065a7780e84f30a710d7368b488 AUX vtk-6.1.0-system.patch 1307 BLAKE2B f89f7e4946c94a907ef7b74c1ca1e35106ece486c944f932b6d19febe2ecb08aee6cd11719a121b3a47a978969724aff2d16c2212151bf6fd50cb7c19ab22957 SHA512 1fae8aecaf2344b5517e9b29ea2cb8b834af8a22be88535ec8bf9ec624625ea3f2ca820945a3d3f7c896ca080a7ded59ca7a601c50f970e59c3a8db691f060b3 AUX vtk-6.1.0-web.patch 776 BLAKE2B e92d3abb96161f0d955c3c653ce67a2427538fcabcb3b492449d086ec35b545c693231fa9bbb02f27ca96395bcd4c73e6741318625ad23c5105fa3fc8cfbf671 SHA512 5489096a0a4e5854cd426a75a0713f53a5c0daab7a9069c249b65d4a34cc8ff18737267f16ee8fbb2a07b7e987525b93e1eec5a23f78ac1b3f893c5847761bc5 -AUX vtk-7.0.0-glext.patch 393 BLAKE2B 416612e5a587378287d99c447a30703c66aabd8ad07cea83a984bd7b5feaa0f619e152d70a4c514b9e31a85a9e57693884918047e25609d5cca394e623929045 SHA512 67fcdbf128ea3bc32dbc5ea8de350fcb3e8447a90a7cb23501658d624703623c1d67c31e8783607fa995e8ac666075cbf00417c702a9a4a357e933b8e2153d64 DIST VTK-6.1.0.tar.gz 27608882 BLAKE2B 10cef62e2fc3bf7109f7b3e9858721850243a7798fe885c6a584dba9a6f74c526c58b009f2cba6c56512a6ec159dbf29ac965f9ae6533128f3a20e7224bdddc0 SHA512 3ab922166502348e5cdd68e14dbf4717c0405c9d8881c04aa8be8f95d8516af39cd02aaca5171c6de8af1b462ca386399b7a87a843ec62999f0f32c11788a2dc -DIST VTK-7.1.0.tar.gz 31171521 BLAKE2B e607aa8437b4b4546cf3be5fa1fd771d07e2c0e5f85faeeb4585aae139fc40564939ccd3ec5efd4e63711789de300cf70edede46bfb54228bf6ea783d9dec39b SHA512 83f0c9291cd2bc517a4bc449ad28a1d77e7ece169e846c7beab0b1140b9ef4b7bad30e3fa6e5a59826a707df78e2e336e07fa8bd30cf7498096ee80feef16534 DIST VTK-8.1.0.tar.gz 33482506 BLAKE2B 82aecb497847254595f20294120ae793432348fc3fd881924b52c004335d9bae3d052f168bbe291b307af67845a80e740d8996d36991c38fbec7213438e2395d SHA512 3d5efd1a18939e21045278a387817421a98919cbaaa6ed65167c16999e1bb882b849b698d201a294da9920dbc96d1fbc987013462b1c7cbb12920bfff9b6f2a3 DIST VTKData-6.1.0.tar.gz 94452190 BLAKE2B 55e1af454f1c54c0a182552c41e08549781532b510bf29cb28fcd12510c1cef2c4e09274507d658b700f22d0da1961d7b4e6dc289d9ee39c6b1e1fac348ba153 SHA512 4e23cc3de3b81a852458849f2bd4dfe2e84e9df4f77f5f0d4ac249b04a7f74144a483a91876bd748bb90685d1943071e9b36fce8dd618376621bc37e63365e65 -DIST VTKData-7.1.0.tar.gz 249106922 BLAKE2B 01505bd5e01c790d40be6966c6261de4eba2ec36b515580112b3291f894c9d2e361f31d20bb14faf40f125b82e5ea6a1b0002acbb598c79f11d541e0fe5de4df SHA512 8f78fdce36fc683c8b8b7137a02fd727f322ceecce66f20a4b1b3f8d260e8e894c1ec1ed46eb2427e501239f12b02b1476ca3a302fa1f9287584110598972f9e DIST VTKData-8.1.0.tar.gz 282986441 BLAKE2B 885f35c5386cc5db8db905a868a3ad79c246f1b0e41a3e5b81312b1f3de90483a1e34886d4764c60fe8006acaace2405b25acf047ec0e25a957f7a2d563d3380 SHA512 0a63f87896320aa38970932bf47c9e3f65a8bdd5413e51f95c53e321348b5b4e1eca2405d755eabb785c03939e1936245cc9f1b0f7ad0988c41362ac6f1e3047 DIST VTKLargeData-6.1.0.tar.gz 166019220 BLAKE2B 94180c9fd73655cbc08914a2309925d40ac2c99ce8652a7db37bb3ddc3b9dd654e8286be97a764c9029a6de21ae847f1f2c46c07ec974e5da802f23a7d277836 SHA512 3663a124c16448882ad3aef0fb15f55f438863ba2176106803ad9c6fb561325accd74f2675d8b6e1de791babfa8b992e516d87640efedda4a6daeb5affc2cf3f -DIST VTKLargeData-7.1.0.tar.gz 166680011 BLAKE2B 6b630d13a7cf22909f2fd42a89eccfe2ae79c16ec46b99229f349ff47d20e38cf22b9b63803087d319d43915fce116d2874e450c439727dde5a795d003cd1c4a SHA512 79d058732932837f2873a14850e18375d6a43f07de7cf4b71570ae32cf7abb7651052378ff9cbd1e221c95f78e46c13c9852425a509ae02c826f5345e836e455 DIST VTKLargeData-8.1.0.tar.gz 166992034 BLAKE2B ac98861ccac2aacfab7547a4b56de5c9e611b8655f077bb85e6ab850fb0cfd79f4722a0486f73eafcde2cd77d6be305201857f3e729b1f60f710c45bcf0bb63f SHA512 9dfd64b5125205ba7d8cba5665da40874d0a9781f3bd2595058d939207d96980c9a68009ce9ed1476931e1b929199c4888ccf6d590f23d2412873ca6907abc31 DIST vtkDocHtml-6.1.0.tar.gz 230827905 BLAKE2B a323728450c5054d715dac137e54ed9b901019af595ea3abca9e7865d0b420d7b5f87789a9489df116f982633984d74721153dc3ab735e97455f64c2ffc4aa95 SHA512 fcae74a65157d87b39a162facdecbb0ab0a9b95b9f2555ed2b15d635b82034bfc62181eea441caf0b1edbe036b792a8231d409908b943398ce7f662c149d3a60 -DIST vtkDocHtml-7.1.0.tar.gz 128927849 BLAKE2B 93ad088ec0578bf8008a789f71d7d70eff13899ab216af1499c88870189fe53c426fd23fea5f1c0ff5e8cfd9ec5c6fe03ad2b691edf88d0fbf55b7593778b3fd SHA512 cac6d005262d3849f84c2632dd737c4dcd9f23d5015266d683bcc8c65fad0d88e87faf9b1d5f68fdabe7b2ed97927a9f907020cbeae2b6e7223a5ffee54f2679 DIST vtkDocHtml-8.1.0.tar.gz 132655967 BLAKE2B a27d9631fa9fe42e9b8076aa3b33e03b3835db0f348ed60cfdc866ffe7accd9c5d99b6525523113a4d628253e28d6d9121e78942d89b6ee281d5e7ecee7c289e SHA512 c49338ad2c121ab16098195e5a1f2c9539137a85ae5edaa64d4a887ece0c64efb8840162942f47b70ab2d82d341bba2e706a6ff007fe6bdfbce12ad92bca883c EBUILD vtk-6.1.0-r4.ebuild 10480 BLAKE2B 72dc967f163fed46bcbe7dc0a2b4de89840c95134a5b89522ed2d8962873a4ee54d7e2a0a9dc9814f003e3aa5d206e39ec77b799690b7ba8af1fec5d874cef48 SHA512 b299bee838d2fac4b44d56039856a326388186bac7d7c154bc4b144db66df1c04b9c74db3039f6e2ff8d3b25714a3e37d097e47a573b4a1851be09acbe161794 -EBUILD vtk-7.1.0.ebuild 9296 BLAKE2B 0fd4cb6ff13fe68d9a39bd686a18477fc0f8daad711910135448aacc96e06820251921263dc9517f400454fbdbda26ad5dc9633e98557b2246fe6e8658495537 SHA512 622eabfbb2a4b2c80a6254b09779f05b9354082402f3fead1010767c660b86c0e94413026a27bd06ea8eb7a07bea14d747db3bec51d9b5bf6ccb669d660d937f -EBUILD vtk-8.1.0-r1.ebuild 9027 BLAKE2B 45d5ef5b8177e418424135b9ee70af8e4d681731584a595bb4108cdff1e8f3fe29f0293bd668fba67967dfcd4e9b7e26ae51e3dea92e72ed0bc7d4589c82597c SHA512 36a149ad672f38d48f767c4381bb04bc4054edd76776430d3157f034f4faf58ddaed43675c712e1d4787ae01f05ed8c2b64988dfb30392a43faeb6c37416d115 -EBUILD vtk-8.1.0-r2.ebuild 9037 BLAKE2B 8f8f89c3d158b826591eb07fe0250c16d0ba9dca9ea11011254152ac37b15bb840a815eb1bcb7b8a7c92524eb12f44d56a5ca16d91ca47b0d2797fa6e43db214 SHA512 5e0285464d4a41370a9e6586f9fb57fa6a1bebc2785f996c9a48d4066022f05103a7f233570cb729a79052a6684c51e682229376afab359b2c56bdbe52ad0a33 EBUILD vtk-8.1.0-r3.ebuild 9057 BLAKE2B e5329bd6ed31f37152614d1e4773ed62a0eb92e9bfdecd0695dc57ebbf5c6cce9d0e5ab27a793774acabe9a9b9c4170ec579ccdf75fcbdc02e6666eafee2b6b2 SHA512 db6b2eea35c79c1ece9a0ce00dd5e9863eb3b312fd90101da5b7d216dcff2a365445d4f91fccdf49f176dfc626652a05da396c270dd27251db74b1cf69f08238 -EBUILD vtk-8.1.0.ebuild 9214 BLAKE2B 4705a1ba19eee614686234bb3297f70104fd1b050f51bfd3c16f2c01cc33f745d2fdcf70331dc060852923da8f319cbc554c9296e76d6a742215e3c31990b77d SHA512 34a8ab6760d0b3fbb25dbf9d2c4a9eb5507b7de777bcce509b8d80e92131290d31b747921a1cd0905001b4657c6eba68f6497b024f2ff70cecaa7bdacaccb11a MISC metadata.xml 1120 BLAKE2B 17456da598e4b7dfddec75a323def586e3b099ddfaa2e5883410afdd9143d317a6db53ead747b097cf8631f738d6a0b38a1e27ea37b445ba667a403053223e02 SHA512 d0d9ccd1922afe496e24d38fee05793fdf3983f798bef817a00c77bb632f2cabe3d2be554d0e979c223fd4005f3186b9ef78d394050539bd21cba5c2b6e56143 diff --git a/sci-libs/vtk/files/vtk-7.0.0-glext.patch b/sci-libs/vtk/files/vtk-7.0.0-glext.patch deleted file mode 100644 index 5c321340ed6a..000000000000 --- a/sci-libs/vtk/files/vtk-7.0.0-glext.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Rendering/OpenGL/vtkOpenGL.h -+++ b/Rendering/OpenGL/vtkOpenGL.h -@@ -19,7 +19,8 @@ - #include "vtkConfigure.h" - - // To prevent gl.h to include glext.h provided by the system --#define GL_GLEXT_LEGACY -+// https://bugzilla.redhat.com/show_bug.cgi?id=1138466 -+// #define GL_GLEXT_LEGACY - #if defined(__APPLE__) && defined(VTK_USE_COCOA) - # include <OpenGL/gl.h> // Include OpenGL API. - #else diff --git a/sci-libs/vtk/vtk-7.1.0.ebuild b/sci-libs/vtk/vtk-7.1.0.ebuild deleted file mode 100644 index 7d06c7c1ccb3..000000000000 --- a/sci-libs/vtk/vtk-7.1.0.ebuild +++ /dev/null @@ -1,353 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils versionator toolchain-funcs cmake-utils virtualx webapp - -# Short package version -SPV="$(get_version_component_range 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) - test? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz - ) - " - -LICENSE="BSD LGPL-2" -KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE=" - all-modules aqua boost doc examples imaging ffmpeg gdal java json kaapi mpi - mysql odbc offscreen postgres python qt5 rendering tbb test theora tk tcl - video_cards_nvidia views web R +X xdmf2" - -REQUIRED_USE=" - all-modules? ( python xdmf2 boost ) - java? ( qt5 ) - python? ( ${PYTHON_REQUIRED_USE} ) - tcl? ( rendering ) - test? ( python ) - tk? ( tcl ) - web? ( python ) - ^^ ( X aqua offscreen ) - " - -RDEPEND=" - dev-libs/expat - dev-libs/jsoncpp:= - dev-libs/libxml2:2 - >=media-libs/freetype-2.5.4 - media-libs/libpng:0= - media-libs/libtheora - media-libs/mesa - media-libs/tiff:0 - sci-libs/exodusii - sci-libs/hdf5:= - sci-libs/netcdf-cxx:3 - sys-libs/zlib - virtual/jpeg:0 - virtual/opengl - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - boost? ( dev-libs/boost:=[mpi?] ) - examples? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - sci-libs/vtkdata - ) - ffmpeg? ( virtual/ffmpeg ) - gdal? ( sci-libs/gdal ) - java? ( >=virtual/jdk-1.7:* ) - kaapi? ( <sci-libs/xkaapi-3 ) - mpi? ( - virtual/mpi[cxx,romio] - python? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - offscreen? ( media-libs/mesa[osmesa] ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] - ) - qt5? ( - dev-qt/designer:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsql:5 - dev-qt/qtwebkit:5 - dev-qt/qtx11extras:5 - python? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) - ) - R? ( dev-lang/R ) - tbb? ( dev-cpp/tbb ) - tcl? ( dev-lang/tcl:0= ) - tk? ( dev-lang/tk:0= ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - web? ( - ${WEBAPP_DEPEND} - dev-python/six[${PYTHON_USEDEP}] - dev-python/autobahn[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] - ) - xdmf2? ( sci-libs/xdmf2 ) -" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) -" - -S="${WORKDIR}"/VTK-${PV} - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.0-glext.patch - "${FILESDIR}"/${PN}-6.1.0-memset.patch -) - -RESTRICT="test" - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -src_prepare() { - sed \ - -e 's:libproj4:libproj:g' \ - -e 's:lib_proj.h:lib_abi.h:g' \ - -i CMake/FindLIBPROJ4.cmake || die - - local x - # missing: VPIC alglib exodusII freerange ftgl libproj4 mrmpi sqlite utf8 verdict xmdf2 xmdf3 - for x in expat freetype hdf5 jpeg jsoncpp libxml2 netcdf oggtheora png tiff zlib; do - ebegin "Dropping bundled ${x}" - rm -r ThirdParty/${x}/vtk${x} || die - eend $? - done - rm -r \ - ThirdParty/AutobahnPython/autobahn \ - ThirdParty/Twisted/twisted \ - ThirdParty/ZopeInterface/zope \ - || die - - cmake-utils_src_prepare -} - -src_configure() { - # general configuration - local mycmakeargs=( - -Wno-dev - -DVTK_DIR="${S}" - -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" - -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" - -DVTK_CUSTOM_LIBRARY_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DVTK_USE_SYSTEM_AUTOBAHN=ON - -DVTK_USE_SYSTEM_EXPAT=ON - -DVTK_USE_SYSTEM_FREETYPE=ON - -DVTK_USE_SYSTEM_FreeType=ON - # Use bundled gl2ps (bundled version is a patched version of 1.3.9. Post 1.3.9 versions should be compatible) - -DVTK_USE_SYSTEM_GL2PS=OFF - -DVTK_USE_SYSTEM_HDF5=ON - -DVTK_USE_SYSTEM_JPEG=ON - -DVTK_USE_SYSTEM_LIBPROJ4=OFF - -DVTK_USE_SYSTEM_LIBXML2=ON - -DVTK_USE_SYSTEM_LibXml2=ON - -DVTK_USE_SYSTEM_NETCDF=ON - -DVTK_USE_SYSTEM_OGGTHEORA=ON - -DVTK_USE_SYSTEM_PNG=ON - -DVTK_USE_SYSTEM_TIFF=ON - -DVTK_USE_SYSTEM_TWISTED=ON - -DVTK_USE_SYSTEM_XDMF2=OFF - -DVTK_USE_SYSTEM_XDMF3=OFF - -DVTK_USE_SYSTEM_ZLIB=ON - -DVTK_USE_SYSTEM_ZOPE=ON - -DVTK_USE_SYSTEM_LIBRARIES=ON - # Use bundled diy2 (no gentoo package / upstream does not provide a Finddiy2.cmake or diy2Config.cmake / diy2-config.cmake) - -DVTK_USE_SYSTEM_DIY2=OFF - -DVTK_USE_GL2PS=ON - -DVTK_USE_LARGE_DATA=ON - -DVTK_USE_PARALLEL=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_Group_StandAlone=ON - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_VTK_BUILD_ALL_MODULES_FOR_TESTS=$(usex test) - -DVTK_BUILD_ALL_MODULES=$(usex all-modules) - -DUSE_DOCUMENTATION_HTML_HELP=$(usex doc) - -DVTK_Group_Imaging=$(usex imaging) - -DVTK_Group_MPI=$(usex mpi) - -DVTK_Group_Rendering=$(usex rendering) - -DVTK_Group_Tk=$(usex tk) - -DVTK_Group_Views=$(usex views) - -DVTK_Group_Web=$(usex web) - -DVTK_WWW_DIR="${ED%/}/${MY_HTDOCSDIR}" - -DVTK_WRAP_JAVA=$(usex java) - -DVTK_WRAP_PYTHON=$(usex python) - -DVTK_WRAP_PYTHON_SIP=$(usex python) - -DVTK_WRAP_TCL=$(usex tcl) - -DVTK_USE_BOOST=$(usex boost) - -DUSE_VTK_USE_BOOST=$(usex boost) - -DModule_vtkInfovisBoost=$(usex boost) - -DModule_vtkInfovisBoostGraphAlgorithms=$(usex boost) - -DVTK_USE_ODBC=$(usex odbc) - -DModule_vtkIOODBC=$(usex odbc) - -DVTK_USE_OFFSCREEN=$(usex offscreen) - -DVTK_OPENGL_HAS_OSMESA=$(usex offscreen) - -DVTK_USE_OGGTHEORA_ENCODER=$(usex theora) - -DVTK_USE_NVCONTROL=$(usex video_cards_nvidia) - -DModule_vtkFiltersStatisticsGnuR=$(usex R) - -DVTK_USE_X=$(usex X) - # IO - -DVTK_USE_FFMPEG_ENCODER=$(usex ffmpeg) - -DModule_vtkIOGDAL=$(usex gdal) - -DModule_vtkIOGeoJSON=$(usex json) - -DModule_vtkIOXdmf2=$(usex xdmf2) - # Apple stuff, does it really work? - -DVTK_USE_COCOA=$(usex aqua) - ) - - if use examples || use test; then - mycmakeargs+=( -DBUILD_TESTING=ON ) - fi - - if use java; then - local javacargs=$(java-pkg_javac-args) - mycmakeargs+=( -DJAVAC_OPTIONS=${javacargs// /;} ) - fi - - if use kaapi; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Kaapi" ) - elif use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - if use python; then - mycmakeargs+=( - -DVTK_INSTALL_PYTHON_MODULE_DIR="$(python_get_sitedir)" - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip" - -DSIP_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_LIBRARY="$(python_get_library_path)" - -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}" - -DVTK_USE_SYSTEM_SIX=ON - ) - fi - - if use qt5; then - mycmakeargs+=( - -DVTK_USE_QVTK=ON - -DVTK_USE_QVTK_OPENGL=ON - -DVTK_USE_QVTK_QTOPENGL=ON - -DQT_WRAP_CPP=ON - -DQT_WRAP_UI=ON - -DVTK_INSTALL_QT_DIR="$(qt5_get_libdir)/qt5/plugins/designer" - -DDESIRED_QT_VERSION=5 - -DVTK_QT_VERSION=5 - -DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc" - -DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic" - -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt5" - -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake" - -DVTK_Group_Qt:BOOL=ON - ) - fi - - if use R; then - mycmakeargs+=( - -DR_LIBRARY_BLAS=/usr/$(get_libdir)/R/lib/libR.so - -DR_LIBRARY_LAPACK=/usr/$(get_libdir)/R/lib/libR.so - ) - fi - - append-cppflags -D__STDC_CONSTANT_MACROS -D_UNICODE - - use java && export JAVA_HOME="${EPREFIX}/etc/java-config-2/current-system-vm" - - if use mpi; then - export CC=mpicc - export CXX=mpicxx - export FC=mpif90 - export F90=mpif90 - export F77=mpif77 - fi - - cmake-utils_src_configure -} - -src_test() { - local tcllib - ln -sf "${BUILD_DIR}"/lib "${BUILD_DIR}"/lib/Release || die - for tcllib in "${BUILD_DIR}"/lib/lib*TCL*so; do - ln -sf ${tcllib##*/}.1 "${tcllib/.so/-${SPV}.so}" || die - done - export LD_LIBRARY_PATH="${BUILD_DIR}"/lib:"${JAVA_HOME}"/jre/lib/${ARCH}/:"${JAVA_HOME}"/jre/lib/${ARCH}/xawt/ - virtx cmake-utils_src_test -} - -src_install() { - use web && webapp_src_preinst - - cmake-utils_src_install - - use java && java-pkg_regjar "${ED%/}"/usr/$(get_libdir)/${PN}.jar - - if use tcl; then - # install Tcl docs - docinto vtk_tcl - dodoc Wrapping/Tcl/README - docinto . - fi - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - #install big docs - if use doc; then - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - einfo "Installing API docs. This may take some time." - dodoc -r "${WORKDIR}"/html - fi - - # environment - cat >> "${T}"/40${PN} <<- EOF || die - VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} - VTKHOME=${EPREFIX}/usr - EOF - doenvd "${T}"/40${PN} - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/vtk/vtk-8.1.0-r1.ebuild b/sci-libs/vtk/vtk-8.1.0-r1.ebuild deleted file mode 100644 index 6524c600faba..000000000000 --- a/sci-libs/vtk/vtk-8.1.0-r1.ebuild +++ /dev/null @@ -1,332 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils versionator toolchain-funcs cmake-utils virtualx webapp - -# Short package version -SPV="$(get_version_component_range 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) - examples? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz - )" - -LICENSE="BSD LGPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE=" - all-modules aqua boost doc examples imaging ffmpeg gdal java json kaapi mpi - mysql odbc offscreen postgres python qt5 rendering tbb theora tk tcl - video_cards_nvidia views web R +X xdmf2" - -REQUIRED_USE=" - all-modules? ( python xdmf2 boost ) - java? ( qt5 ) - python? ( ${PYTHON_REQUIRED_USE} ) - tcl? ( rendering ) - examples? ( python ) - tk? ( tcl ) - web? ( python ) - ^^ ( X aqua offscreen )" - -RDEPEND=" - app-arch/lz4 - dev-libs/expat - dev-libs/jsoncpp:= - dev-libs/libxml2:2 - >=media-libs/freetype-2.5.4 - >=media-libs/libharu-2.3.0-r2 - media-libs/libpng:0= - media-libs/libtheora - media-libs/mesa - media-libs/tiff:0 - sci-libs/exodusii - sci-libs/hdf5:= - sci-libs/netcdf-cxx:3 - sys-libs/zlib - virtual/jpeg:0 - virtual/opengl - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - boost? ( dev-libs/boost:=[mpi?] ) - examples? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - ) - ffmpeg? ( virtual/ffmpeg ) - gdal? ( sci-libs/gdal ) - java? ( >=virtual/jdk-1.7:* ) - kaapi? ( <sci-libs/xkaapi-3 ) - mpi? ( - virtual/mpi[cxx,romio] - python? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - offscreen? ( media-libs/mesa[osmesa] ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] - ) - qt5? ( - dev-qt/designer:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsql:5 - dev-qt/qtwebkit:5 - dev-qt/qtx11extras:5 - python? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) - ) - R? ( dev-lang/R ) - tbb? ( dev-cpp/tbb ) - tcl? ( dev-lang/tcl:0= ) - tk? ( dev-lang/tk:0= ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - web? ( - ${WEBAPP_DEPEND} - dev-python/autobahn[${PYTHON_USEDEP}] - dev-python/constantly[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/txaio[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] - ) - xdmf2? ( sci-libs/xdmf2 )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/VTK-${PV} - -RESTRICT="test" - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -src_prepare() { - local x - # missing: VPIC freerange libproj4 mrmpi sqlite utf8 verdict xmdf2 xmdf3 - for x in constantly expat freetype hdf5 hyperlink incremental jpeg jsoncpp libharu libxml2 lz4 netcdf oggtheora png tiff Twisted txaio zlib ZopeInterface; do - ebegin "Dropping bundled ${x}" - rm -r ThirdParty/${x}/vtk${x} || die - eend $? - done - rm -r \ - ThirdParty/AutobahnPython/vtkAutobahn \ - || die - - if use doc; then - einfo "Removing .md5 files from documents." - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" \ - -i Utilities/Doxygen/CMakeLists.txt || die - fi - - cmake-utils_src_prepare -} - -src_configure() { - # general configuration - local mycmakeargs=( - -Wno-dev - -DVTK_DIR="${S}" - -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" - -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" - -DVTK_CUSTOM_LIBRARY_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DVTK_USE_SYSTEM_AUTOBAHN=ON - -DVTK_USE_SYSTEM_EXPAT=ON - -DVTK_USE_SYSTEM_FREETYPE=ON - -DVTK_USE_SYSTEM_FreeType=ON - # Use bundled gl2ps (bundled version is a patched version of 1.3.9. Post 1.3.9 versions should be compatible) - -DVTK_USE_SYSTEM_GL2PS=OFF - -DVTK_USE_SYSTEM_HDF5=ON - -DVTK_USE_SYSTEM_JPEG=ON - -DVTK_USE_SYSTEM_LIBPROJ4=OFF - -DVTK_USE_SYSTEM_LIBXML2=ON - -DVTK_USE_SYSTEM_LibXml2=ON - -DVTK_USE_SYSTEM_NETCDF=ON - -DVTK_USE_SYSTEM_OGGTHEORA=ON - -DVTK_USE_SYSTEM_PNG=ON - -DVTK_USE_SYSTEM_TIFF=ON - -DVTK_USE_SYSTEM_TWISTED=ON - -DVTK_USE_SYSTEM_XDMF2=OFF - -DVTK_USE_SYSTEM_XDMF3=OFF - -DVTK_USE_SYSTEM_ZLIB=ON - -DVTK_USE_SYSTEM_ZOPE=ON - -DVTK_USE_SYSTEM_LIBRARIES=ON - # Use bundled diy2 (no gentoo package / upstream does not provide a Finddiy2.cmake or diy2Config.cmake / diy2-config.cmake) - -DVTK_USE_SYSTEM_DIY2=OFF - -DVTK_USE_GL2PS=ON - -DVTK_USE_LARGE_DATA=ON - -DVTK_USE_PARALLEL=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_Group_StandAlone=ON - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_VTK_BUILD_ALL_MODULES_FOR_TESTS=off - -DVTK_BUILD_ALL_MODULES=$(usex all-modules) - -DUSE_DOCUMENTATION_HTML_HELP=$(usex doc) - -DVTK_Group_Imaging=$(usex imaging) - -DVTK_Group_MPI=$(usex mpi) - -DVTK_Group_Rendering=$(usex rendering) - -DVTK_Group_Tk=$(usex tk) - -DVTK_Group_Views=$(usex views) - -DVTK_Group_Web=$(usex web) - -DVTK_WWW_DIR="${ED%/}/${MY_HTDOCSDIR}" - -DVTK_WRAP_JAVA=$(usex java) - -DVTK_WRAP_PYTHON=$(usex python) - -DVTK_WRAP_PYTHON_SIP=$(usex python) - -DVTK_WRAP_TCL=$(usex tcl) - -DVTK_USE_BOOST=$(usex boost) - -DUSE_VTK_USE_BOOST=$(usex boost) - -DModule_vtkInfovisBoost=$(usex boost) - -DModule_vtkInfovisBoostGraphAlgorithms=$(usex boost) - -DVTK_USE_ODBC=$(usex odbc) - -DModule_vtkIOODBC=$(usex odbc) - -DVTK_USE_OFFSCREEN=$(usex offscreen) - -DVTK_OPENGL_HAS_OSMESA=$(usex offscreen) - -DVTK_USE_OGGTHEORA_ENCODER=$(usex theora) - -DVTK_USE_NVCONTROL=$(usex video_cards_nvidia) - -DModule_vtkFiltersStatisticsGnuR=$(usex R) - -DVTK_USE_X=$(usex X) - # IO - -DVTK_USE_FFMPEG_ENCODER=$(usex ffmpeg) - -DModule_vtkIOGDAL=$(usex gdal) - -DModule_vtkIOGeoJSON=$(usex json) - -DModule_vtkIOXdmf2=$(usex xdmf2) - -DBUILD_TESTING=$(usex examples) - # Apple stuff, does it really work? - -DVTK_USE_COCOA=$(usex aqua) - ) - - if use java; then - local javacargs=$(java-pkg_javac-args) - mycmakeargs+=( -DJAVAC_OPTIONS=${javacargs// /;} ) - fi - - if use kaapi; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Kaapi" ) - elif use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - if use python; then - mycmakeargs+=( - -DVTK_INSTALL_PYTHON_MODULE_DIR="$(python_get_sitedir)" - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip" - -DSIP_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_LIBRARY="$(python_get_library_path)" - -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}" - -DVTK_USE_SYSTEM_SIX=ON - ) - fi - - if use qt5; then - mycmakeargs+=( - -DVTK_USE_QVTK=ON - -DVTK_USE_QVTK_OPENGL=ON - -DVTK_USE_QVTK_QTOPENGL=ON - -DQT_WRAP_CPP=ON - -DQT_WRAP_UI=ON - -DVTK_INSTALL_QT_DIR="$(qt5_get_libdir)/qt5/plugins/designer" - -DDESIRED_QT_VERSION=5 - -DVTK_QT_VERSION=5 - -DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc" - -DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic" - -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt5" - -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake" - -DVTK_Group_Qt:BOOL=ON - ) - fi - - if use R; then - mycmakeargs+=( - -DR_LIBRARY_BLAS=/usr/$(get_libdir)/R/lib/libR.so - -DR_LIBRARY_LAPACK=/usr/$(get_libdir)/R/lib/libR.so - ) - fi - - append-cppflags -D__STDC_CONSTANT_MACROS -D_UNICODE - - use java && export JAVA_HOME="${EPREFIX}/etc/java-config-2/current-system-vm" - - if use mpi; then - export CC=mpicc - export CXX=mpicxx - export FC=mpif90 - export F90=mpif90 - export F77=mpif77 - fi - - cmake-utils_src_configure -} - -src_install() { - use web && webapp_src_preinst - - cmake-utils_src_install - - use java && java-pkg_regjar "${ED%/}"/usr/$(get_libdir)/${PN}.jar - - # Stop web page images from being compressed - use doc && docompress -x /usr/share/doc/${PF}/doxygen - - if use tcl; then - # install Tcl docs - docinto vtk_tcl - dodoc Wrapping/Tcl/README - docinto . - fi - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - # environment - cat >> "${T}"/40${PN} <<- EOF || die - VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} - VTKHOME=${EPREFIX}/usr - EOF - doenvd "${T}"/40${PN} - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/vtk/vtk-8.1.0-r2.ebuild b/sci-libs/vtk/vtk-8.1.0-r2.ebuild deleted file mode 100644 index 7cad42c1018f..000000000000 --- a/sci-libs/vtk/vtk-8.1.0-r2.ebuild +++ /dev/null @@ -1,332 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils versionator toolchain-funcs cmake-utils virtualx webapp - -# Short package version -SPV="$(get_version_component_range 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) - examples? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz - )" - -LICENSE="BSD LGPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE=" - all-modules aqua boost doc examples imaging ffmpeg gdal java json kaapi mpi - mysql odbc offscreen postgres python qt5 rendering tbb theora tk tcl - video_cards_nvidia views web R +X xdmf2" - -REQUIRED_USE=" - all-modules? ( python xdmf2 boost ) - java? ( qt5 ) - python? ( ${PYTHON_REQUIRED_USE} ) - tcl? ( rendering ) - examples? ( python ) - tk? ( tcl ) - web? ( python ) - ^^ ( X aqua offscreen )" - -RDEPEND=" - app-arch/lz4 - dev-libs/expat - dev-libs/jsoncpp:= - dev-libs/libxml2:2 - >=media-libs/freetype-2.5.4 - >=media-libs/libharu-2.3.0-r2 - media-libs/libpng:0= - media-libs/libtheora - media-libs/mesa - media-libs/tiff:0 - sci-libs/exodusii - sci-libs/hdf5:= - sci-libs/netcdf-cxx:3 - sys-libs/zlib - virtual/jpeg:0 - virtual/opengl - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - boost? ( dev-libs/boost:=[mpi?] ) - examples? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - ) - ffmpeg? ( virtual/ffmpeg ) - gdal? ( sci-libs/gdal ) - java? ( >=virtual/jdk-1.7:* ) - kaapi? ( <sci-libs/xkaapi-3 ) - mpi? ( - virtual/mpi[cxx,romio] - python? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - offscreen? ( media-libs/mesa[osmesa] ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] - ) - qt5? ( - dev-qt/designer:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsql:5 - dev-qt/qtwebkit:5 - dev-qt/qtx11extras:5 - python? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) - ) - R? ( dev-lang/R ) - tbb? ( dev-cpp/tbb ) - tcl? ( dev-lang/tcl:0= ) - tk? ( dev-lang/tk:0= ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - web? ( - ${WEBAPP_DEPEND} - dev-python/autobahn[${PYTHON_USEDEP}] - dev-python/constantly[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/txaio[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] - ) - xdmf2? ( sci-libs/xdmf2 )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/VTK-${PV} - -RESTRICT="test" - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -src_prepare() { - local x - # missing: VPIC freerange libproj4 mrmpi sqlite utf8 verdict xmdf2 xmdf3 - for x in constantly expat freetype hdf5 hyperlink incremental jpeg jsoncpp libharu libxml2 lz4 netcdf oggtheora png tiff Twisted txaio zlib ZopeInterface; do - ebegin "Dropping bundled ${x}" - rm -r ThirdParty/${x}/vtk${x} || die - eend $? - done - rm -r \ - ThirdParty/AutobahnPython/vtkAutobahn \ - || die - - if use doc; then - einfo "Removing .md5 files from documents." - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" \ - -i Utilities/Doxygen/CMakeLists.txt || die - fi - - cmake-utils_src_prepare -} - -src_configure() { - # general configuration - local mycmakeargs=( - -Wno-dev - -DVTK_DIR="${S}" - -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" - -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" - -DVTK_CUSTOM_LIBRARY_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DVTK_USE_SYSTEM_AUTOBAHN=ON - -DVTK_USE_SYSTEM_EXPAT=ON - -DVTK_USE_SYSTEM_FREETYPE=ON - -DVTK_USE_SYSTEM_FreeType=ON - # Use bundled gl2ps (bundled version is a patched version of 1.3.9. Post 1.3.9 versions should be compatible) - -DVTK_USE_SYSTEM_GL2PS=OFF - -DVTK_USE_SYSTEM_HDF5=ON - -DVTK_USE_SYSTEM_JPEG=ON - -DVTK_USE_SYSTEM_LIBPROJ4=OFF - -DVTK_USE_SYSTEM_LIBXML2=ON - -DVTK_USE_SYSTEM_LibXml2=ON - -DVTK_USE_SYSTEM_NETCDF=ON - -DVTK_USE_SYSTEM_OGGTHEORA=ON - -DVTK_USE_SYSTEM_PNG=ON - -DVTK_USE_SYSTEM_TIFF=ON - -DVTK_USE_SYSTEM_TWISTED=ON - -DVTK_USE_SYSTEM_XDMF2=OFF - -DVTK_USE_SYSTEM_XDMF3=OFF - -DVTK_USE_SYSTEM_ZLIB=ON - -DVTK_USE_SYSTEM_ZOPE=ON - -DVTK_USE_SYSTEM_LIBRARIES=ON - # Use bundled diy2 (no gentoo package / upstream does not provide a Finddiy2.cmake or diy2Config.cmake / diy2-config.cmake) - -DVTK_USE_SYSTEM_DIY2=OFF - -DVTK_USE_GL2PS=ON - -DVTK_USE_LARGE_DATA=ON - -DVTK_USE_PARALLEL=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_Group_StandAlone=ON - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_VTK_BUILD_ALL_MODULES_FOR_TESTS=off - -DVTK_BUILD_ALL_MODULES=$(usex all-modules) - -DUSE_DOCUMENTATION_HTML_HELP=$(usex doc) - -DVTK_Group_Imaging=$(usex imaging) - -DVTK_Group_MPI=$(usex mpi) - -DVTK_Group_Rendering=$(usex rendering) - -DVTK_Group_Tk=$(usex tk) - -DVTK_Group_Views=$(usex views) - -DVTK_Group_Web=$(usex web) - -DVTK_WWW_DIR="${ED%/}/${MY_HTDOCSDIR}" - -DVTK_WRAP_JAVA=$(usex java) - -DVTK_WRAP_PYTHON=$(usex python) - -DVTK_WRAP_PYTHON_SIP=$(usex python) - -DVTK_WRAP_TCL=$(usex tcl) - -DVTK_USE_BOOST=$(usex boost) - -DUSE_VTK_USE_BOOST=$(usex boost) - -DModule_vtkInfovisBoost=$(usex boost) - -DModule_vtkInfovisBoostGraphAlgorithms=$(usex boost) - -DVTK_USE_ODBC=$(usex odbc) - -DModule_vtkIOODBC=$(usex odbc) - -DVTK_USE_OFFSCREEN=$(usex offscreen) - -DVTK_OPENGL_HAS_OSMESA=$(usex offscreen) - -DVTK_USE_OGGTHEORA_ENCODER=$(usex theora) - -DVTK_USE_NVCONTROL=$(usex video_cards_nvidia) - -DModule_vtkFiltersStatisticsGnuR=$(usex R) - -DVTK_USE_X=$(usex X) - # IO - -DVTK_USE_FFMPEG_ENCODER=$(usex ffmpeg) - -DModule_vtkIOGDAL=$(usex gdal) - -DModule_vtkIOGeoJSON=$(usex json) - -DModule_vtkIOXdmf2=$(usex xdmf2) - -DBUILD_TESTING=$(usex examples) - # Apple stuff, does it really work? - -DVTK_USE_COCOA=$(usex aqua) - ) - - if use java; then - local javacargs=$(java-pkg_javac-args) - mycmakeargs+=( -DJAVAC_OPTIONS=${javacargs// /;} ) - fi - - if use kaapi; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Kaapi" ) - elif use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - if use python; then - mycmakeargs+=( - -DVTK_INSTALL_PYTHON_MODULE_DIR="$(python_get_sitedir)" - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip" - -DSIP_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_LIBRARY="$(python_get_library_path)" - -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}" - -DVTK_USE_SYSTEM_SIX=ON - ) - fi - - if use qt5; then - mycmakeargs+=( - -DVTK_USE_QVTK=ON - -DVTK_USE_QVTK_OPENGL=ON - -DVTK_USE_QVTK_QTOPENGL=ON - -DQT_WRAP_CPP=ON - -DQT_WRAP_UI=ON - -DVTK_INSTALL_QT_DIR="$(qt5_get_libdir)/qt5/plugins/designer" - -DDESIRED_QT_VERSION=5 - -DVTK_QT_VERSION=5 - -DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc" - -DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic" - -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt5" - -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake" - -DVTK_Group_Qt:BOOL=ON - ) - fi - - if use R; then - mycmakeargs+=( - -DR_LIBRARY_BLAS=/usr/$(get_libdir)/R/lib/libR.so - -DR_LIBRARY_LAPACK=/usr/$(get_libdir)/R/lib/libR.so - ) - fi - - append-cppflags -D__STDC_CONSTANT_MACROS -D_UNICODE - - use java && export JAVA_HOME="${EPREFIX}/etc/java-config-2/current-system-vm" - - if use mpi; then - export CC=mpicc - export CXX=mpicxx - export FC=mpif90 - export F90=mpif90 - export F77=mpif77 - fi - - cmake-utils_src_configure -} - -src_install() { - use web && webapp_src_preinst - - cmake-utils_src_install - - use java && java-pkg_regjar "${ED%/}"/usr/$(get_libdir)/${PN}.jar - - # Stop web page images from being compressed - use doc && docompress -x /usr/share/doc/${PF}/doxygen - - if use tcl; then - # install Tcl docs - docinto vtk_tcl - dodoc Wrapping/Tcl/README - docinto . - fi - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - # environment - cat >> "${T}"/40${PN} <<- EOF || die - VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} - VTKHOME=${EPREFIX}/usr - EOF - doenvd "${T}"/40${PN} - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/vtk/vtk-8.1.0.ebuild b/sci-libs/vtk/vtk-8.1.0.ebuild deleted file mode 100644 index 6604f443bb3c..000000000000 --- a/sci-libs/vtk/vtk-8.1.0.ebuild +++ /dev/null @@ -1,339 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils versionator toolchain-funcs cmake-utils virtualx webapp - -# Short package version -SPV="$(get_version_component_range 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) - examples? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz - )" - -LICENSE="BSD LGPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE=" - all-modules aqua boost doc examples imaging ffmpeg gdal java json kaapi mpi - mysql odbc offscreen postgres python qt5 rendering tbb theora tk tcl - video_cards_nvidia views web R +X xdmf2" - -REQUIRED_USE=" - all-modules? ( python xdmf2 boost ) - java? ( qt5 ) - python? ( ${PYTHON_REQUIRED_USE} ) - tcl? ( rendering ) - examples? ( python ) - tk? ( tcl ) - web? ( python ) - ^^ ( X aqua offscreen )" - -RDEPEND=" - app-arch/lz4 - dev-libs/expat - dev-libs/jsoncpp:= - dev-libs/libxml2:2 - >=media-libs/freetype-2.5.4 - >=media-libs/libharu-2.3.0-r2 - media-libs/libpng:0= - media-libs/libtheora - media-libs/mesa - media-libs/tiff:0 - sci-libs/exodusii - sci-libs/hdf5:= - sci-libs/netcdf-cxx:3 - sys-libs/zlib - virtual/jpeg:0 - virtual/opengl - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - boost? ( dev-libs/boost:=[mpi?] ) - examples? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - ) - ffmpeg? ( virtual/ffmpeg ) - gdal? ( sci-libs/gdal ) - java? ( >=virtual/jdk-1.7:* ) - kaapi? ( <sci-libs/xkaapi-3 ) - mpi? ( - virtual/mpi[cxx,romio] - python? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - offscreen? ( media-libs/mesa[osmesa] ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] - ) - qt5? ( - dev-qt/designer:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsql:5 - dev-qt/qtwebkit:5 - dev-qt/qtx11extras:5 - python? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) - ) - R? ( dev-lang/R ) - tbb? ( dev-cpp/tbb ) - tcl? ( dev-lang/tcl:0= ) - tk? ( dev-lang/tk:0= ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - web? ( - ${WEBAPP_DEPEND} - dev-python/autobahn[${PYTHON_USEDEP}] - dev-python/constantly[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/txaio[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] - ) - xdmf2? ( sci-libs/xdmf2 )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/VTK-${PV} - -RESTRICT="test" - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -src_prepare() { - local x - # missing: VPIC freerange libproj4 mrmpi sqlite utf8 verdict xmdf2 xmdf3 - for x in constantly expat freetype hdf5 hyperlink incremental jpeg jsoncpp libharu libxml2 lz4 netcdf oggtheora png tiff Twisted txaio zlib ZopeInterface; do - ebegin "Dropping bundled ${x}" - rm -r ThirdParty/${x}/vtk${x} || die - eend $? - done - rm -r \ - ThirdParty/AutobahnPython/vtkAutobahn \ - || die - - cmake-utils_src_prepare -} - -src_configure() { - # general configuration - local mycmakeargs=( - -Wno-dev - -DVTK_DIR="${S}" - -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" - -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" - -DVTK_CUSTOM_LIBRARY_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DVTK_USE_SYSTEM_AUTOBAHN=ON - -DVTK_USE_SYSTEM_EXPAT=ON - -DVTK_USE_SYSTEM_FREETYPE=ON - -DVTK_USE_SYSTEM_FreeType=ON - # Use bundled gl2ps (bundled version is a patched version of 1.3.9. Post 1.3.9 versions should be compatible) - -DVTK_USE_SYSTEM_GL2PS=OFF - -DVTK_USE_SYSTEM_HDF5=ON - -DVTK_USE_SYSTEM_JPEG=ON - -DVTK_USE_SYSTEM_LIBPROJ4=OFF - -DVTK_USE_SYSTEM_LIBXML2=ON - -DVTK_USE_SYSTEM_LibXml2=ON - -DVTK_USE_SYSTEM_NETCDF=ON - -DVTK_USE_SYSTEM_OGGTHEORA=ON - -DVTK_USE_SYSTEM_PNG=ON - -DVTK_USE_SYSTEM_TIFF=ON - -DVTK_USE_SYSTEM_TWISTED=ON - -DVTK_USE_SYSTEM_XDMF2=ON - -DVTK_USE_SYSTEM_XDMF3=OFF - -DVTK_USE_SYSTEM_ZLIB=ON - -DVTK_USE_SYSTEM_ZOPE=ON - -DVTK_USE_SYSTEM_LIBRARIES=ON - # Use bundled diy2 (no gentoo package / upstream does not provide a Finddiy2.cmake or diy2Config.cmake / diy2-config.cmake) - -DVTK_USE_SYSTEM_DIY2=OFF - -DVTK_USE_GL2PS=ON - -DVTK_USE_LARGE_DATA=ON - -DVTK_USE_PARALLEL=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_Group_StandAlone=ON - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_VTK_BUILD_ALL_MODULES_FOR_TESTS=off - -DVTK_BUILD_ALL_MODULES=$(usex all-modules) - -DUSE_DOCUMENTATION_HTML_HELP=$(usex doc) - -DVTK_Group_Imaging=$(usex imaging) - -DVTK_Group_MPI=$(usex mpi) - -DVTK_Group_Rendering=$(usex rendering) - -DVTK_Group_Tk=$(usex tk) - -DVTK_Group_Views=$(usex views) - -DVTK_Group_Web=$(usex web) - -DVTK_WWW_DIR="${ED%/}/${MY_HTDOCSDIR}" - -DVTK_WRAP_JAVA=$(usex java) - -DVTK_WRAP_PYTHON=$(usex python) - -DVTK_WRAP_PYTHON_SIP=$(usex python) - -DVTK_WRAP_TCL=$(usex tcl) - -DVTK_USE_BOOST=$(usex boost) - -DUSE_VTK_USE_BOOST=$(usex boost) - -DModule_vtkInfovisBoost=$(usex boost) - -DModule_vtkInfovisBoostGraphAlgorithms=$(usex boost) - -DVTK_USE_ODBC=$(usex odbc) - -DModule_vtkIOODBC=$(usex odbc) - -DVTK_USE_OFFSCREEN=$(usex offscreen) - -DVTK_OPENGL_HAS_OSMESA=$(usex offscreen) - -DVTK_USE_OGGTHEORA_ENCODER=$(usex theora) - -DVTK_USE_NVCONTROL=$(usex video_cards_nvidia) - -DModule_vtkFiltersStatisticsGnuR=$(usex R) - -DVTK_USE_X=$(usex X) - # IO - -DVTK_USE_FFMPEG_ENCODER=$(usex ffmpeg) - -DModule_vtkIOGDAL=$(usex gdal) - -DModule_vtkIOGeoJSON=$(usex json) - -DModule_vtkIOXdmf2=$(usex xdmf2) - -DBUILD_TESTING=$(usex examples) - # Apple stuff, does it really work? - -DVTK_USE_COCOA=$(usex aqua) - ) - - if use java; then - local javacargs=$(java-pkg_javac-args) - mycmakeargs+=( -DJAVAC_OPTIONS=${javacargs// /;} ) - fi - - if use kaapi; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Kaapi" ) - elif use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - if use python; then - mycmakeargs+=( - -DVTK_INSTALL_PYTHON_MODULE_DIR="$(python_get_sitedir)" - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip" - -DSIP_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DVTK_PYTHON_LIBRARY="$(python_get_library_path)" - -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}" - -DVTK_USE_SYSTEM_SIX=ON - ) - fi - - if use qt5; then - mycmakeargs+=( - -DVTK_USE_QVTK=ON - -DVTK_USE_QVTK_OPENGL=ON - -DVTK_USE_QVTK_QTOPENGL=ON - -DQT_WRAP_CPP=ON - -DQT_WRAP_UI=ON - -DVTK_INSTALL_QT_DIR="$(qt5_get_libdir)/qt5/plugins/designer" - -DDESIRED_QT_VERSION=5 - -DVTK_QT_VERSION=5 - -DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc" - -DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic" - -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt5" - -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake" - -DVTK_Group_Qt:BOOL=ON - ) - fi - - if use R; then - mycmakeargs+=( - -DR_LIBRARY_BLAS=/usr/$(get_libdir)/R/lib/libR.so - -DR_LIBRARY_LAPACK=/usr/$(get_libdir)/R/lib/libR.so - ) - fi - - append-cppflags -D__STDC_CONSTANT_MACROS -D_UNICODE - - use java && export JAVA_HOME="${EPREFIX}/etc/java-config-2/current-system-vm" - - if use mpi; then - export CC=mpicc - export CXX=mpicxx - export FC=mpif90 - export F90=mpif90 - export F77=mpif77 - fi - - cmake-utils_src_configure -} - -src_test() { - local tcllib - ln -sf "${BUILD_DIR}"/lib "${BUILD_DIR}"/lib/Release || die - for tcllib in "${BUILD_DIR}"/lib/lib*TCL*so; do - ln -sf ${tcllib##*/}.1 "${tcllib/.so/-${SPV}.so}" || die - done - export LD_LIBRARY_PATH="${BUILD_DIR}"/lib:"${JAVA_HOME}"/jre/lib/${ARCH}/:"${JAVA_HOME}"/jre/lib/${ARCH}/xawt/ - virtx cmake-utils_src_test -} - -src_install() { - use web && webapp_src_preinst - - cmake-utils_src_install - - use java && java-pkg_regjar "${ED%/}"/usr/$(get_libdir)/${PN}.jar - - if use tcl; then - # install Tcl docs - docinto vtk_tcl - dodoc Wrapping/Tcl/README - docinto . - fi - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - #install big docs - if use doc; then - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - einfo "Installing API docs. This may take some time." - dodoc -r "${WORKDIR}"/html - fi - - # environment - cat >> "${T}"/40${PN} <<- EOF || die - VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} - VTKHOME=${EPREFIX}/usr - EOF - doenvd "${T}"/40${PN} - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/vtkdata/Manifest b/sci-libs/vtkdata/Manifest index b9c042c46e7a..d416f78c1d79 100644 --- a/sci-libs/vtkdata/Manifest +++ b/sci-libs/vtkdata/Manifest @@ -1,5 +1,3 @@ DIST VTKData-6.1.0.tar.gz 94452190 BLAKE2B 55e1af454f1c54c0a182552c41e08549781532b510bf29cb28fcd12510c1cef2c4e09274507d658b700f22d0da1961d7b4e6dc289d9ee39c6b1e1fac348ba153 SHA512 4e23cc3de3b81a852458849f2bd4dfe2e84e9df4f77f5f0d4ac249b04a7f74144a483a91876bd748bb90685d1943071e9b36fce8dd618376621bc37e63365e65 -DIST vtkdata-6.0.0.tar.gz 99106820 BLAKE2B 977d61f4d902af810db78b1c1a63cedbfd1bae9a23b4c85f011fc0826cf3f30c64b9458b5349358cde454a14decdcceea62ba6dfcfe672e32c2f8c78a2ad41e3 SHA512 b76eb8389047de1b74c585b8a3064d499758886f8e44063cb0d73fdc29b1a7cfbb1926bca869ccfbfaada3cffbb74a78a01fa081fd230002af7c4d79aa8a90af -EBUILD vtkdata-6.0.0.ebuild 521 BLAKE2B 1bf40720161d151eb26f415565e4f311626a87d7d477b6762f9ba09e047540e40945ad1254f30ba9ea6138ce8b3483aba0e5978f9ad40b8ddd4b5f5328464f1f SHA512 5e4ce75c254122d75ebdf7ba7a599086cc55f7a078071265ac2bbaed61d27971179acc3cd003a3bce0a2ef1ade53ca6580ce95f2c00b93e9d8a215e5f37355ed EBUILD vtkdata-6.1.0.ebuild 542 BLAKE2B cd9321447c214da62fa6a81a98e8a55d1eee94a88336d88abfa0a0f66565df3de3abdea11dbee8118d273d985098e7bcffc1b704d0c377a7a20060df7a4c269e SHA512 8ea22e90926556f19c95aa684c2aebc053dc155f4c81d813341f11bc0fac2317138de84ee01788f4f151a1cf04cba58eb1fdd682f2dbb6d23e69c49f1aa8bca0 MISC metadata.xml 259 BLAKE2B dfc879984b6adce945d0e0a50f6ede2bca87147b9db99491359cdeccc2e74a20d56e14ae8903dbb80c94854f89bee539f14a4e3ce864204e277accf3f124a748 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 diff --git a/sci-libs/vtkdata/vtkdata-6.0.0.ebuild b/sci-libs/vtkdata/vtkdata-6.0.0.ebuild deleted file mode 100644 index 0ecf958ee161..000000000000 --- a/sci-libs/vtkdata/vtkdata-6.0.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit versionator - -DESCRIPTION="Example data file for VTK" -HOMEPAGE="http://www.vtk.org" -SRC_URI="http://www.vtk.org/files/release/$(get_version_component_range 1-2)/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RESTRICT="binchecks strip" - -RDEPEND="!<sci-libs/vtk-6" - -S="${WORKDIR}"/VTKDATA${PV} - -src_install() { - insinto /usr/share/vtk/data - doins -r * -} |