contrib/python-beautifulsoup4/Pkgfile

19 lines
477 B
Plaintext
Raw Normal View History

2014-09-14 03:31:16 +02:00
# Description: Python HTML/XML Parser.
# URL: http://www.crummy.com/software/BeautifulSoup/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2017-11-12 06:16:53 +01:00
# Depends on: python-chardet
2014-09-14 03:31:16 +02:00
name=python-beautifulsoup4
2020-01-21 12:21:33 +01:00
version=4.8.2
2017-11-12 06:16:53 +01:00
release=1
2019-11-29 13:29:16 +01:00
source=(https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-$version.tar.gz)
2014-09-14 03:31:16 +02:00
build() {
cd ${name#*-}-$version
2015-06-04 15:08:16 +02:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install \
--prefix=/usr --root=$PKG --optimize=1
2014-09-14 03:31:16 +02:00
}