Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/flask-restless: flask-restless-0.12.1.ebuild flask-restless-0.12.0.ebuild ChangeLog
Date: Tue, 06 May 2014 10:13:26
Message-Id: 20140506101321.C0B842004C@flycatcher.gentoo.org
1 idella4 14/05/06 10:13:21
2
3 Modified: flask-restless-0.12.0.ebuild ChangeLog
4 Added: flask-restless-0.12.1.ebuild
5 Log:
6 bump; drop py2.6 add pypy support
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.2 dev-python/flask-restless/flask-restless-0.12.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild?r1=1.1&r2=1.2
16
17 Index: flask-restless-0.12.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- flask-restless-0.12.0.ebuild 22 Nov 2013 07:13:59 -0000 1.1
24 +++ flask-restless-0.12.0.ebuild 6 May 2014 10:13:21 -0000 1.2
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild,v 1.1 2013/11/22 07:13:59 patrick Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild,v 1.2 2014/05/06 10:13:21 idella4 Exp $
31
32 EAPI=5
33 PYTHON_COMPAT=( python{2_6,2_7} )
34
35
36
37 1.10 dev-python/flask-restless/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.10&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.10&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?r1=1.9&r2=1.10
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v
46 retrieving revision 1.9
47 retrieving revision 1.10
48 diff -u -r1.9 -r1.10
49 --- ChangeLog 21 Jan 2014 04:11:19 -0000 1.9
50 +++ ChangeLog 6 May 2014 10:13:21 -0000 1.10
51 @@ -1,6 +1,12 @@
52 # ChangeLog for dev-python/flask-restless
53 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.9 2014/01/21 04:11:19 patrick Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.10 2014/05/06 10:13:21 idella4 Exp $
56 +
57 +*flask-restless-0.12.1 (06 May 2014)
58 +
59 + 06 May 2014; Ian Delaney <idella4@g.o> +files/mapping.patch,
60 + +flask-restless-0.12.1.ebuild, flask-restless-0.12.0.ebuild:
61 + bump; drop py2.6 add pypy support
62
63 21 Jan 2014; Patrick Lauer <patrick@g.o> -flask-restless-0.10.0.ebuild,
64 -flask-restless-0.10.1.ebuild, -flask-restless-0.11.0-r1.ebuild:
65
66
67
68 1.1 dev-python/flask-restless/flask-restless-0.12.1.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: flask-restless-0.12.1.ebuild
74 ===================================================================
75 # Copyright 1999-2014 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.1.ebuild,v 1.1 2014/05/06 10:13:21 idella4 Exp $
78
79 EAPI=5
80 PYTHON_COMPAT=( python2_7 pypy )
81
82 PYTHON_REQ_USE="sqlite"
83 inherit distutils-r1
84
85 DESCRIPTION="Flask extension for easy ReSTful API generation"
86 HOMEPAGE="http://packages.python.org/Flask-Restless/"
87 SRC_URI="https://github.com/jfinkels/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
88
89 LICENSE="|| ( AGPL-3 BSD )"
90 SLOT="0"
91 KEYWORDS="~amd64 ~x86"
92
93 IUSE="doc examples test"
94
95 RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]
96 dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
97 dev-python/sqlalchemy[${PYTHON_USEDEP}]
98 dev-python/python-dateutil:0[${PYTHON_USEDEP}]"
99 DEPEND="${RDEPEND}
100 dev-python/setuptools[${PYTHON_USEDEP}]
101 test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
102 dev-python/nose[${PYTHON_USEDEP}] )
103 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
104 >=dev-python/sphinxcontrib-httpdomain-1.1.7[${PYTHON_USEDEP}]
105 >=dev-python/sphinxcontrib-issuetracker-0.11[${PYTHON_USEDEP}]
106 dev-python/flask-themes[${PYTHON_USEDEP}] )"
107
108 PATCHES=( "${FILESDIR}"/mapping.patch )
109
110 python_compile_all() {
111 if use doc; then
112 if ! "${PYTHON}" -c "import flask_restless"; then
113 eerror "flask-restless is not installed. Building of the docs"
114 eerror "requires flask-restless to be installed."
115 eerror "emerge with USE=-doc followed bu USE=doc"
116 die
117 fi
118 # Changes connect to read issues @ github
119 rm -f docs/changelog.rst
120 einfo "Generating html docs for ${PN}"
121 PYTHONPATH=${PYTHONPATH}"${S}"/docs emake -C docs html \
122 || die "Generating html docs for ${PN} failed"
123 fi
124 }
125
126 python_test() {
127 nosetests -w tests || die "Tests failed under ${EPYTHON}"
128 }
129
130 python_install_all() {
131 use doc && local HTML_DOCS=( docs/_build/html/. )
132 use examples && local EXAMPLES=( examples/. )
133 distutils-r1_python_install_all
134 }