summaryrefslogblamecommitdiff
path: root/user/py3-cparser/APKBUILD
blob: 49f9ce944325ab5397523c2ad2d07c2dc44f0578 (plain) (tree)
1
2
3
4


                                                  
           











                                                                                                        



                              



                                  


                                                               
                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cparser
pkgver=2.20
pkgrel=0
pkgdesc="C99 parser in pure Python"
url="https://github.com/eliben/pycparser"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends=""
subpackages=""
source="py3-cparser-$pkgver.tar.gz::https://github.com/eliben/pycparser/archive/release_v$pkgver.tar.gz"
builddir="$srcdir/pycparser-release_v$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 tests/all_tests.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d2dc48727750ec0a80d5e3b0c9fba390c3647416a3e18cad59429edb9f55d043c7695c52301b037c93af5d96ffc85fcba7cd54d376abdb89e973759c59fa189d  py3-cparser-2.20.tar.gz"