contrib/python-beautifulsoup4/Pkgfile

19 lines
483 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
2019-07-28 04:50:50 +02:00
version=4.8.0
2017-11-12 06:16:53 +01:00
release=1
2019-07-28 04:50:50 +02:00
source=(https://www.crummy.com/software/BeautifulSoup/bs4/download/${version:0:3}/${name#*-}-$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
}