apkid-3.0.0.ebuild

This commit is contained in:
Anton Bolshakov 2025-07-03 15:02:51 +08:00
parent 7fe0bcd36b
commit eb83ebf2ab
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 5 additions and 45 deletions

View file

@ -1,3 +1,2 @@
DIST apkid-2.1.3.tar.gz 55588 BLAKE2B 5db03e23d24ffba141609ec2ef2f9215784b7446606addb819829625afbe91e338aadf23d1977e13d891d8d20111bb827d8909074d912b737f91a94261cfe1fa SHA512 384fc1b4ccb4563106479774afc31ad45565bb3d78572c427e3190593dbc9c136cd4c2efe221a8a381560d0703f35a647b54176a6ea4bcd56c14ccf2ed14dbcb
DIST apkid-2.1.4.tar.gz 63232 BLAKE2B 834174af6da2b6e60e0eb0a08ac0bb3615313ec0d146768cc77325709d1e9117e3f330f9e6708cef7469f95656f251c4a7a3a64f6f5e821b9711901c3ab49a4b SHA512 21a2cbde26c178207d946f60934362049692665de46686a576bec487c1597bdd23fa9760fe163620679f32886324234e8ed0fad90e320c119e33a49fe949fe08
DIST apkid-2.1.5.tar.gz 70193 BLAKE2B 789ef4c05d813732c8addb7c7b8227d8a22cf97eb4cecb8d54232adbbc870d59b4aca316247e28ca3317d1abcf5084486bf98d9f9ebe6bd433d5ceb13de90f26 SHA512 05b43889439b8209b74893778a7d2961f771b6c10e5c2826f3f1442049269bc011dc5a373c114b0887fbdf697422e771ba91503458c92c0591e2aac046891268
DIST apkid-3.0.0.tar.gz 70193 BLAKE2B 789ef4c05d813732c8addb7c7b8227d8a22cf97eb4cecb8d54232adbbc870d59b4aca316247e28ca3317d1abcf5084486bf98d9f9ebe6bd433d5ceb13de90f26 SHA512 05b43889439b8209b74893778a7d2961f771b6c10e5c2826f3f1442049269bc011dc5a373c114b0887fbdf697422e771ba91503458c92c0591e2aac046891268

View file

@ -1,35 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Android Package Protector Identifier"
HOMEPAGE="https://github.com/rednaga/APKiD/"
#Use github to download a version with ./prep-release.py script which compiles yara rules
HASH_COMMIT="a50ee3b4a42a3e1a284af9eafa79e41ee80bc59f"
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND="${PYTHON_DEPS}
dev-python/yara-python[${PYTHON_USEDEP}]
app-forensics/yara:=[dex]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
src_prepare(){
#we compile dex
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die
./prep-release.py
default
}

View file

@ -13,11 +13,11 @@ HOMEPAGE="https://github.com/rednaga/APKiD/"
#Use github to download a version with ./prep-release.py script which compiles yara rules
HASH_COMMIT="009241dad0ea25a9ad64e0c90eda9ad8e2c77032"
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND="${PYTHON_DEPS}
@ -25,8 +25,6 @@ RDEPEND="${PYTHON_DEPS}
app-forensics/yara:=[dex]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
src_prepare(){
#we compile dex
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die

View file

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -11,13 +11,13 @@ inherit distutils-r1
DESCRIPTION="Android Package Protector Identifier"
HOMEPAGE="https://github.com/rednaga/APKiD/"
#Use github to download a version with ./prep-release.py script which compiles yara rules
HASH_COMMIT="f40e22e73f51615bbaedbc2c8c75a749c1a45d9b"
HASH_COMMIT="009241dad0ea25a9ad64e0c90eda9ad8e2c77032"
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND="${PYTHON_DEPS}
@ -25,8 +25,6 @@ RDEPEND="${PYTHON_DEPS}
app-forensics/yara:=[dex]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
src_prepare(){
#we compile dex
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die