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

19 lines
482 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Libxml2 ve libxslt kitaplıkları için Python2 bağlaması.
2017-04-13 09:19:14 +02:00
# URL: http://lxml.de/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libxslt python-beautifulsoup3 python-cssselect
2017-04-13 09:19:14 +02:00
2017-10-28 14:10:23 +02:00
isim=python-lxml
surum=3.7.3
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(https://pypi.io/packages/source/l/lxml/lxml-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd lxml-$surum
2016-02-24 01:27:23 +01:00
python2 setup.py install --prefix=/usr --root=$PKG
2017-04-13 09:19:14 +02:00
# Belgeleme
2017-10-28 14:10:23 +02:00
install -d $PKG/usr/share/doc/$isim-$surum
cp -r doc/html $PKG/usr/share/doc/$isim-$surum
2016-02-24 01:27:23 +01:00
}