summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 720286e7b24391f390451e891339e18d8260f4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=python-abi3info
pkgver=2024.10.26
pkgrel=1
pkgdesc="A library for abi3 and other CPython API information"
url="https://pypi.org/project/abi3info/"
arch=('any')
license=('MIT')
makedepends=('python-flit-core')
depends=('python')
source=("https://github.com/woodruffw/abi3info/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e81920cd94077904bc505a6e28fc5dfd97994e52de2ffedbcdc28c16e63a732e')

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

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