# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 optfeature toolchain-funcs DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" HOMEPAGE="https://lxml.de/ https://pypi.org/project/lxml/ https://github.com/lxml/lxml" SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz" S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="python2" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" # Note: lib{xml2,xslt} are used as C libraries, not Python modules. RDEPEND=" >=dev-libs/libxml2-2.9.5 >=dev-libs/libxslt-1.1.28 !