milis/talimatname/genel/p/pyjinja/talimat

26 lines
674 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Python ile yazılmış basit bir pythonic şablon dili
# URL: http://jinja.pocoo.org/
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools pymarkupsafe
# Grup: kütüphane
isim=pyjinja
surum=2.10
devir=1
kaynak=(https://pypi.org/packages/source/J/Jinja2/Jinja2-$surum.tar.gz)
derle() {
cp -a Jinja2-$surum{,-py3}
cd "$SRC"/Jinja2-$surum
python2 setup.py build
python2 setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/Jinja2-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
}