blob: ced762b13fdd9379d7bccd45cd32e897b53a7456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
MY_PN="PottyMouth"
MY_P=${MY_PN}-${PV}
DESCRIPTION="A python library that scrubs untrusted text to valid, nice-looking, completely safe XHTML"
HOMEPAGE="http://devsuki.com/pottymouth/"
SRC_URI="http://devsuki.com/${PN}/dist/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND="dev-lang/python"
S=${WORKDIR}/${MY_P}
src_test() {
distutils_python_version
${python} setup.py test || die "Tests failed"
}
|