summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-10-30 00:03:42 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-10-30 00:03:42 +0200
commit76c573ddbe32c8c761bc224d462f38692e9ba07e (patch)
treec126125041325e42705144e5aa9f96b2ac51287f /dev-python
parentdev-python/whichcraft: Initial version (diff)
downloadgentoo-76c573ddbe32c8c761bc224d462f38692e9ba07e.tar.gz
gentoo-76c573ddbe32c8c761bc224d462f38692e9ba07e.tar.bz2
gentoo-76c573ddbe32c8c761bc224d462f38692e9ba07e.zip
dev-python/chai: Initial version
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/chai/Manifest1
-rw-r--r--dev-python/chai/chai-1.1.1.ebuild23
-rw-r--r--dev-python/chai/metadata.xml8
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/chai/Manifest b/dev-python/chai/Manifest
new file mode 100644
index 000000000000..a5cf8349e117
--- /dev/null
+++ b/dev-python/chai/Manifest
@@ -0,0 +1 @@
+DIST chai-1.1.1.tar.gz 81684 SHA256 7489a1124c780972ef383b2930fc9307afe8667d009fcaf69d97b29ce370d304 SHA512 f51406258327d9a49e820f0489d60e87f576c72232c701e99f96945932ed300582e6dd81608e5b262e2645c4e9c5216ec8f52e98d454c994beac8d1d8137dc87 WHIRLPOOL d9d8468745be52dff15194440b8f32cef7832d5bffe0453ac3d15e4c7e1948344936c467d9832ed2db441a74b6d5d32ad2792d9735976ce18eaf37a913abdca8
diff --git a/dev-python/chai/chai-1.1.1.ebuild b/dev-python/chai/chai-1.1.1.ebuild
new file mode 100644
index 000000000000..e71d01501cfc
--- /dev/null
+++ b/dev-python/chai/chai-1.1.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Easy to use mocking, stubbing and spying framework"
+HOMEPAGE="https://github.com/agoragames/chai"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_test() {
+ nosetests -v tests || die
+}
diff --git a/dev-python/chai/metadata.xml b/dev-python/chai/metadata.xml
new file mode 100644
index 000000000000..7f4f33c6dbc9
--- /dev/null
+++ b/dev-python/chai/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>