contrib/python-beautifulsoup4/Pkgfile
2019-07-28 13:23:25 +10:00

19 lines
483 B
Plaintext

# Description: Python HTML/XML Parser.
# URL: http://www.crummy.com/software/BeautifulSoup/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python-chardet
name=python-beautifulsoup4
version=4.8.0
release=1
source=(https://www.crummy.com/software/BeautifulSoup/bs4/download/${version:0:3}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python setup.py build
/usr/bin/python setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}