pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-MechanicalSoup



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Aug 18 16:38:36 UTC 2021

Modified Files:
        pkgsrc/www/py-MechanicalSoup: Makefile distinfo

Log Message:
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]


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-MechanicalSoup/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-MechanicalSoup/distinfo

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-MechanicalSoup/Makefile
diff -u pkgsrc/www/py-MechanicalSoup/Makefile:1.9 pkgsrc/www/py-MechanicalSoup/Makefile:1.10
--- pkgsrc/www/py-MechanicalSoup/Makefile:1.9   Mon Mar  1 20:42:12 2021
+++ pkgsrc/www/py-MechanicalSoup/Makefile       Wed Aug 18 16:38:36 2021
@@ -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 @@ HOMEPAGE=   https://github.com/hickford/Me
 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 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-mock-
 
 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"

Index: pkgsrc/www/py-MechanicalSoup/distinfo
diff -u pkgsrc/www/py-MechanicalSoup/distinfo:1.6 pkgsrc/www/py-MechanicalSoup/distinfo:1.7
--- pkgsrc/www/py-MechanicalSoup/distinfo:1.6   Sat Feb  6 20:45:45 2021
+++ pkgsrc/www/py-MechanicalSoup/distinfo       Wed Aug 18 16:38:36 2021
@@ -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