pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-beautifulsoup4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 24 11:38:11 UTC 2021

Modified Files:
        pkgsrc/www/py-beautifulsoup4: Makefile distinfo
Added Files:
        pkgsrc/www/py-beautifulsoup4/patches: patch-setup.py

Log Message:
py-beautifulsoup4: fix build with latest setuptools


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-beautifulsoup4/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/py-beautifulsoup4/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-beautifulsoup4/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-beautifulsoup4/Makefile
diff -u pkgsrc/www/py-beautifulsoup4/Makefile:1.21 pkgsrc/www/py-beautifulsoup4/Makefile:1.22
--- pkgsrc/www/py-beautifulsoup4/Makefile:1.21  Sat Oct  3 18:11:59 2020
+++ pkgsrc/www/py-beautifulsoup4/Makefile       Wed Nov 24 11:38:10 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2020/10/03 18:11:59 adam Exp $
+# $NetBSD: Makefile,v 1.22 2021/11/24 11:38:10 wiz Exp $
 
 DISTNAME=      beautifulsoup4-4.9.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,9 @@ DEPENDS+=     ${PYPKGPREFIX}-soupsieve>=1.2:
 
 USE_LANGUAGES= # none
 
+pre-build:
+       cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w bs4
+
 do-test:
        cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -s bs4
 

Index: pkgsrc/www/py-beautifulsoup4/distinfo
diff -u pkgsrc/www/py-beautifulsoup4/distinfo:1.19 pkgsrc/www/py-beautifulsoup4/distinfo:1.20
--- pkgsrc/www/py-beautifulsoup4/distinfo:1.19  Tue Oct 26 11:30:28 2021
+++ pkgsrc/www/py-beautifulsoup4/distinfo       Wed Nov 24 11:38:10 2021
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 11:30:28 nia Exp $
+$NetBSD: distinfo,v 1.20 2021/11/24 11:38:10 wiz Exp $
 
 BLAKE2s (beautifulsoup4-4.9.3.tar.gz) = 112f5525d2b3fe1f665deed3e3383ede4265e82bdd2a07fd95f5c4e5ce04787e
 SHA512 (beautifulsoup4-4.9.3.tar.gz) = e3cb6258bd7c51f12128fa8ee5948fb3566163ae233fac2dda21bab7772ab8dbb384d920b0ea138ef9921307b48f89cee3a9bf6111dfc8903d917ee7af365f34
 Size (beautifulsoup4-4.9.3.tar.gz) = 376031 bytes
+SHA1 (patch-setup.py) = f41e5b0f3cbb35963b503774e5dd1904bdb48876

Added files:

Index: pkgsrc/www/py-beautifulsoup4/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-beautifulsoup4/patches/patch-setup.py:1.1
--- /dev/null   Wed Nov 24 11:38:11 2021
+++ pkgsrc/www/py-beautifulsoup4/patches/patch-setup.py Wed Nov 24 11:38:11 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2021/11/24 11:38:11 wiz Exp $
+
+option not supported any longer.
+
+--- setup.py.orig      2020-10-03 15:31:00.000000000 +0000
++++ setup.py
+@@ -30,7 +30,6 @@ setup(
+         'lxml' : [ 'lxml'],
+         'html5lib' : ['html5lib'],
+     },
+-    use_2to3 = True,
+     classifiers=["Development Status :: 5 - Production/Stable",
+                  "Intended Audience :: Developers",
+                  "License :: OSI Approved :: MIT License",



Home | Main Index | Thread Index | Old Index