Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-restful/
Date: Sun, 03 Jan 2016 21:15:37
Message-Id: 1451855112.d91666e2e911a15d52fbd44294b339dba32ef3e3.patrick@gentoo
1 commit: d91666e2e911a15d52fbd44294b339dba32ef3e3
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 21:04:43 2016 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 21:05:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91666e2
7
8 dev-python/flask-restful: Bump
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/flask-restful/Manifest | 1 +
13 .../flask-restful/flask-restful-0.3.5.ebuild | 51 ++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/flask-restful/Manifest b/dev-python/flask-restful/Manifest
17 index 7fe496a..529d6d7 100644
18 --- a/dev-python/flask-restful/Manifest
19 +++ b/dev-python/flask-restful/Manifest
20 @@ -4,3 +4,4 @@ DIST flask-restful-0.3.1.tar.gz 103801 SHA256 b2171bb730511e2fc54d071a5b8d9f5e85
21 DIST flask-restful-0.3.2.tar.gz 106082 SHA256 0b91c5ac2fdfa3cebb25c2110ab24636833e5209eb186a8bd109f563a355ae1f SHA512 e35901f297ed9ec76f4be94c9511a12b7370f00ed959a22fab6804e739a13bf885023f00baf3fad29a59cc873c9d5d0b2e85b7e4657d3203983dc6775d71c89a WHIRLPOOL 7403fafbc37e8080731c7ad71076e986f2a06d30a216257bb10c08c5d230a88a4bde043af13e590be976e8c1953a829fe76827bb5a10db638dddf8b28282f9da
22 DIST flask-restful-0.3.3.tar.gz 109947 SHA256 0aeb8f00c96335f90df304a57f36caecd12befccd333a39708f8929f0a528042 SHA512 f8e48048a25b38a09321efc98649970d959d41bf5cc15f5111e1326396ff305b2dbca757a3198a4ed8cf59a6d0144a981178926c1fecc462132888198b4dd8e6 WHIRLPOOL d4db2f013fb92a593731ea19eba6f0daf0f498ebc9fca17f1da8d23b75e243323004e8fe7425813740dc6bcd9c80780a1836a1f37d403a35a94667ecf8fa8a93
23 DIST flask-restful-0.3.4.tar.gz 110669 SHA256 c991d85187e1e0e3e58713d62fc8543fe51d7479ee04151061cf9e452e1e2161 SHA512 3f4debac812ddb511f77802e184e24d1ebf023fd282ba37375484260118cafbad479033deed4e5cf9d2681880059fecf9ac34aafad230186f3e3e1cca2f2033b WHIRLPOOL 96e2a0d007fd8042d2e0d344c7042abf24cc3649b11a36330965a1ffaeeb8a21a04651cbdd486757e704b39773a5b8f8146e6d4ddb4477ad462b1ae7edc74567
24 +DIST flask-restful-0.3.5.tar.gz 113214 SHA256 30f3433c32d3251b83779034513994df93635db81bf5cd5122a4e0415dd3f5c1 SHA512 a541e6739644b4db6ae97cf529bfc43f3136c97fc19a8538277d1f9be033b7c6dc3e39e1c4b2f313e099efbe750dbdc85c67b527224df557567ecac668e5969a WHIRLPOOL d8d0673380263c25e84ed3e86a83b04bae88761c8f3456dcab7d6d58b9884b1b984c28c861bc091c9693b080c15f2f47f99ff6a3003a7f89dd50df851a7d3af5
25
26 diff --git a/dev-python/flask-restful/flask-restful-0.3.5.ebuild b/dev-python/flask-restful/flask-restful-0.3.5.ebuild
27 new file mode 100644
28 index 0000000..161e096
29 --- /dev/null
30 +++ b/dev-python/flask-restful/flask-restful-0.3.5.ebuild
31 @@ -0,0 +1,51 @@
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 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Simple framework for creating REST APIs"
42 +HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/"
43 +SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="doc examples paging test"
49 +
50 +RDEPEND="
51 + >=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
52 + >=dev-python/flask-0.8[${PYTHON_USEDEP}]
53 + >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
54 + dev-python/pytz[${PYTHON_USEDEP}]
55 + paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] )
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-python/sphinx[${PYTHON_USEDEP}]
59 + test? (
60 + dev-python/mock[${PYTHON_USEDEP}]
61 + dev-python/nose[${PYTHON_USEDEP}]
62 + dev-python/pycrypto[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +python_test() {
67 + nosetests -v || die "Tests fail with ${EPYTHON}"
68 +}
69 +
70 +python_compile_all() {
71 + cd docs || die
72 + emake man $(usex doc html "")
73 +}
74 +
75 +python_install_all() {
76 + use doc && local HTML_DOCS=( docs/_build/html/. )
77 + use examples && local EXAMPLES=( examples/. )
78 + local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md )
79 +
80 + doman docs/_build/man/*
81 + distutils-r1_python_install_all
82 +}