1 |
commit: 83d0714c6a90c7f55e268f5b401d646a29e2f6b7 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 12:59:52 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 2 13:00:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d0714c |
7 |
|
8 |
dev-python/pyformance: Version bump to 0.3.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/pyformance/Manifest | 1 + |
13 |
dev-python/pyformance/pyformance-0.3.4.ebuild | 32 +++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyformance/Manifest b/dev-python/pyformance/Manifest |
17 |
index 2ea0b61..01e3b5c 100644 |
18 |
--- a/dev-python/pyformance/Manifest |
19 |
+++ b/dev-python/pyformance/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pyformance-0.3.2.tar.gz 10726 SHA256 7004f8e6eee1bcf8e28fb2ec74c8d67894158ccc01397faae70f6ee9729f9b8a SHA512 a838bb6cac144c309d2ff7050617b300fa2308f2bbab1d8b072ce87548d2dbd9ecb2dd552f9ddd53ded2ca4020bd42c7a3f4a245bc2c68ded5f01ebaf04edd71 WHIRLPOOL 6fb45017f8ea85ce3d61346f6a489861c30bf64bd8879e5dad4cb0cab4245346348b94183447e7ca86eb674a5ea4a874c42dec768dc02a0562b009d63e287bc5 |
22 |
+DIST pyformance-0.3.4.tar.gz 19394 SHA256 a9294ec48b57711ad60af0badf1354c0e28364e82d2579a0d3d3afbf845547ac SHA512 5dbc83da62bf66767eaaf316824cf5683488d8ee594b72baee327c4ef594f84b5aed07654da483aff29bee98605e5265425be88c165a4bb06e7bdddbbf28e440 WHIRLPOOL 346a1b1d58b3a6be73bff33c6cb943363df2185b26ae709a665b66ab32f594eb3cc3ac7578dcd902652626187715db6fbd48960ec676404e2e2a661ce9e3dff7 |
23 |
|
24 |
diff --git a/dev-python/pyformance/pyformance-0.3.4.ebuild b/dev-python/pyformance/pyformance-0.3.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..7e2681b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pyformance/pyformance-0.3.4.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Performance metrics, based on Coda Hale's Yammer metrics" |
40 |
+HOMEPAGE="https://pyformance.readthedocs.org/ https://github.com/omergertel/pyformance/ https://pypi.python.org/pypi/pyformance/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] |
50 |
+ dev-python/mock[${PYTHON_USEDEP}] )" |
51 |
+ |
52 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
53 |
+ |
54 |
+python_prepare() { |
55 |
+ sed -i -e "s/find_packages()/find_packages(exclude=['tests'])/" setup.py || die |
56 |
+ sed -i -e "s/URLError, err/URLError as err/" ${PN}/reporters/influx.py || die |
57 |
+} |
58 |
+ |
59 |
+python_test() { |
60 |
+ py.test || die |
61 |
+} |