summaryrefslogtreecommitdiff
path: root/textproc/py-pyquery/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-pyquery/Makefile')
-rw-r--r--textproc/py-pyquery/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/textproc/py-pyquery/Makefile b/textproc/py-pyquery/Makefile
index 4baafa09f32..c205e6fb23a 100644
--- a/textproc/py-pyquery/Makefile
+++ b/textproc/py-pyquery/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2016/06/08 17:43:41 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/07/11 08:18:43 adam Exp $
-DISTNAME= pyquery-1.2.9
+DISTNAME= pyquery-1.2.17
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= python textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyquery/}
-EXTRACT_SUFX= .zip
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= https://github.com/gawel/pyquery
@@ -12,12 +11,14 @@ COMMENT= Python jquery-like library
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.1:../../textproc/py-lxml
-DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+DEPENDS+= ${PYPKGPREFIX}-cssselect>0.7.9:../../textproc/py-cssselect
+# circular dependency
+#BUILD_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
USE_LANGUAGES= # none
-post-install:
- ${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}/*
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PREFIX}/bin/py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"