summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdfd4a50e2a76433cf8818de41455dc7639922c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=python-abi3audit
pkgver=0.0.17
pkgrel=1
pkgdesc="Scans Python wheels for abi3 violations and inconsistencies"
url="https://pypi.org/project/abi3audit/"
arch=('any')
license=('MIT')
makedepends=('python-setuptools')
depends=('python-abi3info' 'python-kaitaistruct' 'python-packaging' 'python-pefile' 'python-pyelftools' 'python-requests' 'python-requests-cache' 'python-rich')
source=("https://github.com/pypa/abi3audit/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('25522bea051575d27ae8486284e795c2ddc9c0bedc841e76fd1996f47f7e1499')

build () {
  cd "${srcdir}"/abi3audit-${pkgver}
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}"/abi3audit-${pkgver}
  python -m installer --destdir="${pkgdir}" dist/*.whl
}