blob: 7d57dd9fa199d1d36a1951d7957ac47a5452660a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=python-androguard
pkgver=4.1.2
pkgrel=2
pkgdesc="Python framework for Android application analysis."
arch=("any")
url="https://github.com/androguard/androguard/"
license=("Apache")
depends=("python" "python-setuptools" "ipython" "python-networkx" "python-pygments" "python-lxml" "python-colorama" "python-matplotlib" "python-asn2crypto" "python-click" "python-pydot")
makedepends=("python-build" "python-installer" "python-wheel" "python-poetry")
options=(!emptydirs)
source=("$pkgname-$pkgver.tar.gz::https://github.com/androguard/androguard/archive/v${pkgver}.tar.gz")
md5sums=('ab8cd11580d4bd2824ae4ba244351439')
build() {
cd androguard-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd androguard-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|