commit:     44741cccd1fc47ebcd36704752adfd37738b3c8f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Jul  9 10:37:34 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jul  9 10:37:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44741ccc

app-editors/imhex: revert yara[tcmalloc] dependency

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-editors/imhex/{imhex-1.8.1.ebuild => imhex-1.8.1-r1.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-editors/imhex/imhex-1.8.1.ebuild 
b/app-editors/imhex/imhex-1.8.1-r1.ebuild
similarity index 95%
rename from app-editors/imhex/imhex-1.8.1.ebuild
rename to app-editors/imhex/imhex-1.8.1-r1.ebuild
index 568714161..72849a7cf 100644
--- a/app-editors/imhex/imhex-1.8.1.ebuild
+++ b/app-editors/imhex/imhex-1.8.1-r1.ebuild
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
 
 DEPEND="
        ${PYTHON_DEPS}
-       app-forensics/yara[tcmalloc]
+       app-forensics/yara
        dev-cpp/nlohmann_json
        dev-cpp/xdgpp
        dev-libs/capstone
@@ -56,9 +56,10 @@ src_prepare() {
 }
 
 src_configure() {
-       python_setup
+       python-single-r1_pkg_setup
        local mycmakeargs=(
                -DPROJECT_VERSION="${PV}"
+               -DPYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\""
                -DUSE_SYSTEM_CURL=ON
                -DUSE_SYSTEM_FMT=ON
                -DUSE_SYSTEM_LLVM=ON
@@ -66,6 +67,7 @@ src_configure() {
                -DUSE_SYSTEM_YARA=ON
        )
        cmake_src_configure
+
 }
 
 src_install() {

Reply via email to