Received: by mail.netbsd.org (Postfix, from userid 605) id 4C31984DDA; Fri, 6 Oct 2017 06:31:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D2DA184DD7 for ; Fri, 6 Oct 2017 06:31:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Tbl2bfDrG_RW for ; Fri, 6 Oct 2017 06:31:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 17DB284D5D for ; Fri, 6 Oct 2017 06:31:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0EA64FBC7; Fri, 6 Oct 2017 06:31:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1507271505193380" MIME-Version: 1.0 Date: Fri, 6 Oct 2017 06:31:45 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-MechanicalSoup To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20171006063145.0EA64FBC7@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1507271505193380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Fri Oct 6 06:31:44 UTC 2017 Modified Files: pkgsrc/www/py-MechanicalSoup: Makefile PLIST distinfo Log Message: py-MechanicalSoup: update to 0.8.0 Version 0.8 Main changes: * `Browser` and `StatefulBrowser` can now be configured to raise a `LinkNotFound` exception when encountering a 404 Not Found error. This is activated by passing `raise_on_404=True` to the constructor. It is disabled by default for backward compatibility, but is highly recommanded. * `Browser` now has a `__del__` method that closes the current session when the object is deleted. * A `Link` object can now be passed to `follow_link`. * The user agent can now be customized. The default includes `MechanicalSoup` and its version. * There is now a direct interface to the cookiejar in `*Browser` classes (`(set|get)_cookiejar` methods). * This is the last MechanicalSoup version supporting Python 2.6 and 3.3. Bug fixes: * We used to crash on forms without action="..." fields. * The `choose_submit` method has been fixed, and the `btnName` argument of `StatefulBrowser.submit_selected` is now a shortcut for using `choose_submit`. * Arguments to `open_relative` were not properly forwarded. Internal changes: * The testsuite has been greatly improved. It now uses the pytest API (not only the `pytest` launcher) for more concise code. * The coverage of the testsuite is now measured with codecov.io. The results can be viewed on: https://codecov.io/gh/hickford/MechanicalSoup * We now have a requires.io badge to help us tracking issues with dependencies. The report can be viewed on: https://requires.io/github/hickford/MechanicalSoup/requirements/ * The version number now appears in a single place in the source code. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-MechanicalSoup/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-MechanicalSoup/PLIST \ pkgsrc/www/py-MechanicalSoup/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1507271505193380 Content-Disposition: inline Content-Length: 3301 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-MechanicalSoup/Makefile diff -u pkgsrc/www/py-MechanicalSoup/Makefile:1.2 pkgsrc/www/py-MechanicalSoup/Makefile:1.3 --- pkgsrc/www/py-MechanicalSoup/Makefile:1.2 Sun May 14 13:00:12 2017 +++ pkgsrc/www/py-MechanicalSoup/Makefile Fri Oct 6 06:31:44 2017 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2017/05/14 13:00:12 leot Exp $ +# $NetBSD: Makefile,v 1.3 2017/10/06 06:31:44 adam Exp $ -DISTNAME= MechanicalSoup-0.7.0 +DISTNAME= MechanicalSoup-0.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=M/MechanicalSoup/} @@ -14,6 +13,10 @@ LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4 DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six +BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner USE_LANGUAGES= # none Index: pkgsrc/www/py-MechanicalSoup/PLIST diff -u pkgsrc/www/py-MechanicalSoup/PLIST:1.1 pkgsrc/www/py-MechanicalSoup/PLIST:1.2 --- pkgsrc/www/py-MechanicalSoup/PLIST:1.1 Fri May 12 10:02:13 2017 +++ pkgsrc/www/py-MechanicalSoup/PLIST Fri Oct 6 06:31:44 2017 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2017/05/12 10:02:13 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2017/10/06 06:31:44 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -7,6 +7,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx ${PYSITELIB}/mechanicalsoup/__init__.py ${PYSITELIB}/mechanicalsoup/__init__.pyc ${PYSITELIB}/mechanicalsoup/__init__.pyo +${PYSITELIB}/mechanicalsoup/__version__.py +${PYSITELIB}/mechanicalsoup/__version__.pyc +${PYSITELIB}/mechanicalsoup/__version__.pyo ${PYSITELIB}/mechanicalsoup/browser.py ${PYSITELIB}/mechanicalsoup/browser.pyc ${PYSITELIB}/mechanicalsoup/browser.pyo Index: pkgsrc/www/py-MechanicalSoup/distinfo diff -u pkgsrc/www/py-MechanicalSoup/distinfo:1.1 pkgsrc/www/py-MechanicalSoup/distinfo:1.2 --- pkgsrc/www/py-MechanicalSoup/distinfo:1.1 Fri May 12 10:02:13 2017 +++ pkgsrc/www/py-MechanicalSoup/distinfo Fri Oct 6 06:31:44 2017 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2017/05/12 10:02:13 wiz Exp $ +$NetBSD: distinfo,v 1.2 2017/10/06 06:31:44 adam Exp $ -SHA1 (MechanicalSoup-0.7.0.tar.gz) = 511acdada1a97142b5b4350c8d253fd2b5071677 -RMD160 (MechanicalSoup-0.7.0.tar.gz) = 5527db9d3f443efd43005aaa80f72f2517c960ca -SHA512 (MechanicalSoup-0.7.0.tar.gz) = 51fd9f3e637449f01505c3142dcbe49f97b9556cae6432a244549d6fadff96e5528ae506be1e634d76efaa0af6f1feb3c3c59b31ff6ace22f98efd10d783606b -Size (MechanicalSoup-0.7.0.tar.gz) = 10615 bytes +SHA1 (MechanicalSoup-0.8.0.tar.gz) = f25b014570e9f7587da5774fc16fb373a42e201a +RMD160 (MechanicalSoup-0.8.0.tar.gz) = 7bea207d10ea5e72fbb04b29c1a5cbd3d3154c2a +SHA512 (MechanicalSoup-0.8.0.tar.gz) = 05053780ec80e8856014202e74e5b00c8f4cf05309eaccbf775e7772e78f8935fa87ef55598c4e1dc66e8639129628399076a31c0fe02cdf2747a28529451b19 +Size (MechanicalSoup-0.8.0.tar.gz) = 13769 bytes --_----------=_1507271505193380--