"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:
parent
7246185177
commit
6cbeb926ef
35
www/py-soupsieve/Makefile
Normal file
35
www/py-soupsieve/Makefile
Normal 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>
|
2
www/py-soupsieve/distinfo
Normal file
2
www/py-soupsieve/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (soupsieve-1.9.2.tar.gz) = crXxrqkQHPcgo2uyMn7ehm/W8aB7HofJKhzBgRPLyUY=
|
||||
SIZE (soupsieve-1.9.2.tar.gz) = 95448
|
3
www/py-soupsieve/pkg/DESCR
Normal file
3
www/py-soupsieve/pkg/DESCR
Normal 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.
|
21
www/py-soupsieve/pkg/PLIST
Normal file
21
www/py-soupsieve/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user