contrib/python3-beautifulsoup4/Pkgfile

19 lines
501 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/
2018-08-07 16:12:54 +02:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-chardet python3-soupsieve
2018-08-07 16:12:54 +02:00
name=python3-beautifulsoup4
version=4.10.0
2020-04-12 03:35:13 +02:00
release=1
2019-11-29 13:29:30 +01:00
source=(https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-$version.tar.gz)
2018-08-07 16:12:54 +02:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}