pkgsrc/www/py-MechanicalSoup/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

31 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:14 wiz Exp $
DISTNAME= MechanicalSoup-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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"