1 |
commit: 6ab8c8839acf799a74810862db0472feef55b571 |
2 |
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 29 15:43:42 2013 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 29 15:43:42 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=6ab8c883 |
7 |
|
8 |
flask-restful and grequests thx to Lujeni |
9 |
|
10 |
--- |
11 |
.../flask-restful/flask-restful-0.2.1.ebuild | 32 ++++++++++++++++++++ |
12 |
dev-python/grequests/grequests-0.2.0.ebuild | 23 ++++++++++++++ |
13 |
2 files changed, 55 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/flask-restful/flask-restful-0.2.1.ebuild b/dev-python/flask-restful/flask-restful-0.2.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..aa64da9 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/flask-restful/flask-restful-0.2.1.ebuild |
20 |
@@ -0,0 +1,32 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: |
24 |
+ |
25 |
+EAPI="4" |
26 |
+PYTHON_DEPEND="*:2.6" |
27 |
+SUPPORT_PYTHON_ABIS="1" |
28 |
+RESTRICT_PYTHON_ABIS="2.4 2.5" |
29 |
+DISTUTILS_SRC_TEST="nosetests" |
30 |
+ |
31 |
+inherit distutils |
32 |
+ |
33 |
+MY_PN="Flask-RESTful" |
34 |
+MY_P="${MY_PN}-${PV/_/-}" |
35 |
+ |
36 |
+DESCRIPTION="Simple framework for creating REST APIs with Flask" |
37 |
+HOMEPAGE="https://github.com/twilio/flask-restful" |
38 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
+ |
45 |
+DEPEND=">=dev-python/flask-0.8 |
46 |
+ >=dev-python/pycrypto-2.6" |
47 |
+RDEPEND="${DEPEND} |
48 |
+ >=dev-python/nose-1.1.2 |
49 |
+ >=dev-python/mock-0.8 |
50 |
+ >=dev-python/blinker-1.2" |
51 |
+ |
52 |
+S="${WORKDIR}/${MY_P}" |
53 |
\ No newline at end of file |
54 |
|
55 |
diff --git a/dev-python/grequests/grequests-0.2.0.ebuild b/dev-python/grequests/grequests-0.2.0.ebuild |
56 |
new file mode 100644 |
57 |
index 0000000..5c4d958 |
58 |
--- /dev/null |
59 |
+++ b/dev-python/grequests/grequests-0.2.0.ebuild |
60 |
@@ -0,0 +1,23 @@ |
61 |
+# Copyright 1999-2012 Gentoo Foundation |
62 |
+# Distributed under the terms of the GNU General Public License v2 |
63 |
+# $Header: |
64 |
+ |
65 |
+EAPI="4" |
66 |
+PYTHON_DEPEND="*:2.6" |
67 |
+SUPPORT_PYTHON_ABIS="1" |
68 |
+RESTRICT_PYTHON_ABIS="2.4 2.5" |
69 |
+ |
70 |
+DESCRIPTION="GRequests allows you to use Requests with Gevent to make asyncronous HTTP Requests easily." |
71 |
+HOMEPAGE="https://crate.io/packages/grequests" |
72 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
73 |
+ |
74 |
+LICENSE="BSD" |
75 |
+SLOT="0" |
76 |
+KEYWORDS="~amd64 ~x86" |
77 |
+IUSE="" |
78 |
+ |
79 |
+DEPEND="dev-python/gevent |
80 |
+ >=dev-python/requests-1.0.0" |
81 |
+RDEPEND="${DEPEND} =dev-python/charade-1.0.3" |
82 |
+ |
83 |
+RESTRICT="test" |