blob: 31b7613edef1594aa47a4f335831cf7fc2fd8730 (
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.26
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=('05da8fb72a5006c24917e1e6b89dc294ce49a2c38ae6c4096aa6d87e72ae4ac3')
build () {
cd "${srcdir}"/abi3audit-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}"/abi3audit-${pkgver}
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|