Package Details: python-androguard 4.1.1-1

Git Clone URL: https://aur.archlinux.org/python-androguard.git (read-only, click to copy)
Package Base: python-androguard
Description: Python framework for Android application analysis.
Upstream URL: https://github.com/androguard/androguard/
Licenses: Apache
Submitter: fordprefect
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 7
Popularity: 0.030035
First Submitted: 2020-08-19 16:43 (UTC)
Last Updated: 2024-03-15 09:20 (UTC)

Latest Comments

« First ‹ Previous 1 2

aorth commented on 2023-05-04 11:29 (UTC)

Needs rebuild for Python 3.11, which entered Arch yesterday.

fauno commented on 2022-01-08 13:26 (UTC)

While upgrading fdroidserver I noticed this new dependency installed 190MB of Python packages, so I made them optional by checking androguard's code.

From e9f735eaa2a43aaa2153c6073eb9a1d0a6817168 Mon Sep 17 00:00:00 2001
From: fauno <fauno@endefensadelsl.org>
Date: Sat, 8 Jan 2022 10:24:28 -0300
Subject: [PATCH] Make bigger dependencies optional

---
 PKGBUILD | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 96ac2d7..cfd4940 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,14 @@ pkgdesc="Python framework for Android application analysis."
 arch=("any")
 url="https://github.com/androguard/androguard/"
 license=("Apache")
-depends=("python" "python-setuptools" "ipython" "python-future" "python-networkx" "python-pygments" "python-lxml" "python-colorama" "python-matplotlib" "python-asn1crypto" "python-click" "python-pydot")
+depends=("python" "python-future" "python-pygments" "python-lxml" "python-colorama" "python-asn1crypto" "python-click")
+makedepends=("python-setuptools")
+optdepends=(
+  "python-networkx: plotting"
+  "python-matplotlib: plotting"
+  "ipython: interactive shell"
+  "python-pydot: graphing"
+)
 options=(!emptydirs)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/androguard/androguard/archive/v${pkgver}.tar.gz")
 md5sums=('903bd3b46cdd677757227edbd652a455')
-- 
2.34.1

fordprefect commented on 2020-08-19 16:45 (UTC)

@bubullc: thank you for the reminder. I dropped the py2 version and will file a deletion request, since it is obsolete now.

BubuIIC commented on 2020-08-19 15:46 (UTC)

Can confirm what @xdavidwu said, this doesn't build due to makepjg not automatically installing the python-build dependencies.

Also I don't really want to install all the python2 stuff anyway when I just want to build the python3 version but that is a separate problem :-/

xdavidwu commented on 2020-02-25 07:44 (UTC)

You should make all splited dependencies listed in makedepends, as PKGBUILD(5) noted:

Note that makepkg does not consider split package depends when checking if dependencies are installed before package building and with --syncdeps. All packages required to make the package are required to be specified in the global depends and makedepends arrays.

ilpianista commented on 2017-03-11 22:15 (UTC) (edited on 2017-03-11 22:17 (UTC) by ilpianista)

Please why don't you download the archive instead of the full repo? https://github.com/androguard/androguard/archive/v2.0.zip Also, there's no need to use 'v2.0' as pkgver, 2.0 is just fine