blob: 387fa087f52d2b1f2caaae15ebe5b4ce78997e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgbase='python-oelint-parser'
pkgname=("${pkgbase}")
_module=${pkgbase/python-/}
pkgver='6.1.0'
pkgrel=1
pkgdesc='Alternative parser for bitbake recipes'
url='https://github.com/priv-kweihmann/oelint-parser'
depends=('python-deprecated' 'python-regex')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('89950ae5fc148438072825807bebcb83d6cf9ec13c78f6e9675cca1f394c9571')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|