pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-beautifulsoup4 py-beautifulsoup4: fix build wit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df57588dad68
branches: trunk
changeset: 770069:df57588dad68
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Nov 24 11:38:10 2021 +0000
description:
py-beautifulsoup4: fix build with latest setuptools
diffstat:
www/py-beautifulsoup4/Makefile | 5 ++++-
www/py-beautifulsoup4/distinfo | 3 ++-
www/py-beautifulsoup4/patches/patch-setup.py | 14 ++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r 37f268702d29 -r df57588dad68 www/py-beautifulsoup4/Makefile
--- a/www/py-beautifulsoup4/Makefile Wed Nov 24 11:34:08 2021 +0000
+++ b/www/py-beautifulsoup4/Makefile Wed Nov 24 11:38:10 2021 +0000
@@ -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 @@
USE_LANGUAGES= # none
+pre-build:
+ cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w bs4
+
do-test:
cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -s bs4
diff -r 37f268702d29 -r df57588dad68 www/py-beautifulsoup4/distinfo
--- a/www/py-beautifulsoup4/distinfo Wed Nov 24 11:34:08 2021 +0000
+++ b/www/py-beautifulsoup4/distinfo Wed Nov 24 11:38:10 2021 +0000
@@ -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
diff -r 37f268702d29 -r df57588dad68 www/py-beautifulsoup4/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-beautifulsoup4/patches/patch-setup.py Wed Nov 24 11:38:10 2021 +0000
@@ -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