mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
apkid-2.1.2.ebuild
This commit is contained in:
parent
08ed7ef19d
commit
d8a67ee27f
2 changed files with 5 additions and 6 deletions
|
|
@ -4,7 +4,7 @@
|
|||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -13,7 +13,6 @@ HOMEPAGE="https://github.com/rednaga/APKiD/"
|
|||
#Use github to download a version with ./prep-release.py script which compiles yara rules
|
||||
HASH_COMMIT="f40e22e73f51615bbaedbc2c8c75a749c1a45d9b"
|
||||
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
|
@ -28,8 +27,8 @@ DEPEND="${RDEPEND}"
|
|||
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
|
||||
|
||||
src_prepare(){
|
||||
#relax yara and regenarate rules for the current version
|
||||
sed "s|yara-python==3.11.0|yara-python>=3.11.0|g" -i setup.py || die
|
||||
#we compile dex
|
||||
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die
|
||||
./prep-release.py
|
||||
default
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue