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.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/061175215da0
branches:  trunk
changeset: 446332:061175215da0
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Feb 06 20:45:45 2021 +0000

description:
py-MechanicalSoup: Update to 1.0.0

Changes:
1.0.0
=====
This is the last release that will support Python 2.7. Thanks to the
many contributors that made this release possible!

Main changes
------------
- Added support for Python 3.8 and 3.9.
- StatefulBrowser has new properties page, form, and url, which can be
  used in place of the methods get_current_page, get_current_form and
  get_url respectively (e.g. the new x.page is equivalent to
  x.get_current_page()). These methods may be deprecated in a future
  release. [#175]
- StatefulBrowser.form will raise an AttributeError instead of
  returning None if no form has been selected yet. Note that
  StatefulBrowser.get_current_form() still returns None for backward
  compatibility.

Bug fixes
---------
- Decompose <select> elements with the same name when adding a new
  input element to a form. [#297]
- The params and data kwargs passed to submit will now properly be
  forwarded to the underlying request for GET methods (whereas previously
  params was being overwritten by data). [#343]

diffstat:

 www/py-MechanicalSoup/Makefile |   6 +++---
 www/py-MechanicalSoup/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r c0a873cad8a7 -r 061175215da0 www/py-MechanicalSoup/Makefile
--- a/www/py-MechanicalSoup/Makefile    Sat Feb 06 20:41:34 2021 +0000
+++ b/www/py-MechanicalSoup/Makefile    Sat Feb 06 20:45:45 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/03/22 12:28:28 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2021/02/06 20:45:45 leot Exp $
 
-DISTNAME=      MechanicalSoup-0.12.0
+DISTNAME=      MechanicalSoup-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
@@ -15,7 +15,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
+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-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
diff -r c0a873cad8a7 -r 061175215da0 www/py-MechanicalSoup/distinfo
--- a/www/py-MechanicalSoup/distinfo    Sat Feb 06 20:41:34 2021 +0000
+++ b/www/py-MechanicalSoup/distinfo    Sat Feb 06 20:45:45 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/02/29 19:43:52 adam Exp $
+$NetBSD: distinfo,v 1.6 2021/02/06 20:45:45 leot Exp $
 
-SHA1 (MechanicalSoup-0.12.0.tar.gz) = 158eab62c6407e731f4c9f45648743a1104d2271
-RMD160 (MechanicalSoup-0.12.0.tar.gz) = e4228fb6319d547a4780ed622974968938513a36
-SHA512 (MechanicalSoup-0.12.0.tar.gz) = 6cce80ea5a90e7f19f2b13749f6ee48222d973af66cb350ac867a554580b0d619defe5a93741e6ec8aa808c585a8c01703158c7484521ac069977388de8bb7e3
-Size (MechanicalSoup-0.12.0.tar.gz) = 44505 bytes
+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



Home | Main Index | Thread Index | Old Index