pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-MechanicalSoup py-MechanicalSoup: Update to 1.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/652fa6c64601
branches: trunk
changeset: 457135:652fa6c64601
user: leot <leot%pkgsrc.org@localhost>
date: Wed Aug 18 16:38:36 2021 +0000
description:
py-MechanicalSoup: Update to 1.1.0
Changes:
1.1.0
-----
- Dropped support for EOL Python versions: 2.7 and 3.5.
- Increased minimum version requirement for requests from 2.0 to
2.22.0 and beautifulsoup4 from 4.4 to 4.7.
- Use encoding from the HTTP request when no HTML encoding is
specified. [#355]
- Added the put method to the Browser class. This is a light wrapper
around requests.Session.put. [#359]
- Don't override Referer headers passed in by the user. [#364]
- StatefulBrowser methods follow_link and download_link now support
passing a dictionary of keyword arguments to requests, via
requests_kwargs. For symmetry, they also support passing Beautiful Soup
args in as bs4_kwargs, although any excess **kwargs are sent to
Beautiful Soup as well, just as they were previously. [#368]
diffstat:
www/py-MechanicalSoup/Makefile | 18 +++++++-----------
www/py-MechanicalSoup/distinfo | 10 +++++-----
2 files changed, 12 insertions(+), 16 deletions(-)
diffs (58 lines):
diff -r c6225e3b3444 -r 652fa6c64601 www/py-MechanicalSoup/Makefile
--- a/www/py-MechanicalSoup/Makefile Wed Aug 18 16:14:18 2021 +0000
+++ b/www/py-MechanicalSoup/Makefile Wed Aug 18 16:38:36 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2021/03/01 20:42:12 leot Exp $
+# $NetBSD: Makefile,v 1.10 2021/08/18 16:38:36 leot Exp $
-DISTNAME= MechanicalSoup-1.0.0
+DISTNAME= MechanicalSoup-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
@@ -10,13 +10,12 @@
COMMENT= Library for automating interaction with websites
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4:../../www/py-beautifulsoup4
+DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.7:../../www/py-beautifulsoup4
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
-DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock>=1.3.0:../../devel/py-requests-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
@@ -24,11 +23,8 @@
USE_LANGUAGES= # none
-.include "../../lang/python/pyversion.mk"
-.if ${PYPKGPREFIX} == py27
-TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27
-do-test:
-.endif
+# Since 1.1.0 only for Python 3
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c6225e3b3444 -r 652fa6c64601 www/py-MechanicalSoup/distinfo
--- a/www/py-MechanicalSoup/distinfo Wed Aug 18 16:14:18 2021 +0000
+++ b/www/py-MechanicalSoup/distinfo Wed Aug 18 16:38:36 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/02/06 20:45:45 leot Exp $
+$NetBSD: distinfo,v 1.7 2021/08/18 16:38:36 leot Exp $
-SHA1 (MechanicalSoup-1.0.0.tar.gz) = 552f82014ccccf7bfe50030a4c1511ae07b0308a
-RMD160 (MechanicalSoup-1.0.0.tar.gz) = cfd626f44e1eafb98f7e2c565333ad716a2c1e9d
-SHA512 (MechanicalSoup-1.0.0.tar.gz) = 00e2c5220c065b517301d9381a9bc5019f6f75dc5951a5ab4427fd7939b296b6b33a20b8f8a7e82c6feed2c9100e3481f38a424d63065883d71a6927119ad88c
-Size (MechanicalSoup-1.0.0.tar.gz) = 47572 bytes
+SHA1 (MechanicalSoup-1.1.0.tar.gz) = 4918be75305cb7384085361d1ef82404ba162354
+RMD160 (MechanicalSoup-1.1.0.tar.gz) = 5caa3cd5c0e877fc4abf1e60da2a299de8bc1899
+SHA512 (MechanicalSoup-1.1.0.tar.gz) = 26eaa54bcd1c0aac26504d7c482ed001830a1c79bf48a3055cef92348e9336887bef86cda68281911032159a3404a1f4ee8de9b6516d7d767cfd6b3b380c4ebe
+Size (MechanicalSoup-1.1.0.tar.gz) = 49270 bytes
Home |
Main Index |
Thread Index |
Old Index