contrib/python3-beautifulsoup4/Pkgfile

20 lines
510 B
Plaintext
Raw Normal View History

2018-08-07 16:12:54 +02:00
# Description: Python HTML/XML Parser.
2020-06-01 17:45:48 +02:00
# URL: https://www.crummy.com/software/BeautifulSoup/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-chardet python3-soupsieve
2018-08-07 16:12:54 +02:00
name=python3-beautifulsoup4
_name=${name#*-}
version=4.12.0
2020-04-12 03:35:13 +02:00
release=1
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
2018-08-07 16:12:54 +02:00
build() {
cd $_name-$version
2018-08-07 16:12:54 +02:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}