pkgsrc/textproc/py-pyquery/Makefile
wiz 16a0bdfbe7 py-pyquery: fix for latest setuptools
Empty entry_points.txt are not created any longer
2022-03-05 09:00:56 +00:00

26 lines
720 B
Makefile

# $NetBSD: Makefile,v 1.12 2022/03/05 09:00:56 wiz Exp $
DISTNAME= pyquery-1.4.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyquery/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/gawel/pyquery
COMMENT= Python jquery-like library
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-cssselect>0.7.9:../../textproc/py-cssselect
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.1:../../textproc/py-lxml
TEST_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"