contrib/python3-cssselect/Pkgfile
John McQuah 1c705c523f python3-cssselect: adopted port
python3-isodate: adopted port
2023-08-13 06:28:08 -04:00

16 lines
526 B
Plaintext

# Description: A Python library that parses CSS3 Selectors and translates them to XPath 1.0.
# URL: http://pypi.python.org/pypi/cssselect
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-setuptools
name=python3-cssselect
version=1.2.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}