diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-06-19 07:48:17 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-06-19 07:48:17 +0000 |
commit | 655f4275fb94f5f8fe12f597d3d34a8a8c0e5d81 (patch) | |
tree | 755874e3eb5cc3fb92f4bc7d6372e5cf35ceeb11 /dev-python/jsonpickle | |
parent | Remove mutt_read_line hunk from ssl_gnutls patch, thanks to Martin Jansa in b... (diff) | |
download | gentoo-2-655f4275fb94f5f8fe12f597d3d34a8a8c0e5d81.tar.gz gentoo-2-655f4275fb94f5f8fe12f597d3d34a8a8c0e5d81.tar.bz2 gentoo-2-655f4275fb94f5f8fe12f597d3d34a8a8c0e5d81.zip |
Initial commit (needed as dependency for git-cola).
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/jsonpickle')
-rw-r--r-- | dev-python/jsonpickle/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/jsonpickle/jsonpickle-0.2.0.ebuild | 32 | ||||
-rw-r--r-- | dev-python/jsonpickle/metadata.xml | 5 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/jsonpickle/ChangeLog b/dev-python/jsonpickle/ChangeLog new file mode 100644 index 000000000000..f79a141d441b --- /dev/null +++ b/dev-python/jsonpickle/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/jsonpickle +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/ChangeLog,v 1.1 2009/06/19 07:48:17 dev-zero Exp $ + +*jsonpickle-0.2.0 (19 Jun 2009) + + 19 Jun 2009; Tiziano Müller <dev-zero@gentoo.org> + +jsonpickle-0.2.0.ebuild, +metadata.xml: + Initial commit (needed as dependency for git-cola). + diff --git a/dev-python/jsonpickle/jsonpickle-0.2.0.ebuild b/dev-python/jsonpickle/jsonpickle-0.2.0.ebuild new file mode 100644 index 000000000000..a95ac67c003b --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-0.2.0.ebuild @@ -0,0 +1,32 @@ +# 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.2.0.ebuild,v 1.1 2009/06/19 07:48:17 dev-zero Exp $ + +EAPI="2" + +inherit distutils + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON." +HOMEPAGE="http://code.google.com/p/jsonpickle/" +SRC_URI="http://jsonpickle.googlecode.com/files/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="|| ( >=dev-lang/python-2.6 + ( dev-lang/python:2.5 dev-python/simplejson ) )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/install_requires/d' \ + setup.py || die "sed failed" + sed -i \ + -e '/thirdparty/d' \ + jsonpickle/tests/__init__.py || die "sed failed" +} + +src_test() { + PYTHONPATH="./build/lib" "${python}" setup.py test || die "tests failed" +} diff --git a/dev-python/jsonpickle/metadata.xml b/dev-python/jsonpickle/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/jsonpickle/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |