commit:     2df28e8d64090ca1c3d9b0ca75c0d12d4025e622
Author:     Yuyi Wang <Strawberry_Str <AT> hotmail <DOT> com>
AuthorDate: Thu Jun  9 09:23:00 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 12:45:18 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2df28e8d

sci-libs/HDF5Plugin-Zstandard: avoid changing env

This patch syncs with gentoo/gentoo@8e16e74. As the default plugin
directory is set to the right value, we don't need to specify the
HDF5_PLUGIN_PATH environment variable.

This will make our environment clear and less hacky.

Closes: https://github.com/gentoo/sci/pull/1146
Signed-off-by: Yuyi Wang <Strawberry_Str <AT> hotmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../HDF5Plugin-Zstandard-0_pre20201121.ebuild                     | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git 
a/sci-libs/HDF5Plugin-Zstandard/HDF5Plugin-Zstandard-0_pre20201121.ebuild 
b/sci-libs/HDF5Plugin-Zstandard/HDF5Plugin-Zstandard-0_pre20201121.ebuild
index ab1a155c3..a74996b46 100644
--- a/sci-libs/HDF5Plugin-Zstandard/HDF5Plugin-Zstandard-0_pre20201121.ebuild
+++ b/sci-libs/HDF5Plugin-Zstandard/HDF5Plugin-Zstandard-0_pre20201121.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="app-arch/zstd sci-libs/hdf5"
+DEPEND="app-arch/zstd >=sci-libs/hdf5-1.12.2-r2"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}-${COMMIT}
@@ -25,9 +25,3 @@ src_configure() {
        )
        cmake_src_configure
 }
-
-src_install() {
-       echo "HDF5_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/hdf5/plugin" >> 
99h5zstd || die
-       doenvd 99h5zstd
-       cmake_src_install
-}

Reply via email to