Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/locustio/
Date: Sat, 15 Sep 2018 01:15:27
Message-Id: 1536974108.4da9bd56caa226e3e7738555bb360f7394c6985d.zmedico@gentoo
1 commit: 4da9bd56caa226e3e7738555bb360f7394c6985d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 00:54:10 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 01:15:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da9bd56
7
8 dev-python/locustio: version bump to 0.9.0
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 dev-python/locustio/Manifest | 1 +
13 dev-python/locustio/locustio-0.9.0.ebuild | 38 +++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/locustio/Manifest b/dev-python/locustio/Manifest
17 index 5c3eb1a988d..104aac66eab 100644
18 --- a/dev-python/locustio/Manifest
19 +++ b/dev-python/locustio/Manifest
20 @@ -1 +1,2 @@
21 DIST locustio-0.7.3.tar.gz 89300 BLAKE2B 4fba25ff54686a35f95de15766e38ffec0de24eae7e3100275dcdd25ef7dee1bccfbd1d31458a56f35a8ee5afaeea6c91ce40be2bdeb77ab7f9d663b378782b2 SHA512 fe2434691218be0749c0bf7c2c26b6b3172b7dd69898667441aa98a67ac5e5fbb513aebd27bd54c10f423da452f734c2d6ab7a52f4641755439cd3b81a82eee4
22 +DIST locustio-0.9.0.tar.gz 226870 BLAKE2B 595042f110f08ddb6bfdb9642f91448a0fb7229fcffcaa1392fdb351ac5106304e2743801134f4f87fab68b8f098122c88cdedb10566ed70035480ad69755e58 SHA512 9c51fa3af784b4b653fa5f55623ef8ec5eb6a94b8f3eacab97deeb7f5805a96b5467344d653a8916975f547d5a7a7ff63c83ffb8c289e805ccd5bb577aac04d7
23
24 diff --git a/dev-python/locustio/locustio-0.9.0.ebuild b/dev-python/locustio/locustio-0.9.0.ebuild
25 new file mode 100644
26 index 00000000000..074ae16ed24
27 --- /dev/null
28 +++ b/dev-python/locustio/locustio-0.9.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="A python utility for doing easy, distributed load testing of a web site"
39 +HOMEPAGE="https://locust.io/"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +DEPEND="test? (
49 + dev-python/unittest2[${PYTHON_USEDEP}]
50 + dev-python/mock[${PYTHON_USEDEP}]
51 + )"
52 +RDEPEND=">=dev-python/gevent-1.2.2[${PYTHON_USEDEP}]
53 + >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
54 + >=dev-python/pyzmq-16.0.2[${PYTHON_USEDEP}]
55 + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
56 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
57 + >=dev-python/msgpack-0.4.2[${PYTHON_USEDEP}]"
58 +
59 +python_test() {
60 + esetup.py test
61 +}
62 +
63 +python_prepare_all() {
64 + # allow useage of renamed msgpack
65 + sed -i 's/"msgpack[^"]*"[, ]*//' setup.py || die
66 + distutils-r1_python_prepare_all
67 +}