pkgsrc/www/py-MechanicalSoup/Makefile
leot 3b084dda23 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]
2021-08-18 16:38:36 +00:00

30 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2021/08/18 16:38:36 leot Exp $
DISTNAME= MechanicalSoup-1.1.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
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
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
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
USE_LANGUAGES= # none
# Since 1.1.0 only for Python 3
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"