milis/talimatname/genel/p/python-cparser/talimat

23 lines
504 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: C ayrıştırıcı ve AST jeneratörü Python ile yazılmış.
# URL: https://github.com/eliben/pycparser
# Paketçi: milisarge
# Gerekler: python-setuptools
# Grup: geliştirme
isim=python-cparser
_isim=pycparser
surum=2.14
devir=1
kaynak=(https://github.com/eliben/$_isim/archive/release_v$surum.zip)
derle() {
cd $_isim-release_v$surum
/usr/bin/python2 setup.py build
cd pycparser
/usr/bin/python2 _build_tables.py
cd -
/usr/bin/python2 setup.py install --root=$PKG --optimize=1
}