summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-06-19 07:48:17 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-06-19 07:48:17 +0000
commit4dfff02b7321bf832b8cb69d5d0f9fd87710a379 (patch)
treec839f93f3a01f736d95189944ef82834fc91f087 /dev-python/jsonpickle
parentRemove mutt_read_line hunk from ssl_gnutls patch, thanks to Martin Jansa in b... (diff)
downloadhistorical-4dfff02b7321bf832b8cb69d5d0f9fd87710a379.tar.gz
historical-4dfff02b7321bf832b8cb69d5d0f9fd87710a379.tar.bz2
historical-4dfff02b7321bf832b8cb69d5d0f9fd87710a379.zip
Initial commit (needed as dependency for git-cola).
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-python/jsonpickle')
-rw-r--r--dev-python/jsonpickle/ChangeLog10
-rw-r--r--dev-python/jsonpickle/Manifest4
-rw-r--r--dev-python/jsonpickle/jsonpickle-0.2.0.ebuild32
-rw-r--r--dev-python/jsonpickle/metadata.xml5
4 files changed, 51 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/Manifest b/dev-python/jsonpickle/Manifest
new file mode 100644
index 000000000000..0fe40212be97
--- /dev/null
+++ b/dev-python/jsonpickle/Manifest
@@ -0,0 +1,4 @@
+DIST jsonpickle-0.2.0.tar.gz 14644 RMD160 cf9c72fb36e6cc70950958325b9f4c8dcc954575 SHA1 a8486c86c311f33d12137dbb647bf6b6fc924be0 SHA256 9d65f34864d7100cd2ddc9c8f7daabac640ad3ce5d4d0c6be69c4cc525d4282f
+EBUILD jsonpickle-0.2.0.ebuild 869 RMD160 5a3e8fac679d84630fe5d206d4d38b544037316f SHA1 86b10d46b831d229428ba40910c3902c5b1474fe SHA256 ebc4e5b81b68d0520ccd68e060cda8e41651e9f08f3de8915aa52a05fc4baf75
+MISC ChangeLog 401 RMD160 514b46ac55e174c624ceaee8ed39342285291619 SHA1 5410d6ff4ded92683025eec4fa0c6a1bc2299bc0 SHA256 1a11158405e3fa6ffb711a128c97eb221e0e3fb9ac791b4d0125ffbfc0f710fa
+MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
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>