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:   adam
Date:           Sat Feb 29 19:43:52 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-MechanicalSoup/Makefile
cvs rdiff -u -r1.4 -r1.5 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.5 pkgsrc/www/py-MechanicalSoup/Makefile:1.6
--- pkgsrc/www/py-MechanicalSoup/Makefile:1.5   Mon Dec  3 19:59:32 2018
+++ pkgsrc/www/py-MechanicalSoup/Makefile       Sat Feb 29 19:43:52 2020
@@ -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 @@ HOMEPAGE=     https://github.com/hickford/Me
 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

Index: pkgsrc/www/py-MechanicalSoup/distinfo
diff -u pkgsrc/www/py-MechanicalSoup/distinfo:1.4 pkgsrc/www/py-MechanicalSoup/distinfo:1.5
--- pkgsrc/www/py-MechanicalSoup/distinfo:1.4   Mon Dec  3 19:59:32 2018
+++ pkgsrc/www/py-MechanicalSoup/distinfo       Sat Feb 29 19:43:52 2020
@@ -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