# Description: Python HTML/XML Parser.
# URL: http://www.crummy.com/software/BeautifulSoup/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-chardet
name=python3-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/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}