blob: 4a1eea0dfc4c1c68ed45dd49e1b43c16bc480e8e (
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
27
28
29
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-1.7.1.ebuild,v 1.2 2007/07/04 21:30:14 lucass Exp $
NEED_PYTHON=2.3
inherit distutils
KEYWORDS="~amd64 ~x86"
DESCRIPTION="A simple, fast, complete, correct and extensible JSON encoder and decoder."
HOMEPAGE="http://undefined.org/python/#simplejson"
SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
IUSE="test"
DEPEND="test? ( dev-python/nose )
dev-python/setuptools"
RDEPEND=""
src_install() {
distutils_src_install
dohtml -r docs/*
}
src_test() {
PYTHONPATH=. "${python}" setup.py test || die "test failed"
}
|