1 |
commit: fdc56ab8a28d506fc8b279bd12572dd5fd0a1362 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 17 14:08:14 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 17 14:48:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc56ab8 |
7 |
|
8 |
dev-python/httpbin: New package, ebuild written by me |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/httpbin/Manifest | 1 + |
14 |
dev-python/httpbin/httpbin-0.4.0.ebuild | 36 +++++++++++++++++++++++++++++++++ |
15 |
dev-python/httpbin/metadata.xml | 12 +++++++++++ |
16 |
3 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..32b446f |
21 |
--- /dev/null |
22 |
+++ b/dev-python/httpbin/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST httpbin-0.4.0.tar.gz 88000 SHA256 697e6ff51996699231782ec3519e936c57f34185d33dfadbe131536a6eced9b8 SHA512 ce239c7c2a7715dce340f04aab417b0c73773e9ff6b33edb81540abc63be9c861c4386d1310e9ae46dcdeeff24a6b71b7b93d9b2120cb1533e7da2c10f177830 WHIRLPOOL 11e9407ab88175212a66b4f47d9baeaa36ab281c5258f024e2375e5f7039fe013d246b2ac5f0a35da2a11a48e6fca91f9cdfee98cc36b21ad8cf89a57e8f7469 |
25 |
|
26 |
diff --git a/dev-python/httpbin/httpbin-0.4.0.ebuild b/dev-python/httpbin/httpbin-0.4.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..e80b3b2 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/httpbin/httpbin-0.4.0.ebuild |
31 |
@@ -0,0 +1,36 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="HTTP Request and Response Service" |
43 |
+HOMEPAGE="https://github.com/Runscope/httpbin http://pypi.python.org/pypi/httpbin" |
44 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/decorator[${PYTHON_USEDEP}] |
53 |
+ dev-python/flask[${PYTHON_USEDEP}] |
54 |
+ dev-python/itsdangerous[${PYTHON_USEDEP}] |
55 |
+ dev-python/markupsafe[${PYTHON_USEDEP}] |
56 |
+ dev-python/six[${PYTHON_USEDEP}]" |
57 |
+DEPEND="${REDEPEND} |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ test? ( dev-python/werkzeug[${PYTHON_USEDEP}] )" |
60 |
+ |
61 |
+# Not included |
62 |
+# Someone needs to file a bug upstream |
63 |
+RESTRICT=test |
64 |
+ |
65 |
+python_test() { |
66 |
+ ${PYTHON} test_httpbin.py || die |
67 |
+} |
68 |
|
69 |
diff --git a/dev-python/httpbin/metadata.xml b/dev-python/httpbin/metadata.xml |
70 |
new file mode 100644 |
71 |
index 0000000..b3fab06 |
72 |
--- /dev/null |
73 |
+++ b/dev-python/httpbin/metadata.xml |
74 |
@@ -0,0 +1,12 @@ |
75 |
+<?xml version="1.0" encoding="UTF-8"?> |
76 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
77 |
+<pkgmetadata> |
78 |
+ <herd>python</herd> |
79 |
+ <upstream> |
80 |
+ <remote-id type="pypi">httpbin</remote-id> |
81 |
+ <maintainer status="unknown"> |
82 |
+ <email>httpbin@××××××××.com</email> |
83 |
+ <name>Runscope</name> |
84 |
+ </maintainer> |
85 |
+ </upstream> |
86 |
+</pkgmetadata> |