"Soup Sieve is a CSS selector library designed to be used with Beautiful

Soup 4. It aims to provide selecting, matching, and filtering using
modern CSS selectors."

Version 1.9.2

It is needed for www/py-beautifulsoup4 4.7.0+ as the CSS Selector
implementation in bs4 was replaced with a dependency on soupsieve.

ok danj@
This commit is contained in:
kmos 2019-08-12 23:58:09 +00:00
parent 7246185177
commit 6cbeb926ef
4 changed files with 61 additions and 0 deletions

35
www/py-soupsieve/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/08/12 23:58:09 kmos Exp $
COMMENT = modern CSS selector implementation for Beautiful Soup
MODPY_EGG_VERSION = 1.9.2
DISTNAME = soupsieve-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = www
HOMEPAGE = https://github.com/facelessuser/soupsieve
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?=
TEST_DEPENDS = devel/py-coverage${MODPY_FLAVOR} \
devel/py-html5lib${MODPY_FLAVOR} \
devel/py-test-cov${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR} \
www/py-beautifulsoup4${MODPY_FLAVOR}
.if !${FLAVOR:Mpython3}
RUN_DEPENDS += devel/py-backports-functools-lru-cache
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (soupsieve-1.9.2.tar.gz) = crXxrqkQHPcgo2uyMn7ehm/W8aB7HofJKhzBgRPLyUY=
SIZE (soupsieve-1.9.2.tar.gz) = 95448

View File

@ -0,0 +1,3 @@
Soup Sieve is a CSS selector library designed to be used with
Beautiful Soup 4. It aims to provide selecting, matching, and
filtering using modern CSS selectors.

View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/08/12 23:58:09 kmos Exp $
lib/python${MODPY_VERSION}/site-packages/soupsieve/
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/soupsieve-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/soupsieve/__init__.py
lib/python${MODPY_VERSION}/site-packages/soupsieve/__meta__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}__meta__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}css_match.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}css_parser.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}css_types.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/soupsieve/css_match.py
lib/python${MODPY_VERSION}/site-packages/soupsieve/css_parser.py
lib/python${MODPY_VERSION}/site-packages/soupsieve/css_types.py
lib/python${MODPY_VERSION}/site-packages/soupsieve/util.py