1 |
commit: a1d44c813b62734f13302e6ec78c8650a235a3af |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 09:21:22 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 10:32:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d44c81 |
7 |
|
8 |
dev-python/pytest-httpbin: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/pytest-httpbin/Manifest | 1 + |
13 |
.../pytest-httpbin/pytest-httpbin-0.2.3.ebuild | 38 ++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest |
17 |
index e18ea7a..eb8f805 100644 |
18 |
--- a/dev-python/pytest-httpbin/Manifest |
19 |
+++ b/dev-python/pytest-httpbin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-httpbin-0.2.0.tar.gz 9372 SHA256 67a6d8e7890630b334e1cb38548a7118cb15930e218ece5b7a8bc94a8696ceed SHA512 a8e80979de59578a7cf16fa6cc08386bac9357bc8b48e34fc2a24cea18d531e61bf3c2474f8fc1b230dcd31641cb4bc960bab05e4bdbab98637c2fbf08671bfd WHIRLPOOL b5b532a1cc9e4b06f67787ca7ada0614b5145245934bcd796586fe0d18d186529388f608b24222a1b9372393e38f0a81df75ab205eafe134bb3287a34b122fec |
22 |
+DIST pytest-httpbin-0.2.3.tar.gz 9498 SHA256 c5b698dfa474ffc9caebcb35e34346b753eb226aea5c2e1b69fefedbcf161bf8 SHA512 f3c4eb67d1b02c27d8edb42622793fa3604e3f0bd5086e4986b8f0402a9fb8d7969a466be92fc6a7e301e829dbeb300183b40dccc9ec5da1d158cb4d08274f8b WHIRLPOOL c7b4c1d4955389d180474aae59ad1ab3d86e1f81f84fb00fecd562c38a2a27cc741562a4f78fe7691fe978533dd8fbfd2c1b5da1a205cb996eea9bdc090c0072 |
23 |
|
24 |
diff --git a/dev-python/pytest-httpbin/pytest-httpbin-0.2.3.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-0.2.3.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..817a064 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-httpbin/pytest-httpbin-0.2.3.ebuild |
29 |
@@ -0,0 +1,38 @@ |
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 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Easily test your HTTP library against a local copy of httpbin" |
41 |
+HOMEPAGE="https://github.com/kevin1024/pytest-httpbin http://pypi.python.org/pypi/pytest-httpbin" |
42 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/decorator[${PYTHON_USEDEP}] |
51 |
+ dev-python/flask[${PYTHON_USEDEP}] |
52 |
+ dev-python/httpbin[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ )" |
60 |
+ |
61 |
+# Not includd |
62 |
+RESTRICT=test |
63 |
+ |
64 |
+python_test() { |
65 |
+ PYTEST_PLUGINS=pytest_httpbin \ |
66 |
+ py.test -v -s || die |
67 |
+} |