head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.2 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.14.0.2 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.13.0.2 pkgsrc-2023Q2-base:1.13 pkgsrc-2023Q1:1.11.0.10 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.8 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.11.0.6 pkgsrc-2022Q3-base:1.11 pkgsrc-2022Q2:1.11.0.4 pkgsrc-2022Q2-base:1.11 pkgsrc-2022Q1:1.11.0.2 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.10.0.4 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.2 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.9.0.4 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.2 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.7.0.8 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.6 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.4 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.2 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.5.0.12 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.8 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.6 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.4 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.2 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.4.0.2 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.3.0.6 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.4 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.2 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.2.0.6 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.2 pkgsrc-2017Q2-base:1.2; locks; strict; comment @# @; 1.15 date 2023.11.07.22.38.08; author wiz; state Exp; branches; next 1.14; commitid 0SUcCzviRXnrjJLE; 1.14 date 2023.07.08.05.24.43; author adam; state Exp; branches; next 1.13; commitid vxhxhWBaUXy4wXvE; 1.13 date 2023.06.06.12.42.49; author riastradh; state Exp; branches; next 1.12; commitid xhspr6Z8JLQOWSrE; 1.12 date 2023.05.26.20.00.17; author adam; state Exp; branches; next 1.11; commitid Zd1tDuTJu487KvqE; 1.11 date 2022.01.04.20.55.14; author wiz; state Exp; branches; next 1.10; commitid CYyhdK9qtoffkmnD; 1.10 date 2021.08.18.16.38.36; author leot; state Exp; branches; next 1.9; commitid zVF1zpa03Px2ot5D; 1.9 date 2021.03.01.20.42.12; author leot; state Exp; branches; next 1.8; commitid DPbsxTTF0kyNcEJC; 1.8 date 2021.02.06.20.45.45; author leot; state Exp; branches; next 1.7; commitid KIjY5Jh5TMcRXGGC; 1.7 date 2020.03.22.12.28.28; author rillig; state Exp; branches; next 1.6; commitid 08hMwiOH4tlZwo1C; 1.6 date 2020.02.29.19.43.52; author adam; state Exp; branches; next 1.5; commitid e4r8kSEi3sw3EBYB; 1.5 date 2018.12.03.19.59.32; author adam; state Exp; branches; next 1.4; commitid f8gS0FxuZ5wHho2B; 1.4 date 2018.08.02.15.39.31; author adam; state Exp; branches; next 1.3; commitid JCpWykaCw3r3OyMA; 1.3 date 2017.10.06.06.31.44; author adam; state Exp; branches; next 1.2; commitid tnJyJwvhYfcXpX9A; 1.2 date 2017.05.14.13.00.12; author leot; state Exp; branches; next 1.1; commitid Nfqucz57im18dmRz; 1.1 date 2017.05.12.10.02.13; author wiz; state Exp; branches; next ; commitid on7Y5P5zexvpj5Rz; desc @@ 1.15 log @*: latest py-sphinx only support Python 3.9+ @ text @# $NetBSD: Makefile,v 1.14 2023/07/08 05:24:43 adam Exp $ DISTNAME= MechanicalSoup-1.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=M/MechanicalSoup/} MAINTAINER= leot@@NetBSD.org HOMEPAGE= https://github.com/hickford/MechanicalSoup COMMENT= Library for automating interaction with websites LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.7:../../www/py-beautifulsoup4 DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml DEPENDS+= ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock>=1.3.0:../../devel/py-requests-mock TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../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 TEST_DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 38 .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.14 log @py-MechanicalSoup: updated to 1.3.0 Version 1.3 =========== Breaking changes ---------------- * To prevent malicious web servers from reading arbitrary files from the client, files must now be opened explicitly by the user in order to upload their contents in form submission. For example, instead of: browser["upload"] = "/path/to/file" you would now use: browser["upload"] = open("/path/to/file", "rb") This remediates `CVE-2023-34457 `__. Main changes ------------ * Added support for Python 3.11. * Allow submitting a form with no submit element. This can be achieved by passing ``submit=False`` to ``StatefulBrowser.submit_selected``. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2023/06/06 12:42:49 riastradh Exp $ d27 1 a27 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.13 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/05/26 20:00:17 adam Exp $ d3 1 a3 1 DISTNAME= MechanicalSoup-1.2.0 d13 1 a16 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner d23 1 a26 1 # Since 1.1.0 only for Python 3 @ 1.12 log @py-MechanicalSoup: updated to 1.2.0 Version 1.2 =========== Main changes * Added support for Python 3.10. * Add support for HTML form-associated elements (i.e. input elements that are associated with a form by a ``form`` attribute, but are not a child element of the form.) Bug fixes * When uploading a file, only the filename is now submitted to the server. Previously, the full file path was being submitted, which exposed more local information than users may have been expecting. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2022/01/04 20:55:14 wiz Exp $ d16 1 a16 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner @ 1.11 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/08/18 16:38:36 leot Exp $ d3 1 a3 1 DISTNAME= MechanicalSoup-1.1.0 a4 1 PKGREVISION= 1 @ 1.10 log @py-MechanicalSoup: Update to 1.1.0 Changes: 1.1.0 ----- - Dropped support for EOL Python versions: 2.7 and 3.5. - Increased minimum version requirement for requests from 2.0 to 2.22.0 and beautifulsoup4 from 4.4 to 4.7. - Use encoding from the HTTP request when no HTML encoding is specified. [#355] - Added the put method to the Browser class. This is a light wrapper around requests.Session.put. [#359] - Don't override Referer headers passed in by the user. [#364] - StatefulBrowser methods follow_link and download_link now support passing a dictionary of keyword arguments to requests, via requests_kwargs. For symmetry, they also support passing Beautiful Soup args in as bs4_kwargs, although any excess **kwargs are sent to Beautiful Soup as well, just as they were previously. [#368] @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2021/03/01 20:42:12 leot Exp $ d5 1 @ 1.9 log @py-MechanicalSoup: Take maintainership @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2021/02/06 20:45:45 leot Exp $ d3 1 a3 1 DISTNAME= MechanicalSoup-1.0.0 d13 1 a13 1 DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4:../../www/py-beautifulsoup4 d15 1 a15 2 DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six d18 1 a18 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test d26 2 a27 5 .include "../../lang/python/pyversion.mk" .if ${PYPKGPREFIX} == py27 TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27 do-test: .endif @ 1.8 log @py-MechanicalSoup: Update to 1.0.0 Changes: 1.0.0 ===== This is the last release that will support Python 2.7. Thanks to the many contributors that made this release possible! Main changes ------------ - Added support for Python 3.8 and 3.9. - StatefulBrowser has new properties page, form, and url, which can be used in place of the methods get_current_page, get_current_form and get_url respectively (e.g. the new x.page is equivalent to x.get_current_page()). These methods may be deprecated in a future release. [#175] - StatefulBrowser.form will raise an AttributeError instead of returning None if no form has been selected yet. Note that StatefulBrowser.get_current_form() still returns None for backward compatibility. Bug fixes --------- - Decompose