commit:     9b7fa83bbf0fde3d0fa23ea0ecd521c62a71ddb1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 13:25:09 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 13:32:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7fa83b

dev-python/pytables: disable use of bundled libraries

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pytables/pytables-3.6.1-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild 
b/dev-python/pytables/pytables-3.6.1-r1.ebuild
index ffa7d9a37680..594f1e68b4fc 100644
--- a/dev-python/pytables/pytables-3.6.1-r1.ebuild
+++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild
@@ -37,6 +37,7 @@ RDEPEND="${DEPEND}
        dev-python/six[${PYTHON_USEDEP}]"
 BDEPEND="
        >=dev-python/cython-0.21[${PYTHON_USEDEP}]
+       virtual/pkgconfig
        test? (
                dev-python/mock[${PYTHON_USEDEP}]
                ${RDEPEND}
@@ -51,7 +52,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
-       export HDF5_DIR="${EPREFIX}"/usr
+       export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr
+       export PYTABLES_NO_EMBEDDED_LIBS=1
+       export USE_PKGCONFIG=TRUE
+
        rm tables/*.c || die
        sed -e "s:/usr:${EPREFIX}/usr:g" \
                -i setup.py || die

Reply via email to