summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59072a281ea39f1cbd4c1fe16112af1e75dc575c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: robertfoster
pkgname=python-osadl-matrix
pkgver=2024.02.13.010236
pkgrel=1
pkgdesc="OSADL license compatibility matrix as a CSV"
arch=('any')
depends=('python')
makedepends=(python-{build,installer,wheel} python-setuptools)
url="https://github.com/priv-kweihmann/osadl-matrix"
license=('Unlicense' 'CCPL:by-4.0')
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")

build() {
  cd "${pkgname##python-}-${pkgver}"
  python -m build --wheel --no-isolation
}

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

sha256sums=('a91433f342cf652dd04832b1c1752da2cdacc5de8bbc3ca71a9ae2099f0460d9')