commit 6be6692ea9ca1311286540498767e43fbba8c5d1
parent f9a491955a030a2ad910d23c6559cf60d6f08c00
Author: parazyd <parazyd@dyne.org>
Date: Sun, 7 Mar 2021 14:27:00 +0100
dev-python/androguard: Add 3.4.0a1
Diffstat:
5 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/dev-python/androguard/Manifest b/dev-python/androguard/Manifest
@@ -0,0 +1 @@
+DIST androguard-3.4.0a1.tar.gz 863031 BLAKE2B 27566b325cfda2cf7bd7564a7642d43db85864f845312c1971c6d013d632819a0ed11f9ca1a2670934a5e580166f95d4175bb87899f736b442cd646a8832e41c SHA512 e00d961983b7b8cee4a04b51e4ff8cb63198b93e69a1d4ab04e75963b59076ba2d350b7549d0e7e9b7d21fc2f54957e8b4b9bd268b7d3cf206e5e3f73467febe
diff --git a/dev-python/androguard/androguard-3.4.0.ebuild b/dev-python/androguard/androguard-3.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="Androguard is a full python tool to play with Android files."
+HOMEPAGE="https://github.com/androguard/androguard https://pypi.org/project/androguard/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}a1.tar.gz"
+
+S="${WORKDIR}/${P}a1"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/requirements.patch" )
+
+DEPEND="
+ >=dev-python/networkx-2.2[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.3.0[${PYTHON_USEDEP}]
+ >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}]
+ >=dev-python/matplotlib-3.0.2[${PYTHON_USEDEP}]
+ >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/click-7.0[${PYTHON_USEDEP}]
+ >=dev-python/pydot-1.4.1[${PYTHON_USEDEP}]
+ >=dev-python/ipython-5.0.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
diff --git a/dev-python/androguard/files/requirements.patch b/dev-python/androguard/files/requirements.patch
@@ -0,0 +1,16 @@
+diff --git a/requirements.txt b/requirements.txt
+new file mode 100644
+index 0000000..31832c3
+--- /dev/null
++++ b/requirements.txt
+@@ -0,0 +1,9 @@
++networkx>=2.2
++pygments>=2.3.1
++lxml>=4.3.0
++colorama>=0.4.1
++matplotlib>=3.0.2
++asn1crypto>=0.24.0
++click>=7.0
++pydot>=1.4.1
++ipython>=5.0.0
+\ No newline at end of file
diff --git a/dev-python/androguard/metadata.xml b/dev-python/androguard/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>python@gentoo.org</email>
+</maintainer>
+<maintainer type="person">
+<email>parazyd@dyne.org</email>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
diff --git a/dev-util/quark-engine/quark-engine-21.2.2.ebuild b/dev-util/quark-engine/quark-engine-21.2.2.ebuild
@@ -24,6 +24,7 @@ DEPEND="
>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
dev-python/graphviz[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
+ >=dev-python/androguard-3.4.0[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
dev-vcs/git