Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stormpath/
Date: Sat, 29 Aug 2015 19:07:24
Message-Id: 1440875178.87be1248ad724745a87196ef5e187cb450f25d5e.alunduil@gentoo
1 commit: 87be1248ad724745a87196ef5e187cb450f25d5e
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 19:06:18 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 19:06:18 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87be1248
7
8 dev-python/stormpath: add version 2.0.9
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/stormpath/Manifest | 1 +
13 dev-python/stormpath/stormpath-2.0.9.ebuild | 49 +++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/stormpath/Manifest b/dev-python/stormpath/Manifest
17 index 9ad4b51..3c85105 100644
18 --- a/dev-python/stormpath/Manifest
19 +++ b/dev-python/stormpath/Manifest
20 @@ -1 +1,2 @@
21 DIST stormpath-2.0.8.tar.gz 4326469 SHA256 9f6ad7e7b210024915e2139b2ed395a7c0fff6ca49ad3cdf58dc8f214d080c70 SHA512 661714fac02528111bb01e30f8c16b1d8701fe894b21d803958331819ce145a9ec03864111b861286224b33aaf56ca68ddcef2b67cd0003c498cd007ce375a03 WHIRLPOOL 12e6f7ec559a654ab59d34106d85d98ada4c7e3dee6fcec6cad0a2500608e962289d73a50e6ce6d81122c43f0f53b30d861203c8a976ac7bdbdab1cd8f5db6be
22 +DIST stormpath-2.0.9.tar.gz 4325976 SHA256 ba93f1f9f6b98db2eb2671d2b3285fdd15f8b2e6d3bce899f240576018f216ae SHA512 b50fa11e8fecf4909a8a1014963c80e7e2dde4db37e1f4681c2a116933d59f5b5ea32901cfde97b24398d8074db8b04121b2a7715d86b6b2eb78eb288465114c WHIRLPOOL 6290d5844d35158cc46f1810b6f83e41c443164cff4512caeeb38e562b04f448c1ac1b608b2cda4abd348f91319e4e8fbb3b195ba31a8fb415ba80f0ed7c5937
23
24 diff --git a/dev-python/stormpath/stormpath-2.0.9.ebuild b/dev-python/stormpath/stormpath-2.0.9.ebuild
25 new file mode 100644
26 index 0000000..084b5d1
27 --- /dev/null
28 +++ b/dev-python/stormpath/stormpath-2.0.9.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
36 +
37 +inherit distutils-r1 vcs-snapshot
38 +
39 +DESCRIPTION="Official Stormpath SDK, used to interact with the Stormpath REST API."
40 +HOMEPAGE="https://github.com/stormpath/stormpath-sdk-python"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="doc test"
47 +
48 +DEPEND="
49 + dev-python/setuptools[${PYTHON_USEDEP}]
50 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
51 + test? (
52 + dev-python/mock[${PYTHON_USEDEP}]
53 + dev-python/pytest-cov[${PYTHON_USEDEP}]
54 + dev-python/pytest[${PYTHON_USEDEP}]
55 + )
56 +"
57 +RDEPEND="
58 + >=dev-python/oauthlib-0.6.3[${PYTHON_USEDEP}]
59 + >=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
60 + >=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
61 + >=dev-python/python-dateutil-2.4.0[${PYTHON_USEDEP}]
62 + >=dev-python/requests-2.4.3[${PYTHON_USEDEP}]
63 + >=dev-python/six-1.6.1[${PYTHON_USEDEP}]
64 +"
65 +
66 +python_compile_all() {
67 + use doc && emake -C docs html
68 +}
69 +
70 +python_test() {
71 + esetup.py test || die "tests failed under ${EPYTYHON}"
72 +}
73 +
74 +python_install_all() {
75 + use doc && local HTML_DOCS=( docs/_build/html/. )
76 +
77 + distutils-r1_python_install_all
78 +}