summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: baf1cc3d25535e367d7fd2336c9344d574709237 (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
25
26
27
28
29
30
# Maintainer: Max Mehl <aur at mehl dot mx>
# SPDX-FileCopyrightText: 2019 Max Mehl
# SPDX-License-Identifier: CC0-1.0

pkgname='python-license-expression'
pkgver=0.999
pkgrel=1
pkgdesc='Utility library to parse, normalize and compare License expressions for Python using a boolean logic engine'
arch=('any')
url='https://github.com/nexB/license-expression'
license=('Apache-2.0')
depends=('python')
makedepends=('python-setuptools' 'python-boolean.py')
checkdepends=('python-tox')
source=(
  "${pkgname}-${pkgver}.tar.gz::https://github.com/nexB/license-expression/archive/v${pkgver}.tar.gz"
)
sha256sums=('5c166fffbb81ee78b629b4937758974b86b43536887bdf6cd1cd0962042e5cef')

check() {
  cd "$srcdir/license-expression-$pkgver"
  python setup.py test
}

package() {
  cd "$srcdir/license-expression-$pkgver"
  python setup.py install --root="${pkgdir}" --optimize=1
}

# vim: ts=2 sw=2 et: