blob: a022c16799b1bf207ed0ccd1841e5c689196aa2d (
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
|
pkgname=python-kconfiglib
pkgver=13.3.2
pkgrel=1
pkgdesc="A flexible Python 2/3 Kconfig implementation and library"
url="https://github.com/ulfalizer/Kconfiglib"
license=('ISC')
arch=("any")
depends=('python')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ulfalizer/Kconfiglib/archive/v${pkgver}.tar.gz")
sha512sums=('fe4fe5921d4fd85a700a6a1d84bb4ebf8e7e8bd8a33f4ae6dfb6ab4ec63d4ee3d3af1c8432b1324506c5bf531c5ab1519e81bdf4e1443c646808c0b8a769af68')
build() {
cd $srcdir/Kconfiglib-$pkgver
python3 setup.py build
}
check() {
cd $srcdir/Kconfiglib-$pkgver
python3 setup.py test
}
package() {
cd $srcdir/Kconfiglib-$pkgver
python3 setup.py install --root $pkgdir
}
|