2021-04-12 23:52:55 +10:00
|
|
|
# Description: C parser and AST generator written in Python.
|
2023-08-19 11:19:59 +02:00
|
|
|
# URL: https://github.com/eliben/pycparser
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-04-12 23:52:55 +10:00
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-pycparser
|
2024-03-30 16:10:35 +01:00
|
|
|
version=2.22
|
|
|
|
release=1
|
2023-08-19 11:19:59 +02:00
|
|
|
source=(https://pypi.org/packages/source/p/pycparser/pycparser-$version.tar.gz)
|
2021-04-12 23:52:55 +10:00
|
|
|
|
|
|
|
build() {
|
2023-08-19 11:19:59 +02:00
|
|
|
ls
|
|
|
|
cd pycparser-$version
|
2021-04-12 23:52:55 +10:00
|
|
|
|
2023-08-19 11:19:59 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
cd pycparser
|
|
|
|
/usr/bin/python3 _build_tables.py
|
|
|
|
cd ..
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
--skip-build
|
2021-04-12 23:52:55 +10:00
|
|
|
}
|