summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/keyrings_alt/keyrings_alt-1.1.ebuild')
-rw-r--r--dev-python/keyrings_alt/keyrings_alt-1.1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild b/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild
new file mode 100644
index 000000000000..e909ade03eb9
--- /dev/null
+++ b/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy )
+
+inherit distutils-r1
+
+MY_PN="${PN/_/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Alternate keyring implementations"
+HOMEPAGE="https://github.com/jaraco/keyrings.alt http://pypi.python.org/pypi/keyrings.alt"
+SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/fs[${PYTHON_USEDEP}]
+ dev-python/gdata[$(python_gen_usedep 'python2*')]
+ dev-python/keyczar[$(python_gen_usedep 'python2*')]
+ dev-python/pycrypto[$(python_gen_usedep 'python*')]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+S="${WORKDIR}"/${MY_P}
+
+# Multiple failures
+RESTRICT=test
+
+python_test() {
+ py.test -v -v || die
+}