summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-06-10 07:25:37 +0000
committerZac Medico <zmedico@gentoo.org>2015-06-10 07:25:37 +0000
commitd64fc68d22ac67ee244a95f134ecc0cb29827003 (patch)
treeddc673d337c37e8c02ffd24610da7b55d867a3ba /dev-python/jsonmerge
parentRemove unneeded useflag description from metadata.xml (diff)
downloadgentoo-2-d64fc68d22ac67ee244a95f134ecc0cb29827003.tar.gz
gentoo-2-d64fc68d22ac67ee244a95f134ecc0cb29827003.tar.bz2
gentoo-2-d64fc68d22ac67ee244a95f134ecc0cb29827003.zip
Add jsonmerge.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'dev-python/jsonmerge')
-rw-r--r--dev-python/jsonmerge/ChangeLog9
-rw-r--r--dev-python/jsonmerge/jsonmerge-1.1.0.ebuild26
-rw-r--r--dev-python/jsonmerge/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/jsonmerge/ChangeLog b/dev-python/jsonmerge/ChangeLog
new file mode 100644
index 000000000000..456ed5fa848c
--- /dev/null
+++ b/dev-python/jsonmerge/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/jsonmerge
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonmerge/ChangeLog,v 1.1 2015/06/10 07:25:37 zmedico Exp $
+
+*jsonmerge-1.1.0 (10 Jun 2015)
+
+ 10 Jun 2015; Zac Medico <zmedico@gentoo.org> +jsonmerge-1.1.0.ebuild,
+ +metadata.xml:
+ Add jsonmerge.
diff --git a/dev-python/jsonmerge/jsonmerge-1.1.0.ebuild b/dev-python/jsonmerge/jsonmerge-1.1.0.ebuild
new file mode 100644
index 000000000000..db156f0fa2da
--- /dev/null
+++ b/dev-python/jsonmerge/jsonmerge-1.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonmerge/jsonmerge-1.1.0.ebuild,v 1.1 2015/06/10 07:25:37 zmedico Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_{3,4}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Merge a series of JSON documents."
+HOMEPAGE="https://github.com/omergertel/jsonmerge/ https://pypi.python.org/pypi/jsonmerge/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REPEND="dev-python/jsonschema[${PYTHON_USEDEP}]"
+DEPEND="${REPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ PYTHONPATH="${PWD}" python -m unittest \
+ $(find tests -name 'test_*.py' | LC_ALL=C sort | sed -e 's:/:.:' -e 's:.py$::') || die
+}
diff --git a/dev-python/jsonmerge/metadata.xml b/dev-python/jsonmerge/metadata.xml
new file mode 100644
index 000000000000..eb70cddc9dd4
--- /dev/null
+++ b/dev-python/jsonmerge/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">jsonmerge</remote-id>
+ </upstream>
+ <maintainer>
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+</pkgmetadata>