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: updated to 0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80992d9c0298
branches:  trunk
changeset: 423911:80992d9c0298
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 29 19:43:52 2020 +0000

description:
py-MechanicalSoup: updated to 0.12.0

Version 0.12

Main changes:
* Changes in official python version support: added 3.7 and dropped 3.4.
* Added ability to submit a form without updating ``StatefulBrowser`` internal
  state: ``submit_selected(..., update_state=False)``. This means you get a
  response from the form submission, but your browser stays on the same page.
  Useful for handling forms that result in a file download or open a new tab.

Bug fixes
* Improve handling of form enctype to behave like a real browser.
* HTML ``type`` attributes are no longer required to be lowercase.
* Form controls with the ``disabled`` attribute will no longer be submitted
  to improve compliance with the HTML standard. If you were relying on this
  bug to submit disabled elements, you can still achieve this by deleting the
  ``disabled`` attribute from the element in the :class:`~mechanicalsoup.Form`
  object directly.
* When a form containing a file input field is submitted without choosing a
  file, an empty filename & content will be sent just like in a real browser.
* ``<option>`` tags without a ``value`` attribute will now use their text as
  the value.
* The optional ``url_regex`` argument to ``follow_link`` and ``download_link``
  was fixed so that it is no longer ignored.
* Allow duplicate submit elements instead of raising a LinkNotFoundError.

diffstat:

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

diffs (36 lines):

diff -r 11e043c2593f -r 80992d9c0298 www/py-MechanicalSoup/Makefile
--- a/www/py-MechanicalSoup/Makefile    Sat Feb 29 19:30:19 2020 +0000
+++ b/www/py-MechanicalSoup/Makefile    Sat Feb 29 19:43:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/12/03 19:59:32 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/02/29 19:43:52 adam Exp $
 
-DISTNAME=      MechanicalSoup-0.11.0
+DISTNAME=      MechanicalSoup-0.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
@@ -10,7 +10,7 @@
 COMMENT=       Library for automating interaction with websites
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=4.4:../../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
diff -r 11e043c2593f -r 80992d9c0298 www/py-MechanicalSoup/distinfo
--- a/www/py-MechanicalSoup/distinfo    Sat Feb 29 19:30:19 2020 +0000
+++ b/www/py-MechanicalSoup/distinfo    Sat Feb 29 19:43:52 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/12/03 19:59:32 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/02/29 19:43:52 adam Exp $
 
-SHA1 (MechanicalSoup-0.11.0.tar.gz) = 909af99ddb5f42170880eb2d9e835c5042384a6c
-RMD160 (MechanicalSoup-0.11.0.tar.gz) = c16ddaaaa25b8a8196db71afaf3f71a598116018
-SHA512 (MechanicalSoup-0.11.0.tar.gz) = 3fab6ae1aace2581f6d0a031ba3b144a78404f5deebc0fc1b8eede606f72a912ac9a9506da78e0f5ca30483676b170570d72bcbf0712a7e193587ec264bdbff7
-Size (MechanicalSoup-0.11.0.tar.gz) = 43088 bytes
+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



Home | Main Index | Thread Index | Old Index