contrib/python3-beautifulsoup4/Pkgfile

20 lines
510 B
Plaintext

# Description: Python HTML/XML Parser.
# URL: https://www.crummy.com/software/BeautifulSoup/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-chardet python3-soupsieve
name=python3-beautifulsoup4
_name=${name#*-}
version=4.12.0
release=1
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_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
}