blob: 4f0a7099ac70464d58ba144a3b15c08ad8c3dcee (
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
30
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.0.4.ebuild,v 1.1 2008/11/22 17:17:08 neurogeek Exp $
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="doc test"
RDEPEND="<dev-lang/python-2.6"
DEPEND="dev-python/setuptools
${RDEPEND}"
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/*
fi
}
src_test() {
PYTHONPATH=. "${python}" simplejson/tests/__init__.py || die "test failed"
}
|