summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-02-29 19:43:52 +0000
committeradam <adam@pkgsrc.org>2020-02-29 19:43:52 +0000
commit5de06c00c2e9b3ebd7fab8dd780cba53b0fd49ad (patch)
tree8d5f3c05e07d3d9d9d2fa56b68dc626d61a6a6fb /www
parenta0f94bcc4caa80949e5232e762aab5dd08681953 (diff)
downloadpkgsrc-5de06c00c2e9b3ebd7fab8dd780cba53b0fd49ad.tar.gz
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 (limited to 'www')
-rw-r--r--www/py-MechanicalSoup/Makefile6
-rw-r--r--www/py-MechanicalSoup/distinfo10
2 files changed, 8 insertions, 8 deletions
diff --git a/www/py-MechanicalSoup/Makefile b/www/py-MechanicalSoup/Makefile
index af56ae6c5e5..05882e3a024 100644
--- a/www/py-MechanicalSoup/Makefile
+++ b/www/py-MechanicalSoup/Makefile
@@ -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/MechanicalSoup
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 --git a/www/py-MechanicalSoup/distinfo b/www/py-MechanicalSoup/distinfo
index 620fe1e5113..c439fe0fa02 100644
--- a/www/py-MechanicalSoup/distinfo
+++ b/www/py-MechanicalSoup/distinfo
@@ -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