1.5.0: * New Selector.attrib and SelectorList.attrib properties which make it easier to get attributes of HTML elements. * CSS selectors became faster: compilation results are cached (LRU cache is used for css2xpath), so there is less overhead when the same CSS expression is used several times. * .get() and .getall() selector methods are documented and recommended over .extract_first() and .extract(). * Various documentation tweaks and improvements.
23 lines
826 B
Makefile
23 lines
826 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/07/09 06:17:14 adam Exp $
|
|
|
|
DISTNAME= parsel-1.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/parsel/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/scrapy/parsel
|
|
COMMENT= Library to extract data from HTML and XML using XPath and CSS
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.9:../../textproc/py-cssselect
|
|
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.3:../../textproc/py-lxml
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-w3lib>=1.8.0:../../www/py-w3lib
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|