Update py-soupsieve to 2.2 and drop python2 flavor.

Nothing uses the python2 flavor now (after recent commits) and it isn't 
supported for >= 2.0 anyway.

This pairs well with the py-beautifulsoup4 update I'm about to send (a few
bs4 tests fail with this new version but not the updated bs4).

Consumers that have tests (other than bs4) have the same or better regression
test results on amd64.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-soupsieve/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    3 Jul 2020 21:13:20 -0000       1.3
+++ Makefile    14 Mar 2021 03:51:24 -0000
@@ -2,10 +2,9 @@
 
 COMMENT =              modern CSS selector implementation for Beautiful Soup
 
-MODPY_EGG_VERSION =    1.9.5
+MODPY_EGG_VERSION =    2.2
 DISTNAME =             soupsieve-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
-REVISION =             0
 
 CATEGORIES =           www
 
@@ -21,16 +20,12 @@ MODPY_SETUPTOOLS =  Yes
 MODPY_PYTEST =         Yes
 
 FLAVORS =              python3
-FLAVOR ?=
+FLAVOR =               python3
 
 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>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-soupsieve/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    17 Nov 2019 04:16:16 -0000      1.2
+++ distinfo    14 Mar 2021 03:51:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (soupsieve-1.9.5.tar.gz) = 4sHF3uShw2vLeQ4Pq9VJLYdLjr1GF2IsT2pzFwEGDdo=
-SIZE (soupsieve-1.9.5.tar.gz) = 98999
+SHA256 (soupsieve-2.2.tar.gz) = QH+h6Os0WNG1YU31HZZRoRgOpf7fB/60bkXX4l5tbN0=
+SIZE (soupsieve-2.2.tar.gz) = 102948
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/py-soupsieve/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   12 Aug 2019 23:58:09 -0000      1.1.1.1
+++ pkg/PLIST   14 Mar 2021 03:51:24 -0000
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2019/08/12 23:58:09 kmos Exp $
+@conflict www/py-soupsieve-*
+@pkgpath www/py-soupsieve
 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

Reply via email to