summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-08-27 17:35:56 +0200
committerJustin Lecher <jlec@gentoo.org>2015-08-27 17:36:05 +0200
commit3f9734ef19af6060db4288dc32a2935d8a54686c (patch)
tree7d35c2cf5f55a7c6be064a700298f53684cf404d /dev-python/pykwalify/pykwalify-9999.ebuild
parentkde-apps: version bump kde-runtime 15.08.0. (diff)
downloadgentoo-3f9734ef19af6060db4288dc32a2935d8a54686c.tar.gz
gentoo-3f9734ef19af6060db4288dc32a2935d8a54686c.tar.bz2
gentoo-3f9734ef19af6060db4288dc32a2935d8a54686c.zip
dev-python/pykwalify: New package, ebuild written by me
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pykwalify/pykwalify-9999.ebuild')
-rw-r--r--dev-python/pykwalify/pykwalify-9999.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pykwalify/pykwalify-9999.ebuild b/dev-python/pykwalify/pykwalify-9999.ebuild
new file mode 100644
index 000000000000..7732db73f88e
--- /dev/null
+++ b/dev-python/pykwalify/pykwalify-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Python lib/cli for JSON/YAML schema validation"
+HOMEPAGE="https://pypi.python.org/pypi/pykwalify https://github.com/Grokzen/pykwalify"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/Grokzen/pykwalify.git"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS=""
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/docopt-0.6.2
+ >=dev-python/pyyaml-3.11
+ >=dev-python/python-dateutil-2.4.2
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/testfixtures[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.4.0-S.patch )
+
+python_test() {
+ py.test || die
+}