summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-04-03 06:48:04 +0000
committerTim Harder <radhermit@gentoo.org>2014-04-03 06:48:04 +0000
commit640c395fc4a642c77550e82369cb44e383fdeb1b (patch)
tree19da985462c770557204031339c5575bbf74f11c /dev-python/jsonpatch
parentVersion bump, run tests, update PYTHON_COMPAT, and add upstream info to metad... (diff)
downloadgentoo-2-640c395fc4a642c77550e82369cb44e383fdeb1b.tar.gz
gentoo-2-640c395fc4a642c77550e82369cb44e383fdeb1b.tar.bz2
gentoo-2-640c395fc4a642c77550e82369cb44e383fdeb1b.zip
Version bump, run tests, update PYTHON_COMPAT, and add upstream info to metadata.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/jsonpatch')
-rw-r--r--dev-python/jsonpatch/ChangeLog9
-rw-r--r--dev-python/jsonpatch/jsonpatch-1.5.ebuild25
-rw-r--r--dev-python/jsonpatch/metadata.xml3
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-python/jsonpatch/ChangeLog b/dev-python/jsonpatch/ChangeLog
index 0508fc6d4ecd..59a39150bf50 100644
--- a/dev-python/jsonpatch/ChangeLog
+++ b/dev-python/jsonpatch/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/jsonpatch
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpatch/ChangeLog,v 1.4 2014/03/19 18:24:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpatch/ChangeLog,v 1.5 2014/04/03 06:48:04 radhermit Exp $
+
+*jsonpatch-1.5 (03 Apr 2014)
+
+ 03 Apr 2014; Tim Harder <radhermit@gentoo.org> +jsonpatch-1.5.ebuild,
+ metadata.xml:
+ Version bump, run tests, update PYTHON_COMPAT, and add upstream info to
+ metadata.
19 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> jsonpatch-0.12.ebuild:
Keyword amd64-linux and x86-linux
diff --git a/dev-python/jsonpatch/jsonpatch-1.5.ebuild b/dev-python/jsonpatch/jsonpatch-1.5.ebuild
new file mode 100644
index 000000000000..3e549be4e943
--- /dev/null
+++ b/dev-python/jsonpatch/jsonpatch-1.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpatch/jsonpatch-1.5.ebuild,v 1.1 2014/04/03 06:48:04 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Apply JSON-Patches according to
+ http://tools.ietf.org/html/draft-pbryan-json-patch-04"
+HOMEPAGE="https://github.com/stefankoegl/python-json-patch"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=dev-python/jsonpointer-1.3[${PYTHON_USEDEP}]"
+
+python_test() {
+ "${PYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/jsonpatch/metadata.xml b/dev-python/jsonpatch/metadata.xml
index a64b083c0003..4cd51fd707bf 100644
--- a/dev-python/jsonpatch/metadata.xml
+++ b/dev-python/jsonpatch/metadata.xml
@@ -10,5 +10,8 @@
Python library to apply JSON Patches according to
http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-08
</longdescription>
+ <upstream>
+ <remote-id type="pypi">jsonpatch</remote-id>
+ </upstream>
</pkgmetadata>