Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/flask-restful: flask-restful-0.3.2.ebuild ChangeLog
Date: Sat, 28 Feb 2015 07:04:34
Message-Id: 20150228070431.5FF3312B7E@oystercatcher.gentoo.org
1 patrick 15/02/28 07:04:31
2
3 Modified: ChangeLog
4 Added: flask-restful-0.3.2.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.5 dev-python/flask-restful/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restful/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restful/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restful/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restful/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 19 Dec 2014 04:31:57 -0000 1.4
24 +++ ChangeLog 28 Feb 2015 07:04:31 -0000 1.5
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/flask-restful
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/ChangeLog,v 1.4 2014/12/19 04:31:57 patrick Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/ChangeLog,v 1.5 2015/02/28 07:04:31 patrick Exp $
31 +
32 +*flask-restful-0.3.2 (28 Feb 2015)
33 +
34 + 28 Feb 2015; Patrick Lauer <patrick@g.o> +flask-restful-0.3.2.ebuild:
35 + Bump
36
37 *flask-restful-0.3.1 (19 Dec 2014)
38
39
40
41
42 1.1 dev-python/flask-restful/flask-restful-0.3.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restful/flask-restful-0.3.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restful/flask-restful-0.3.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: flask-restful-0.3.2.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/flask-restful-0.3.2.ebuild,v 1.1 2015/02/28 07:04:31 patrick Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
55
56 inherit distutils-r1
57
58 DESCRIPTION="Simple framework for creating REST APIs"
59 HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/"
60 SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc examples paging test"
66
67 RDEPEND="
68 >=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
69 >=dev-python/flask-0.8[${PYTHON_USEDEP}]
70 >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
71 dev-python/pytz[${PYTHON_USEDEP}]
72 paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] )
73 "
74 DEPEND="${RDEPEND}
75 dev-python/sphinx[${PYTHON_USEDEP}]
76 test? (
77 dev-python/mock[${PYTHON_USEDEP}]
78 dev-python/nose[${PYTHON_USEDEP}]
79 dev-python/pycrypto[${PYTHON_USEDEP}]
80 )
81 "
82
83 python_test() {
84 nosetests -v || die "Tests fail with ${EPYTHON}"
85 }
86
87 python_compile_all() {
88 cd docs || die
89 emake man $(usex doc html "")
90 }
91
92 python_install_all() {
93 use doc && local HTML_DOCS=( docs/_build/html/. )
94 use examples && local EXAMPLES=( examples/. )
95 local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md )
96
97 doman docs/_build/man/*
98 distutils-r1_python_install_all
99 }