2014-09-14 11:31:16 +10:00
|
|
|
# Description: Python HTML/XML Parser.
|
|
|
|
# URL: http://www.crummy.com/software/BeautifulSoup/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-11-12 16:16:53 +11:00
|
|
|
# Depends on: python-chardet
|
2014-09-14 11:31:16 +10:00
|
|
|
|
2018-08-08 00:11:19 +10:00
|
|
|
name=python-beautifulsoup4
|
2018-08-15 21:33:42 +10:00
|
|
|
version=4.6.3
|
2017-11-12 16:16:53 +11:00
|
|
|
release=1
|
2018-08-08 00:11:19 +10:00
|
|
|
source=(http://www.crummy.com/software/BeautifulSoup/bs4/download/${version:0:3}/${name#*-}-$version.tar.gz)
|
2014-09-14 11:31:16 +10:00
|
|
|
|
|
|
|
build() {
|
2018-08-08 00:11:19 +10:00
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
2015-06-04 23:08:16 +10:00
|
|
|
/usr/bin/python setup.py build
|
2018-08-08 00:11:19 +10:00
|
|
|
|
|
|
|
/usr/bin/python setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2014-09-14 11:31:16 +10:00
|
|
|
}
|