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
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=python-lxml
|
2017-05-31 04:11:36 +02:00
|
|
|
|
version=3.7.3
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
|
|
|
|
|
2017-05-31 04:11:36 +02:00
|
|
|
|
source=(https://pypi.io/packages/source/l/lxml/lxml-$version.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd lxml-$version
|
|
|
|
|
python2 setup.py install --prefix=/usr --root=$PKG
|
2017-04-13 09:19:14 +02:00
|
|
|
|
# Belgeleme
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -d $PKG/usr/share/doc/$name-$version
|
|
|
|
|
cp -r doc/html $PKG/usr/share/doc/$name-$version
|
|
|
|
|
}
|