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:           Mon Dec  3 19:59:32 UTC 2018

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

Log Message:
py-MechanicalSoup: updated to 0.11.0

Version 0.11

This release focuses on fixing bugs related to uncommon HTTP/HTML
scenarios and on improving the documentation.

Bug fixes

* Constructing a :class:~mechanicalsoup.Form instance from a
  bs4.element.Tag whose tag name is not form will now emit a warning,
  and may be deprecated in the future.

* **Breaking Change:** :class:~mechanicalsoup.LinkNotFoundError now derives
  from Exception instead of BaseException. While this will bring the
  behavior in line with most people's expectations, it may affect the behavior
  of your code if you were heavily relying on this implementation detail in
  your exception handling.

* Improve handling of button submit elements. Will now correctly ignore
  buttons of type button and reset during form submission, since they
  are not considered to be submit elements.

* Do a better job of inferring the content type of a response if the
  Content-Type header is not provided.

* Improve consistency of query string construction between MechanicalSoup
  and web browsers in edge cases where form elements have duplicate name
  attributes. This prevents errors in valid use cases, and also makes
  MechanicalSoup more tolerant of invalid HTML.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-MechanicalSoup/Makefile
cvs rdiff -u -r1.3 -r1.4 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.4 pkgsrc/www/py-MechanicalSoup/Makefile:1.5
--- pkgsrc/www/py-MechanicalSoup/Makefile:1.4   Thu Aug  2 15:39:31 2018
+++ pkgsrc/www/py-MechanicalSoup/Makefile       Mon Dec  3 19:59:32 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2018/08/02 15:39:31 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/12/03 19:59:32 adam Exp $
 
-DISTNAME=      MechanicalSoup-0.10.0
+DISTNAME=      MechanicalSoup-0.11.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
@@ -19,6 +19,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-requests-m
 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
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 
 USE_LANGUAGES= # none

Index: pkgsrc/www/py-MechanicalSoup/distinfo
diff -u pkgsrc/www/py-MechanicalSoup/distinfo:1.3 pkgsrc/www/py-MechanicalSoup/distinfo:1.4
--- pkgsrc/www/py-MechanicalSoup/distinfo:1.3   Thu Aug  2 15:39:31 2018
+++ pkgsrc/www/py-MechanicalSoup/distinfo       Mon Dec  3 19:59:32 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/08/02 15:39:31 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/12/03 19:59:32 adam Exp $
 
-SHA1 (MechanicalSoup-0.10.0.tar.gz) = 610ba98c7bfd03a66145e490ee99f9807d0df635
-RMD160 (MechanicalSoup-0.10.0.tar.gz) = ffc3b969250f08e68ea68c05cc4afdeb277a9d92
-SHA512 (MechanicalSoup-0.10.0.tar.gz) = d1c04270bb65f9be07d5de4aa68691b8602d37d574a6675ea8fd22c2b91a8ca06a1eec479c1eae6d93ce7534571de2b5592aa03cc6646ca6988dbd82e4ae4c3f
-Size (MechanicalSoup-0.10.0.tar.gz) = 24165 bytes
+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



Home | Main Index | Thread Index | Old Index