Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-restless/
Date: Wed, 03 Jan 2018 23:35:37
Message-Id: 1515022513.6a923bd44f93792d5edfeea0194adb8faa478134.mgorny@gentoo
1 commit: 6a923bd44f93792d5edfeea0194adb8faa478134
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 22:29:48 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 23:35:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a923bd4
7
8 dev-python/flask-restless: Clean old up
9
10 dev-python/flask-restless/Manifest | 1 -
11 .../flask-restless/flask-restless-0.15.0.ebuild | 59 ----------------------
12 2 files changed, 60 deletions(-)
13
14 diff --git a/dev-python/flask-restless/Manifest b/dev-python/flask-restless/Manifest
15 index c8855e92ef5..cfac42c84c2 100644
16 --- a/dev-python/flask-restless/Manifest
17 +++ b/dev-python/flask-restless/Manifest
18 @@ -1,2 +1 @@
19 -DIST flask-restless-0.15.0.tar.gz 515022 BLAKE2B f815380bb384a02f372330460519f9ecdd5cd82ec6ae6bff80fad74e3cfb62aec1a020c46fcd8088f0b4c987e3497e2416ead7586cd7ab9a960fc9cb8b99b8b0 SHA512 156223295a2b1fcb270ed132a9023caa77632559155342381277f427fa069457977f8122bb21425281f1039aaef48c411a5f2677be403a0965abad4af199d775
20 DIST flask-restless-0.17.0.tar.gz 527502 BLAKE2B 6c82d78fd6c6cc1df43e6858668108abcf862a916c3caf814e0c40a8cd9a9e93a057774d3626c54e47a965d35f8b03408bbe231af01cc7dcf561e0ca02dc4ff3 SHA512 96183a8bb285a916e6ad680089c70b4c00fcc72ea26a6862537314f6b588b597ff78f2f1c3de0ae24f7dfc7af53a3412c8179801afa9eaeaeb3505695d44076e
21
22 diff --git a/dev-python/flask-restless/flask-restless-0.15.0.ebuild b/dev-python/flask-restless/flask-restless-0.15.0.ebuild
23 deleted file mode 100644
24 index d1ed8736974..00000000000
25 --- a/dev-python/flask-restless/flask-restless-0.15.0.ebuild
26 +++ /dev/null
27 @@ -1,59 +0,0 @@
28 -# Copyright 1999-2015 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI=5
32 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
33 -
34 -PYTHON_REQ_USE="sqlite"
35 -inherit distutils-r1
36 -
37 -DESCRIPTION="Flask extension for easy ReSTful API generation"
38 -HOMEPAGE="https://flask-restless.readthedocs.io/ https://github.com/jfinkels/flask-restless"
39 -SRC_URI="https://github.com/jfinkels/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="|| ( AGPL-3 BSD )"
42 -SLOT="0"
43 -KEYWORDS="amd64 x86"
44 -
45 -IUSE="doc examples test"
46 -
47 -RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]
48 - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
49 - dev-python/sqlalchemy[${PYTHON_USEDEP}]
50 - dev-python/python-dateutil:0[${PYTHON_USEDEP}]
51 - dev-python/mimerender[${PYTHON_USEDEP}]"
52 -DEPEND="${RDEPEND}
53 - dev-python/setuptools[${PYTHON_USEDEP}]
54 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
55 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
56 - >=dev-python/sphinxcontrib-httpdomain-1.1.7[${PYTHON_USEDEP}]
57 - >=dev-python/sphinxcontrib-issuetracker-0.11[${PYTHON_USEDEP}]
58 - dev-python/flask-themes[${PYTHON_USEDEP}] )"
59 -
60 -PATCHES=( "${FILESDIR}"/mapping.patch )
61 -
62 -python_compile_all() {
63 - if use doc; then
64 - if ! "${PYTHON}" -c "import flask_restless"; then
65 - eerror "flask-restless is not installed. Building of the docs"
66 - eerror "requires flask-restless to be installed."
67 - eerror "emerge with USE=-doc followed bu USE=doc"
68 - die
69 - fi
70 - # Changes connect to read issues @ github
71 - rm -f docs/changelog.rst
72 - einfo "Generating html docs for ${PN}"
73 - PYTHONPATH=${PYTHONPATH}"${S}"/docs emake -C docs html \
74 - || die "Generating html docs for ${PN} failed"
75 - fi
76 -}
77 -
78 -python_test() {
79 - nosetests -w tests || die "Tests failed under ${EPYTHON}"
80 -}
81 -
82 -python_install_all() {
83 - use doc && local HTML_DOCS=( docs/_build/html/. )
84 - use examples && local EXAMPLES=( examples/. )
85 - distutils-r1_python_install_all
86 -}