18 lines
576 B
Plaintext
18 lines
576 B
Plaintext
# Description: A CSS4 selector implementation for Beautiful Soup
|
|
# URL: https://pypi.python.org/pypi/soupsieve
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: python3-build python3-hatchling python3-installer
|
|
|
|
name=python3-soupsieve
|
|
_name=${name#*-}
|
|
version=2.5
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $_name-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|