Hi, ports@:

    Here is a patch for www/py-soupsieve:
    i) Update to 2.2.1
    ii) Change to python3 only, since there is no ports
depends on py27-soupsieve.
    iii) Remove the line for py27-soupsieve

    It build well and pass all tests on amd64-6.9 system.
    Only 1 port depends on it: www/py-beautifulsoup4,
it build well and pass all tests too.


Cheers !
wen
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    3 May 2021 01:46:44 -0000
@@ -2,10 +2,9 @@
 
 COMMENT =              modern CSS selector implementation for Beautiful Soup
 
-MODPY_EGG_VERSION =    1.9.5
+MODPY_EGG_VERSION =    2.2.1
 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    3 May 2021 01:46:44 -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.1.tar.gz) = BSd0hI9EjPGcfpWa31VmkE1SXzOj+La6b2+PJux94Mw=
+SIZE (soupsieve-2.2.1.tar.gz) = 102949

Reply via email to