summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-01-24 14:01:01 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-01-24 14:01:01 +0100
commite484a48df331ee2a34d91f61fbdd9b66e49a0ece (patch)
tree53c19bfc3a00462ae610c7340d7e8062a4316623 /dev-python/keyrings_alt
parentdev-python/pygit2: Version bump to 0.25.0 (diff)
downloadgentoo-e484a48df331ee2a34d91f61fbdd9b66e49a0ece.tar.gz
gentoo-e484a48df331ee2a34d91f61fbdd9b66e49a0ece.tar.bz2
gentoo-e484a48df331ee2a34d91f61fbdd9b66e49a0ece.zip
dev-python/keyrings_alt: Version bump to 2.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/keyrings_alt')
-rw-r--r--dev-python/keyrings_alt/Manifest1
-rw-r--r--dev-python/keyrings_alt/keyrings_alt-2.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/keyrings_alt/Manifest b/dev-python/keyrings_alt/Manifest
index 4363a76f9eea..da64439cdf3a 100644
--- a/dev-python/keyrings_alt/Manifest
+++ b/dev-python/keyrings_alt/Manifest
@@ -1,2 +1,3 @@
DIST keyrings.alt-1.1.1.tar.gz 23100 SHA256 2f1a55849504644795076291bcc66a7266e0388dea13fe23a89d25c99e355d22 SHA512 de42347cb60f8b860fdfd6f8abecd90277dc958b8e1562f650b88a2e061c8fa0d297d55f389061efee61e4974b2b4f1d1c4672be0b602e43b16d03bdca302f8e WHIRLPOOL bb27862a2d53481c016837b311293357538deaa22474f84a25fe15329db9ad2fcbc7ad760d13b393e251f85737657e2fa7277c72cd6c89ca2722107dfa48fb53
DIST keyrings.alt-1.1.tar.gz 21520 SHA256 dc3b3ad7d34f22744de75bfcbeb608445aaf059ff4bb28bf2247de8372be207b SHA512 a14a901196bf647babcb060155cfb0307cbbbc6c86297be3174bb192f485ea510ab417b46562de8e8067cd121e40c60c64d6d33a0f147a965821bf55e1245d90 WHIRLPOOL 6e09ad17a9115f42a7b2249151c847f964ba7f67da307ecaf6de2d15233cb97fcb14692c122b1c053cd621de3b5242663eb17a29af5cfff68b90b07fd79c305c
+DIST keyrings.alt-2.0.tar.gz 23822 SHA256 12a01731963810ab647f7cc3ea3070c7924f9a28a88d8dc0c53e119ba9a83122 SHA512 bdce34074b1202eb41f1d2dc8146fbce3f17f5af6b42f4c77fba9c9826fcd549f285c6025471c0bab3ef091ecd19d7549f05413662420a9fe77f3fdd735f0335 WHIRLPOOL cf3143559797a1dcbfa3b3f1107a5878794ab385895665099ea1417d87f9f6bdac6868b13c31d35efaecc447873659b4fd919c8fd578fced62c2d8507eaa4b30
diff --git a/dev-python/keyrings_alt/keyrings_alt-2.0.ebuild b/dev-python/keyrings_alt/keyrings_alt-2.0.ebuild
new file mode 100644
index 000000000000..7e58a92eed72
--- /dev/null
+++ b/dev-python/keyrings_alt/keyrings_alt-2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,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="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/fs-0.5[${PYTHON_USEDEP}]
+ <dev-python/fs-2[${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-2.8[${PYTHON_USEDEP}]
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+# Multiple failures
+RESTRICT=test
+
+python_prepare_all() {
+ sed \
+ -e "s:find_packages():find_packages(exclude=['tests']):g" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v -v || die
+}