blob: c611e30825cfbb401586e8a35f7cd5e33ce1e24d (
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.1
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=('a531764521e336ef4672f2794a7b4e5b7d1816c6ffd9e3febabfe6e14fcfd85b56706bfd5eadd3be769c29ef7752367fc9dbf5b5d3bf933f4582353708536646')
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
}
|