1 |
patrick 13/11/22 07:13:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: flask-restless-0.12.0.ebuild |
5 |
Log: |
6 |
Bump, fix docs logic |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 dev-python/flask-restless/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 25 Aug 2013 03:13:48 -0000 1.7 |
24 |
+++ ChangeLog 22 Nov 2013 07:13:59 -0000 1.8 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/flask-restless |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.7 2013/08/25 03:13:48 floppym Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/ChangeLog,v 1.8 2013/11/22 07:13:59 patrick Exp $ |
30 |
+ |
31 |
+*flask-restless-0.12.0 (22 Nov 2013) |
32 |
+ |
33 |
+ 22 Nov 2013; Patrick Lauer <patrick@g.o> +flask-restless-0.12.0.ebuild: |
34 |
+ Bump, fix docs logic |
35 |
|
36 |
25 Aug 2013; Mike Gilbert <floppym@g.o> |
37 |
flask-restless-0.11.0-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/flask-restless/flask-restless-0.12.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: flask-restless-0.12.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.12.0.ebuild,v 1.1 2013/11/22 07:13:59 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
|
55 |
inherit distutils-r1 |
56 |
|
57 |
DESCRIPTION="Flask extension for easy ReSTful API generation" |
58 |
HOMEPAGE="http://packages.python.org/Flask-Restless/" |
59 |
SRC_URI="https://github.com/jfinkels/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
60 |
|
61 |
LICENSE="|| ( AGPL-3 BSD )" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
|
65 |
IUSE="doc examples test" |
66 |
|
67 |
RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}] |
68 |
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] |
69 |
dev-python/sqlalchemy[${PYTHON_USEDEP}] |
70 |
dev-python/python-dateutil:0[${PYTHON_USEDEP}]" |
71 |
DEPEND="${RDEPEND} |
72 |
dev-python/setuptools[${PYTHON_USEDEP}] |
73 |
test? ( virtual/python-unittest2[${PYTHON_USEDEP}] |
74 |
dev-python/nose[${PYTHON_USEDEP}] ) |
75 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
76 |
>=dev-python/sphinxcontrib-httpdomain-1.1.7[${PYTHON_USEDEP}] |
77 |
>=dev-python/sphinxcontrib-issuetracker-0.11[${PYTHON_USEDEP}] |
78 |
dev-python/flask-themes[${PYTHON_USEDEP}] )" |
79 |
|
80 |
PATCHES=( "${FILESDIR}"/docbuild.patch ) |
81 |
|
82 |
python_compile_all() { |
83 |
if use doc; then |
84 |
if ! "${PYTHON}" -c "import flask_restless"; then |
85 |
eerror "flask-restless is not installed. Building of the docs" |
86 |
eerror "requires flask-restless to already be installed." |
87 |
eerror "Firstly emerge without USE=doc, then re-emerge with USE=doc" |
88 |
eerror "" |
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 tests/test_*.py || 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 |
} |