From 9b7fa83bbf0fde3d0fa23ea0ecd521c62a71ddb1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 19 Nov 2021 13:25:09 +0000 Subject: dev-python/pytables: disable use of bundled libraries Signed-off-by: Sam James --- dev-python/pytables/pytables-3.6.1-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/pytables') 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 -- cgit v1.2.3-65-gdbad