forked from ports/contrib
17 lines
485 B
Plaintext
17 lines
485 B
Plaintext
# Description: A CSS4 selector implementation for Beautiful Soup
|
|
# URL: https://pypi.python.org/pypi/soupsieve
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-soupsieve
|
|
_name=${name#*-}
|
|
version=2.2.1
|
|
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 --root=$PKG --optimize=1
|
|
}
|