summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2013-01-17 17:25:38 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2013-01-17 17:25:38 +0000
commitf9346843f186a786e1b7dff26a301c2a89bcaf4c (patch)
tree2aaf29aae9bc5f61deb0cf4f07aac004d68e144d /dev-python/warlock
parentadding ~x86 to jsonschema-0.8.0 as I have tested it (diff)
downloadgentoo-2-f9346843f186a786e1b7dff26a301c2a89bcaf4c.tar.gz
gentoo-2-f9346843f186a786e1b7dff26a301c2a89bcaf4c.tar.bz2
gentoo-2-f9346843f186a786e1b7dff26a301c2a89bcaf4c.zip
adding warlock for python-glanceclient
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'dev-python/warlock')
-rw-r--r--dev-python/warlock/ChangeLog10
-rw-r--r--dev-python/warlock/metadata.xml13
-rw-r--r--dev-python/warlock/warlock-0.7.0.ebuild28
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/warlock/ChangeLog b/dev-python/warlock/ChangeLog
new file mode 100644
index 000000000000..76b7f6d565bd
--- /dev/null
+++ b/dev-python/warlock/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/warlock
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/warlock/ChangeLog,v 1.1 2013/01/17 17:25:38 prometheanfire Exp $
+
+*warlock-0.7.0 (17 Jan 2013)
+
+ 17 Jan 2013; Matthew Thode <prometheanfire@gentoo.org> +warlock-0.7.0.ebuild,
+ +metadata.xml:
+ adding warlock for python-glanceclient
+
diff --git a/dev-python/warlock/metadata.xml b/dev-python/warlock/metadata.xml
new file mode 100644
index 000000000000..a2f681752045
--- /dev/null
+++ b/dev-python/warlock/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ Python object model built on JSON schema and JSON patch.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-python/warlock/warlock-0.7.0.ebuild b/dev-python/warlock/warlock-0.7.0.ebuild
new file mode 100644
index 000000000000..b6c8c6b4543c
--- /dev/null
+++ b/dev-python/warlock/warlock-0.7.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/warlock/warlock-0.7.0.ebuild,v 1.1 2013/01/17 17:25:38 prometheanfire Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_6 python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python object model built on JSON schema and JSON patch"
+HOMEPAGE="http://github.com/bcwaldon/warlock"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
+ dev-python/jsonpatch
+ dev-python/jsonschema )"
+RDEPEND="dev-python/jsonpatch
+ dev-python/jsonschema"
+
+python_test() {
+ "${PYTHON}" test/test_core.py || die
+}