pkgsrc/www/py-MechanicalSoup/Makefile
adam 37375134da 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.
2018-12-03 19:59:32 +00:00

28 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2018/12/03 19:59:32 adam Exp $
DISTNAME= MechanicalSoup-0.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
MAINTAINER= pkgsrc-users@NetBSD.org
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}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
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
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"