contrib/python3-cssselect/Pkgfile

16 lines
526 B
Plaintext
Raw Normal View History

2019-08-08 15:40:33 +02:00
# 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
2019-08-08 15:40:33 +02:00
# Depends on: python3-setuptools
name=python3-cssselect
2022-10-30 00:01:05 +02:00
version=1.2.0
2019-08-08 15:40:33 +02:00
release=1
2019-08-12 11:00:05 +02:00
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
2019-08-08 15:40:33 +02:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
2019-08-08 15:40:33 +02:00
}