package/python-cssselect2: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2021-11-27 04:37:30 -07:00 committed by Thomas Petazzoni
parent e27b38bf3c
commit 3e7eb3ce3d
5 changed files with 30 additions and 0 deletions

View File

@ -1257,6 +1257,7 @@ F: package/python-brotli/
F: package/python-cbor2/
F: package/python-cchardet/
F: package/python-charset-normalizer/
F: package/python-cssselect2/
F: package/python-flatbuffers/
F: package/python-frozenlist/
F: package/python-greenlet/

View File

@ -970,6 +970,7 @@ menu "External python modules"
source "package/python-crossbar/Config.in"
source "package/python-cryptography/Config.in"
source "package/python-cssselect/Config.in"
source "package/python-cssselect2/Config.in"
source "package/python-cssutils/Config.in"
source "package/python-cycler/Config.in"
source "package/python-daemon/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_CSSSELECT2
bool "python-cssselect2"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_TINYCSS2 # runtime
select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime
help
CSS selectors for Python ElementTree.
https://doc.courtbouillon.org/cssselect2/

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/cssselect2/json
md5 6dfd5963c8a5d85f2634d1650b1ddfe1 cssselect2-0.4.1.tar.gz
sha256 93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8 cssselect2-0.4.1.tar.gz
# Locally computed sha256 checksums
sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-cssselect2
#
################################################################################
PYTHON_CSSSELECT2_VERSION = 0.4.1
PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz
PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ad/3d/fb764303deb34cbc1a32fcecdfd239367cb16323920c88390b2f5ad751f0
PYTHON_CSSSELECT2_SETUP_TYPE = distutils
PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause
PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE
$(eval $(python-package))