blob: e9e1a28a79b7d44bdb4bf8e2b4195052042e801e (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/demjson-1.1.ebuild,v 1.2 2009/02/15 22:10:38 patrick Exp $
NEED_PYTHON=2.3
inherit distutils
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Read and write JSON-encoded data, compliant with RFC 4627"
HOMEPAGE="http://deron.meranda.us/python/demjson/"
SRC_URI="http://deron.meranda.us/python/demjson/dist/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
DEPEND="dev-python/setuptools"
RDEPEND=""
src_install() {
distutils_src_install
dohtml -r docs/*
}
src_test() {
cd test && PYTHONPATH=.. python test_demjson.py || die "test failed"
}
|