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.036775
First Submitted: 2020-08-19 16:43 (UTC)
Last Updated: 2024-03-15 09:20 (UTC)

Latest Comments

1 2 Next › Last »

Eris commented on 2024-03-06 16:35 (UTC)

@fordperfect: Got it, makes since. Thanks! 👍

fordprefect commented on 2024-03-05 07:38 (UTC)

@Eris: Nope, sorry. Support for AUR helpers should be provided by the developers/maintainers of those tools.

Eris commented on 2024-03-05 07:20 (UTC)

@fordperfect: Hello, I was able to install the latest version of python-androguard using makepkg without any problem. If possible, could you also look into why python-anroguard fails to install with yay? Thanks.

fordprefect commented on 2024-03-04 20:51 (UTC)

@Eris: Thanks for being transparent about aur helper. Please retry with makepkg only. That works for me, and I'd expect it to work for you as well. Please report back when makepkg also fails.

Eris commented on 2024-03-02 21:28 (UTC)

When trying to update this package to the new latest version, it would result in the error ValueError: invalid pyproject.toml config: 'project'. during package(). I am using yay. Here is the error in full:

  dist.fetch_build_eggs(dist.setup_requires)
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
Traceback (most recent call last):
  File "/home/sawyer/.cache/yay/python-androguard/src/androguard-4.1.0/setup.py", line 8, in <module>
    setup(
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 159, in setup
    dist.parse_config_files()
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 627, in parse_config_files
    pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  File "/usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 72, in apply_configuration
    config = read_configuration(filepath, True, ignore_option_errors, dist)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 133, in read_configuration
    validate(subset, filepath)
  File "/usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 61, in validate
    raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project`.
configuration error: `project` must contain ['name'] properties

What can I do to fix this error? Please advise. Thanks!

fordprefect commented on 2023-05-04 14:55 (UTC) (edited on 2023-05-04 14:56 (UTC) by fordprefect)

@aorth: Please keep in mind that rebuilds of AUR packages are user duty and pkgver/rel are only bumped if the package itself changes. This can and should be automated, but is clearly not a AUR maintainer duty. If some maintainers decide to bump pkgrel to trigger rebuilds as a convenience for their users this is certainly respected, but there is in no way a written or unwritten rule that maintainers are required to do so. Please stop demanding this of each and every package.

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 :-/