pkgsrc/textproc/py-lxml/Makefile
adam e10dead2f7 py-lxml: updated to 4.3.0
Features added
* The module lxml.sax is compiled using Cython in order to speed it up.
* lxml.sax.ElementTreeProducer now preserves the namespace prefixes. If two prefixes point to the same URI, the first prefix in alphabetical order is used. Patch by Lennart Regebro.
* Updated ISO-Schematron implementation to 2013 version (now MIT licensed) and the corresponding schema to the 2016 version (with optional “properties”).

Other changes
* Support for Python 2.6 and 3.3 was removed. Patch by hugovk.
* The minimum dependency versions were raised to libxml2 2.9.2 and libxslt 1.1.27, which were released in 2014 and 2012 respectively.
* Built with Cython 0.29.2.
2019-01-04 21:50:31 +00:00

26 lines
904 B
Makefile

# $NetBSD: Makefile,v 1.58 2019/01/04 21:50:31 adam Exp $
DISTNAME= lxml-4.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lxml.de/
COMMENT= Python binding for libxml2 and libxslt
LICENSE= modified-bsd
TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.7:../../textproc/py-cssselect
PYSETUPTESTARGS= --run-tests
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/egg.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.2
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.27
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# fix for UnicodeEncodeError: 'ascii' codec can't encode characters
TEST_ENV+= LC_ALL=en_US.UTF-8