1 |
commit: 35c3a079dafd7abfc0700f8560c20c209e98ab53 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 17:47:39 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 18:18:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c3a079 |
7 |
|
8 |
dev-python/testify: Bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/testify/Manifest | 1 + |
13 |
dev-python/testify/testify-0.9.0.ebuild | 46 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest |
17 |
index 9107644..7787f0c 100644 |
18 |
--- a/dev-python/testify/Manifest |
19 |
+++ b/dev-python/testify/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf |
22 |
DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 |
23 |
DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 |
24 |
+DIST testify-0.9.0.tar.gz 67397 SHA256 4c983d172ec1921f2fb0a7a1c15f99c1fad93d9fad3b677b3e7a4b150b3ab951 SHA512 b7601339416d44421e588fe98752d5abeff035d14414905a4be7a33cf6f530663151d5f18324e66b3623439a3b1f36c26f17d89514902058b715a42c313ad1b7 WHIRLPOOL 2a4eb3938d492a17bbc5cb7989a1ade60b770d86b3100a177cdc8a79f50e8d59ad46b0af3e35b1251af93f9112a284969ad652bd244dc19e1ef27e355308a210 |
25 |
|
26 |
diff --git a/dev-python/testify/testify-0.9.0.ebuild b/dev-python/testify/testify-0.9.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..abd1101 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/testify/testify-0.9.0.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
39 |
+ |
40 |
+inherit distutils-r1 vcs-snapshot |
41 |
+ |
42 |
+DESCRIPTION="A more pythonic replacement for the unittest module and nose" |
43 |
+HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/" |
44 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] |
52 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
53 |
+ dev-python/mock[${PYTHON_USEDEP}] |
54 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" |
56 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ test? ( ${RDEPEND} )" |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ # Correct typo in setup.py |
61 |
+ sed -e 's:mock,:mock:' -i setup.py || die |
62 |
+ |
63 |
+ # Correct use of local importing in pertinent test_ files |
64 |
+ sed -e s':from .test:from test:' \ |
65 |
+ -i test/test_runner_test.py || die |
66 |
+ |
67 |
+ distutils-r1_python_prepare_all |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ einfo; einfo "Output reporting exceptions \"ImportError: No module named <module>\"" |
72 |
+ einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" |
73 |
+ for test in test/test_*_test.py; |
74 |
+ do |
75 |
+ "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" |
76 |
+ done |
77 |
+} |