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

20 lines
502 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: Libxml2 ve libxslt kitaplıkları için Python2 bağlaması.
# URL: http://lxml.de/
# Paketçi: milisarge
# Gerekler: libxslt python-beautifulsoup3 python-cssselect
# Grup: kütüphane
isim=python-lxml
surum=3.7.3
devir=1
kaynak=(https://pypi.io/packages/source/l/lxml/lxml-$surum.tar.gz)
derle() {
cd lxml-$surum
python2 setup.py install --prefix=/usr --root=$PKG
# Belgeleme
install -d $PKG/usr/share/doc/$isim-$surum
cp -r doc/html $PKG/usr/share/doc/$isim-$surum
}