blob: 4f076a74444bf4625f6fe8dd01b07f6641654ae7 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cparser
pkgver=2.19
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="88fe63c1a7a344c564dfd3b4f99735a4159c8a3f5738bab839943ea7fcbf1f5340f67326550b7e66508ea5862897e5bcdf363c2a8d47eccb50890573a2640a98 py3-cparser-2.19.tar.gz"
|