commit f9a491955a030a2ad910d23c6559cf60d6f08c00
parent 33d9ebfa2c9abf560f1a6d3d591bbfb23137d35d
Author: parazyd <parazyd@dyne.org>
Date: Sun, 7 Mar 2021 13:51:00 +0100
dev-util/quark-engine: Add 21.2.2
Diffstat:
4 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/dev-util/quark-engine/Manifest b/dev-util/quark-engine/Manifest
@@ -0,0 +1 @@
+DIST quark-engine-21.2.2.tar.gz 24449 BLAKE2B 17982ced2958192ac126914f846a293a7b375202181acfa5a2fedc06c53996ea4f0a26dce48b3ffef3cc54e5495e1cabac0f80b042ec5211fdde38fb84edf519 SHA512 6114cf0f8c91d006a40eb3384442de46fe780b5bf21b62c4c9743f56e8417364920cbc404cd26c81a7e68d2629370b55e8fb23e490d75db1385572efdf7aaf34
diff --git a/dev-util/quark-engine/files/disable-tests-package.patch b/dev-util/quark-engine/files/disable-tests-package.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 35644d6..010f91d 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,7 @@ setuptools.setup(
+ long_description=long_description,
+ long_description_content_type="text/markdown",
+ url="https://github.com/quark-engine/quark-engine",
+- packages=setuptools.find_packages(),
++ packages=setuptools.find_packages(exclude=['tests']),
+ entry_points={"console_scripts": ["quark=quark.cli:entry_point",
+ "freshquark=quark.freshquark:entry_point",
+ ]},
diff --git a/dev-util/quark-engine/metadata.xml b/dev-util/quark-engine/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>parazyd@dyne.org</email>
+</maintainer>
+</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
@@ -0,0 +1,31 @@
+# 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="An Obfuscation-Neglect Android Malware Scoring System"
+HOMEPAGE="https://github.com/quark-engine/quark-engine https://pypi.org/project/quark-engine/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PATCHES=( "${FILESDIR}/disable-tests-package.patch" )
+
+DEPEND="
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ dev-python/prettytable[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
+ >=dev-python/click-7.1.2[${PYTHON_USEDEP}]
+ dev-python/graphviz[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ media-gfx/graphviz
+"