summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-01 09:04:01 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-01 09:04:01 +0200
commit5e1de743979bc7177e2e8869c53ede64127f2397 (patch)
treee036c62503c87e55d55be23c5c9a5052c81d87dc /dev-python/pykwalify/pykwalify-1.5.0.ebuild
parentdev-python/pyldap: New package, ebuild written by me (diff)
downloadgentoo-5e1de743979bc7177e2e8869c53ede64127f2397.tar.gz
gentoo-5e1de743979bc7177e2e8869c53ede64127f2397.tar.bz2
gentoo-5e1de743979bc7177e2e8869c53ede64127f2397.zip
dev-python/pykwalify: Version Bump
Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pykwalify/pykwalify-1.5.0.ebuild')
-rw-r--r--dev-python/pykwalify/pykwalify-1.5.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pykwalify/pykwalify-1.5.0.ebuild b/dev-python/pykwalify/pykwalify-1.5.0.ebuild
new file mode 100644
index 000000000000..2d4f6829ed28
--- /dev/null
+++ b/dev-python/pykwalify/pykwalify-1.5.0.ebuild
@@ -0,0 +1,37 @@
+# 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
+
+DESCRIPTION="Python lib/cli for JSON/YAML schema validation"
+HOMEPAGE="https://pypi.python.org/pypi/pykwalify https://github.com/Grokzen/pykwalify"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+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
+}