1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 SUPPORT_PYTHON_ABIS="1"
9 inherit distutils eutils
12 DESCRIPTION="A python library that scrubs untrusted text to valid, nice-looking, completely safe XHTML"
13 HOMEPAGE="http://glyphobet.net/pottymouth/"
14 SRC_URI="${HOMEPAGE}dist/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 RESTRICT_PYTHON_ABIS="3.*"
28 epatch "${FILESDIR}/${P}-fix-setup.patch" || die
33 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py || die "Tests failed"
35 python_execute_function testing