blob: bf017a85a2e73992a17f21fa4af814a972c3f810 (
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
31
32
33
34
35
36
37
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/jsonpickle-0.3.0.ebuild,v 1.1 2009/12/12 06:36:49 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Python library for serializing any arbitrary object graph into JSON."
HOMEPAGE="http://jsonpickle.github.com/ http://pypi.python.org/pypi/jsonpickle"
SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="|| ( >=dev-lang/python-2.6
( dev-lang/python:2.5 dev-python/simplejson ) )"
DEPEND="${RDEPEND}
dev-python/setuptools"
RESTRICT_PYTHON_ABIS="3.*"
#src_prepare() {
# distutils_src_prepare
#
# # thirdparty_tests.py requires dev-python/feedparser.
# sed -e "/thirdparty_tests/d" -i tests/runtests.py
#}
#src_test() {
# testing() {
# PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/runtests.py
# }
# python_execute_function testing
#}
|