milis/talimatname/genel/p/pycparser/talimat

21 lines
480 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Pythonda yazılmış C ayrıştırıcı and AST üretici
2017-09-03 18:26:04 +02:00
# URL: https://github.com/eliben/pycparser
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python-setuptools
2017-09-03 18:26:04 +02:00
name=pycparser
version=2.17
release=1
source=(https://github.com/eliben/$name/archive/release_v$version.zip::$name-$version.zip)
2017-10-27 23:59:41 +02:00
derle() {
2017-09-03 18:26:04 +02:00
cd $name-release_v$version
/usr/bin/python setup.py build
cd pycparser
/usr/bin/python _build_tables.py
cd -
/usr/bin/python setup.py install --root=$PKG --optimize=1
}