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-restless: flask-restless-0.16.0.ebuild ChangeLog
Date: Sat, 28 Feb 2015 06:27:32
Message-Id: 20150228062727.BD0F512B76@oystercatcher.gentoo.org
1 patrick 15/02/28 06:27:27
2
3 Modified: ChangeLog
4 Added: flask-restless-0.16.0.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.21 dev-python/flask-restless/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 25 Feb 2015 06:02:02 -0000 1.20
24 +++ ChangeLog 28 Feb 2015 06:27:27 -0000 1.21
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/flask-restless
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.20 2015/02/25 06:02:02 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.21 2015/02/28 06:27:27 patrick Exp $
30 +
31 +*flask-restless-0.16.0 (28 Feb 2015)
32 +
33 + 28 Feb 2015; Patrick Lauer <patrick@g.o> +flask-restless-0.16.0.ebuild:
34 + Bump
35
36 *flask-restless-0.15.1 (25 Feb 2015)
37
38
39
40
41 1.1 dev-python/flask-restless/flask-restless-0.16.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.16.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.16.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flask-restless-0.16.0.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.16.0.ebuild,v 1.1 2015/02/28 06:27:27 patrick Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
54
55 PYTHON_REQ_USE="sqlite"
56 inherit distutils-r1
57
58 DESCRIPTION="Flask extension for easy ReSTful API generation"
59 HOMEPAGE="http://packages.python.org/Flask-Restless/"
60 SRC_URI="https://github.com/jfinkels/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
61
62 LICENSE="|| ( AGPL-3 BSD )"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65
66 IUSE="doc examples test"
67
68 RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]
69 dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
70 dev-python/sqlalchemy[${PYTHON_USEDEP}]
71 dev-python/python-dateutil:0[${PYTHON_USEDEP}]
72 dev-python/mimerender[${PYTHON_USEDEP}]"
73 DEPEND="${RDEPEND}
74 dev-python/setuptools[${PYTHON_USEDEP}]
75 test? ( dev-python/nose[${PYTHON_USEDEP}] )
76 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
77 >=dev-python/sphinxcontrib-httpdomain-1.1.7[${PYTHON_USEDEP}]
78 >=dev-python/sphinxcontrib-issuetracker-0.11[${PYTHON_USEDEP}]
79 dev-python/flask-themes[${PYTHON_USEDEP}] )"
80
81 PATCHES=( "${FILESDIR}"/mapping.patch )
82
83 python_compile_all() {
84 if use doc; then
85 if ! "${PYTHON}" -c "import flask_restless"; then
86 eerror "flask-restless is not installed. Building of the docs"
87 eerror "requires flask-restless to be installed."
88 eerror "emerge with USE=-doc followed bu USE=doc"
89 die
90 fi
91 # Changes connect to read issues @ github
92 rm -f docs/changelog.rst
93 einfo "Generating html docs for ${PN}"
94 PYTHONPATH=${PYTHONPATH}"${S}"/docs emake -C docs html \
95 || die "Generating html docs for ${PN} failed"
96 fi
97 }
98
99 python_test() {
100 nosetests -w tests || die "Tests failed under ${EPYTHON}"
101 }
102
103 python_install_all() {
104 use doc && local HTML_DOCS=( docs/_build/html/. )
105 use examples && local EXAMPLES=( examples/. )
106 distutils-r1_python_install_all
107 }