summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2009-04-23 00:39:20 +0000
committerJesus Rivero <neurogeek@gentoo.org>2009-04-23 00:39:20 +0000
commit7af8d7c0101f539339ef59db7bc9a935cc41b20a (patch)
treec71e7352df128f2b6015fbd7702646951da7685e
parentVersion bumped. (diff)
downloadgentoo-2-7af8d7c0101f539339ef59db7bc9a935cc41b20a.tar.gz
gentoo-2-7af8d7c0101f539339ef59db7bc9a935cc41b20a.tar.bz2
gentoo-2-7af8d7c0101f539339ef59db7bc9a935cc41b20a.zip
Version bump. Closes bug #266771. Thanks to Lukas.
(Portage version: 2.2_rc16/cvs/Linux 2.6.18-gentoo-r3 i686)
-rw-r--r--dev-python/demjson/ChangeLog7
-rw-r--r--dev-python/demjson/demjson-1.4.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/demjson/ChangeLog b/dev-python/demjson/ChangeLog
index 3acfea4866fc..a3cdcdea3797 100644
--- a/dev-python/demjson/ChangeLog
+++ b/dev-python/demjson/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/demjson
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/ChangeLog,v 1.3 2009/02/15 22:10:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/ChangeLog,v 1.4 2009/04/23 00:39:20 neurogeek Exp $
+
+*demjson-1.4 (23 Apr 2009)
+
+ 23 Apr 2009; Jesus Rivero <neurogeek@gentoo.org> +demjson-1.4.ebuild:
+ Version bump. Closes bug #266771. Thanks to Lukas.
15 Feb 2009; Patrick Lauer <patrick@gentoo.org> demjson-1.1.ebuild:
Adding ~amd64 keyword
diff --git a/dev-python/demjson/demjson-1.4.ebuild b/dev-python/demjson/demjson-1.4.ebuild
new file mode 100644
index 000000000000..b4ea66230289
--- /dev/null
+++ b/dev-python/demjson/demjson-1.4.ebuild
@@ -0,0 +1,34 @@
+# 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.4.ebuild,v 1.1 2009/04/23 00:39:20 neurogeek Exp $
+
+EAPI=1
+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/${PN}/dist/${P}.tar.gz"
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+DEPEND="dev-python/setuptools"
+RDEPEND=""
+
+DOCS="AUTHORS.txt CHANGES.txt NEWS.txt THANKS.txt"
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/* || die "Failed to install docs"
+ fi
+}
+
+src_test() {
+ cd test && PYTHONPATH=.. python test_demjson.py || die "Test failed"
+}