2016-11-18 22:39:22 +01:00

28 lines
889 B
Makefile

# $NetBSD: Makefile,v 1.38 2016/08/22 14:01:35 wiz Exp $
DISTNAME= lxml-3.6.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= http://lxml.de/files/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lxml.de/
COMMENT= Python binding for libxml2 and libxslt
LICENSE= modified-bsd
# as of 3.6.1, two test failures on NetBSD, see
# https://bugs.launchpad.net/lxml/+bug/1522052
# third error in 3.6.1
# https://bugs.launchpad.net/lxml/+bug/1608479
TEST_TARGET= test_inplace
.include "../../lang/python/egg.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.8
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.26
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# needed for "make test" with python-3.x -- fixes first two errors noted above
#MAKE_ENV+= LC_ALL=en_US.UTF-8