bf9d3defeb
1.4.1: - This is the latest release with py2 support - Remove py33, py34 support - web scraping improvements: default timeout and session support - Add API methods to serialize form-related elements according to spec - Include HTML markup when querying textarea text/value
23 lines
671 B
Makefile
23 lines
671 B
Makefile
# $NetBSD: Makefile,v 1.9 2019/10/26 22:55:24 adam Exp $
|
|
|
|
DISTNAME= pyquery-1.4.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= python textproc
|
|
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
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|