aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-04 21:55:56 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-04 21:55:56 +0100
commit5751886ea4425766efee98c3e98e41c07b152444 (patch)
tree735948f439d19b1e2cb4e6070209da9c2ce02342 /sci-libs
parentsci-biology/act-bin: remove nonexistent blocker (diff)
downloadsci-5751886ea4425766efee98c3e98e41c07b152444.tar.gz
sci-5751886ea4425766efee98c3e98e41c07b152444.tar.bz2
sci-5751886ea4425766efee98c3e98e41c07b152444.zip
sci-libs/itk: try to fix doc building
where do they go? currently fails to install with USE="doc" Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/itk/Manifest10
-rw-r--r--sci-libs/itk/itk-5.0.1.ebuild14
-rw-r--r--sci-libs/itk/itk-5.1.0.ebuild19
3 files changed, 21 insertions, 22 deletions
diff --git a/sci-libs/itk/Manifest b/sci-libs/itk/Manifest
index 613ee4a14..2be705868 100644
--- a/sci-libs/itk/Manifest
+++ b/sci-libs/itk/Manifest
@@ -1,10 +1,10 @@
-DIST 0eb202e23ae81be123b1b26cf31a9ba743824700.tar.gz 2409232372 BLAKE2B 7eb1c3ca21558603d3aa915c2a17e9bb656867331dc48e7b514ece50a7eac3d24bdf01c8b0acc703566b598959780d6736b27d1516d932f949e3a5cfe6acd9e0 SHA512 8b451608cb3f75d3ba6a78fd23e79495948c2792a98d831e0f0c93745595df84d3c2a8d76389976f67ac7e7e1f5a44a18d201e51d2ee659cdb708ae28536df8f
-DIST ITKGenericLabelInterpolator-5.0.1.zip 157566 BLAKE2B 7ec0ddb9c8baae79a3cae6694f5b589ffcbf52176f20db8625440c6230be7ad676ac87ce92568e0b61d347f5cd52a16d70c25375b0291c0408f0c581291175e5 SHA512 0783ec5b336bba6f89a1e8ecf92bb9a488f331b839c4ccf6ca11e40e530e4a46232d257a8814b14238695275b48ff57d63600c103c49e9b7895c385f756c533c
-DIST ITKGenericLabelInterpolator-5.1.0.zip 161970 BLAKE2B 1d50413f51a5c66baa93a35d329a491ebd8dc187433d634de734a42087a75652aaf5edaf70f8a061990258848de9de6b3aaec916ce85c10b57b27e8ac68dd068 SHA512 26304168d2dc6f825ba085912c50a179e101da281b3d646109250c5ac9d12f2ad2216f967a81fb12d54ebd55ff7b17a355658282d7c65efb16dafb311fb3fc2c
+DIST ITKGenericLabelInterpolator-5.0.1.tar.gz 136432 BLAKE2B c367d5f29b3b3250f73d3b03b80b50a99607d895ebb83c3613b40ed665bce87b2731b2ecf471a5b77983db1f8894e486404662bb5787056f23de24c8ee897704 SHA512 6044aab4893d6c68c6190c5d81f460ea0dfc4683d33a03a5d56a8a0ae3b767edde530cdc8976e6777237cb1d172f66df044afe11c4cfc9148e5712cf9f3a11fc
+DIST ITKGenericLabelInterpolator-5.1.0.tar.gz 140286 BLAKE2B 1c8efa033586368931d78fe4620ddd1449fcd15153b1585c716bce580df74a6fc990b3714677a81cdcedcd0e4626e4f155c522f6e7306e5be399d521213891b4 SHA512 7bf6310e8b0ea2356ae8ce0ddd0bc3a1516aa6bb5e3e8df9ed0114f1bb2b299d2edd046f27dbae364082afc63e225a3691c794c93d347ee564db617ea3fbf489
DIST ITKGenericLabelInterpolator_test-5.0.1.zip 430662 BLAKE2B f46683bd1b3479ae6fc9ae63752810a1dda7940c67d4be8524edcb8b40ed384b331ac785ab752c3ed1570cce8d79af7de873820fdb76a11f2e4241ad7fd2d2c2 SHA512 435200a70ee8de30cc02b30d805697ebc61fb2792e6e7d8f5da923d2773ccd6adfdcec2ab953a6a043d624ebb01b9f7f30e2aad83a6442272f28104d357a7bde
DIST InsightData-5.0.1.tar.gz 290801718 BLAKE2B dcb7657cb1f8555365b2ec94e7f95c4feab13ba4d585fd70ec240e63e7a55cf48aadf091a63ba2263f1f8c10ce3935812655449bea275af3d2eeff3f2689ef46 SHA512 eb766c115049949937d6527937f1f49ef84304a71dc4924581a53173f45c4e5a0c5a0e180550e75ecd840314609580b9d1fe9b2358c5a87c82a2c6aff8e9f50e
DIST InsightData-5.1.0.tar.gz 292322103 BLAKE2B e55eddf06d72e87e68e7654c634f545923202467b710c75aa929cd040f37a9caa48ee262ca6465631961816af1cd854b9a046ff7e7ffed7731e428e092bc6020 SHA512 458c2959ba5e0745eee23e16ff7178230a7bae94d7dff065b3b38136e238becff96554693e3b2149d2307949c23a6c695c92676f8d44e6f7305dbb8bed48c9fa
DIST InsightToolkit-5.0.1.tar.gz 20627889 BLAKE2B 2bd53f64f18746a7d0226d4d97bc02529a1dd2c05fc2294b0c2a5adb3783a8e766b1d20e051a17f20b4e5855e7c5b4a18d5f177f239113bc64f1a0400ce6f04b SHA512 f36613ff72c513ded3d32504f71308a94fe75555cf9fd22b77485d1375601f6e1f1539cc5ac82a9e1e229bcf514a88ccb55122a7dfc74a6ae1b6604aa70bd814
DIST InsightToolkit-5.1.0.tar.gz 20694338 BLAKE2B 6a14e2e00f6d68a1420cdeebabdef254d23c6ba6610828bb860cf4e27a87f0e1448cd222bf3bc02f6d32b4eb262d7ba032f4459ed05f59f8c95d80907e03571c SHA512 413b6ef549b59d8f507038130446ccb704794c6d0980d8ab631d1b1051cb91f399e77c26b69fab6a1e9b9bb4cc233d49996c3ee735cd4de065993d4379b4ed4c
-DIST a5e11ea71164ff78c65fcf259db01ea5db981a9d868e60045ff2bffca92984df1174bf984a1076e450f0d5d69b4f0191ed1a61465c220e2c91a893b5df150c0a 1014 BLAKE2B 6159b7a44f2058a2a8bd1e655035828a620b62fb6b8ea1bc994c898df6cfffa975e5bbf13c1f709186550e30ffc60375d79334bdf34b7baf955853ff2472014e SHA512 23f6e7437927f1d8170787802644ee1d3e3417504bb08314bec41140b6ecb211e93941e7f3ec9b2e5411c16370007ebba1366a255610164248425080c952f74a
-DIST bcdbb347f3704262d1f00be7179d6a0a6e68aed56c0653e8072ee5a94985c713bd229c935b1226a658af84fb7f1fffc2458c98364fc35303a2303b12f9f7ce2f 1015 BLAKE2B 568bebda6f54aa2da1b7038ac88ce3bdc2e0e99a2917c8d581980854fece743bce8406fca9b4f60f8e62188673595b12f27cf8030e434e674257685ca264c501 SHA512 3d0c429504a646dc6a8d37c2aa8a0d9c9e70be6c8d0e6205a29fb372b00d0a41d4341e126ac1a4982b946c9f0f91aa87b801ec9e5e2c0bd2b42f017c775d095b
+DIST itk-5.1.0-test-a5e11ea71164ff78c65fcf259db01ea5db981a9d868e60045ff2bffca92984df1174bf984a1076e450f0d5d69b4f0191ed1a61465c220e2c91a893b5df150c0a 1014 BLAKE2B e323a0de725e717fddbe70a2e5a20fd5f55af8361caefb1388e3566b80e2496c869e860c9588b2cb579b39bf58a160ce47db454efc656477a40604473780f623 SHA512 aba302ea9921df0af6c9f076850f5923a70ab6c6f6e1450a0dd4bd99f5257641cd8ba9a97c8a84b92f0325295328858785bc6627dab936ac7131de81e1e2d08c
+DIST itk-5.1.0-test-bcdbb347f3704262d1f00be7179d6a0a6e68aed56c0653e8072ee5a94985c713bd229c935b1226a658af84fb7f1fffc2458c98364fc35303a2303b12f9f7ce2f 1015 BLAKE2B 1c2d888c8fa8ce857c3c02a50fe4fda87d51a5ba1f563a9a0bbe331c1b9656fd3cf510b93d91489ec55785dc0e78d4a6e45c694913e4ab8a7c67db1a27eb786a SHA512 9c34d50f36e569a2b50a8fca21ee271b641a3703aa9465cce5e0e0ac3d24d061be4800b8e800d2634511bbd76dff853a2734df3465c7b62a53b8e6b6fd5f3f77
+DIST itk-5.1.0-testingdata.tar.gz 2409232372 BLAKE2B 7eb1c3ca21558603d3aa915c2a17e9bb656867331dc48e7b514ece50a7eac3d24bdf01c8b0acc703566b598959780d6736b27d1516d932f949e3a5cfe6acd9e0 SHA512 8b451608cb3f75d3ba6a78fd23e79495948c2792a98d831e0f0c93745595df84d3c2a8d76389976f67ac7e7e1f5a44a18d201e51d2ee659cdb708ae28536df8f
diff --git a/sci-libs/itk/itk-5.0.1.ebuild b/sci-libs/itk/itk-5.0.1.ebuild
index 707684d8a..d23816f2e 100644
--- a/sci-libs/itk/itk-5.0.1.ebuild
+++ b/sci-libs/itk/itk-5.0.1.ebuild
@@ -16,7 +16,7 @@ DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
HOMEPAGE="http://www.itk.org"
SRC_URI="
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/${MY_P}.tar.gz
- https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/${GLI_HASH}.zip -> ITKGenericLabelInterpolator-${PV}.zip
+ https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/${GLI_HASH}.tar.gz -> ITKGenericLabelInterpolator-${PV}.tar.gz
test? (
https://data.kitware.com/api/v1/folder/${GLI_TEST_HASH}/download -> ITKGenericLabelInterpolator_test-${PV}.zip
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz
@@ -118,6 +118,7 @@ src_configure() {
-DBUILD_TESTING="$(usex test ON OFF)"
-DBUILD_EXAMPLES="$(usex examples ON OFF)"
-DITK_USE_REVIEW="$(usex review ON OFF)"
+ -DITK_BUILD_DOCUMENTATION="$(usex doc ON OFF)"
-DITK_INSTALL_LIBRARY_DIR=$(get_libdir)
)
if use fftw; then
@@ -153,9 +154,9 @@ src_install() {
cmake_src_install
if use examples; then
- insinto /usr/share/doc/${PF}/examples
+ docinto examples
docompress -x /usr/share/doc/${PF}/examples
- doins -r "${S}"/Examples/*
+ dodoc -r "${S}"/Examples/*
fi
echo "ITK_DATA_ROOT=${EROOT}/usr/share/${PN}/data" > ${T}/40${PN}
@@ -168,11 +169,10 @@ src_install() {
doenvd "${T}"/40${PN}
if use doc; then
- insinto /usr/share/doc/${PF}/api-docs
- cd "${WORKDIR}"/html
+ cd "${WORKDIR}"/html || die
rm *.md5 || die "Failed to remove superfluous hashes"
einfo "Installing API docs. This may take some time."
- insinto /usr/share/doc/${PF}/api-docs
- doins -r *
+ docinto /usr/share/doc/${PF}/api-docs
+ dodoc -r *
fi
}
diff --git a/sci-libs/itk/itk-5.1.0.ebuild b/sci-libs/itk/itk-5.1.0.ebuild
index c7d19607a..f5c9cd50d 100644
--- a/sci-libs/itk/itk-5.1.0.ebuild
+++ b/sci-libs/itk/itk-5.1.0.ebuild
@@ -18,17 +18,17 @@ declare -a GLI_TEST_HASHES=(
GLI_TEST_SRC=""
for i in "${GLI_TEST_HASHES[@]}"; do
- GLI_TEST_SRC+="https://data.kitware.com/api/v1/file/hashsum/sha512/${i} -> ${i} "
+ GLI_TEST_SRC+="https://data.kitware.com/api/v1/file/hashsum/sha512/${i} -> ${P}-test-${i} "
done
DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
HOMEPAGE="http://www.itk.org"
SRC_URI="
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/${MY_P}.tar.gz
- https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/${GLI_HASH}.zip -> ITKGenericLabelInterpolator-${PV}.zip
+ https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/${GLI_HASH}.tar.gz -> ITKGenericLabelInterpolator-${PV}.tar.gz
test? (
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz
- https://github.com/InsightSoftwareConsortium/ITKTestingData/archive/${TEST_HASH}.tar.gz
+ https://github.com/InsightSoftwareConsortium/ITKTestingData/archive/${TEST_HASH}.tar.gz -> ${P}-testingdata.tar.gz
${GLI_TEST_SRC}
)
"
@@ -64,7 +64,6 @@ DEPEND="${RDEPEND}
)
doc? ( app-doc/doxygen )
"
-BDEPEND="app-arch/unzip"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -106,6 +105,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DITK_BUILD_DOCUMENTATION="$(usex doc ON OFF)"
-DBUILD_EXAMPLES="$(usex examples ON OFF)"
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING="$(usex test ON OFF)"
@@ -165,9 +165,9 @@ src_install() {
cmake_src_install
if use examples; then
- insinto /usr/share/doc/${PF}/examples
+ docinto examples
docompress -x /usr/share/doc/${PF}/examples
- doins -r "${S}"/Examples/*
+ dodoc -r "${S}"/Examples/*
fi
echo "ITK_DATA_ROOT=${EROOT}/usr/share/${PN}/data" > ${T}/40${PN}
@@ -180,11 +180,10 @@ src_install() {
doenvd "${T}"/40${PN}
if use doc; then
- insinto /usr/share/doc/${PF}/api-docs
- cd "${WORKDIR}"/html
+ cd "${WORKDIR}"/html || die
rm *.md5 || die "Failed to remove superfluous hashes"
einfo "Installing API docs. This may take some time."
- insinto /usr/share/doc/${PF}/api-docs
- doins -r *
+ docinto api-docs
+ dodoc -r *
fi
}