./www/py-MechanicalSoup, Library for automating interaction with websites

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.0, Package name: py27-MechanicalSoup-0.8.0, Maintainer: pkgsrc-users

A Python library for automating interaction with websites.
MechanicalSoup automatically stores and sends cookies, follows
redirects, and can follow links and submit forms. It doesn't do
Javascript.


Required to run:
[lang/python27] [www/py-beautifulsoup4]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f25b014570e9f7587da5774fc16fb373a42e201a
RMD160: 7bea207d10ea5e72fbb04b29c1a5cbd3d3154c2a
Filesize: 13.446 KB

Version history: (Expand)


CVS history: (Expand)


   2017-10-06 08:31:44 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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/Mec … uirements/
* The version number now appears in a single place in the source code.
   2017-05-14 15:00:12 by Leonardo Taccari | Files touched by this commit (1) | Package updated
Log message:
- Also needs py-requests and py-six, add them to DEPENDS.
- Unset USE_LANGUAGES list (no C compiler is needed).
- Bump PKGREVISION.

Discussed with <wiz>
   2017-05-12 12:02:13 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py-MechanicalSoup-0.7.0 as www/py-MechanicalSoup.

A Python library for automating interaction with websites.
MechanicalSoup automatically stores and sends cookies, follows
redirects, and can follow links and submit forms. It doesn't do
Javascript.