From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/
Date: Sun, 29 Apr 2018 10:30:08 +0000 (UTC) [thread overview]
Message-ID: <1524997763.ce03630f05278e2f0d559cd7136cc0287ed0d835.mgorny@gentoo> (raw)
commit: ce03630f05278e2f0d559cd7136cc0287ed0d835
Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Apr 27 18:08:51 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 10:29:23 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce03630f
dev-python/flask: git-2->git-r3, unify ebuilds
dev-python/flask-9999 does not install properly due to flask/json not
being found, issue exists without my changes as well.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
dev-python/flask/flask-0.12.2.ebuild | 25 +++++++++++++-----------
dev-python/flask/flask-9999.ebuild | 38 +++++++++++++++++++++---------------
2 files changed, 36 insertions(+), 27 deletions(-)
diff --git a/dev-python/flask/flask-0.12.2.ebuild b/dev-python/flask/flask-0.12.2.ebuild
index 498dd328b2f..a6175a6ac4c 100644
--- a/dev-python/flask/flask-0.12.2.ebuild
+++ b/dev-python/flask/flask-0.12.2.ebuild
@@ -7,30 +7,33 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
inherit distutils-r1
-MY_PN="Flask"
-MY_P="${MY_PN}-${PV}"
-
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
HOMEPAGE="https://github.com/pallets/flask/"
+MY_PN="Flask"
+MY_P="${MY_PN}-${PV}"
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+ KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${MY_P}"
+fi
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
-RDEPEND=">=dev-python/blinker-1[${PYTHON_USEDEP}]
- >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]
- >=dev-python/jinja-2.4[${PYTHON_USEDEP}]
+RDEPEND=">=dev-python/click-2[${PYTHON_USEDEP}]
+ >=dev-python/blinker-1[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
- >=dev-python/click-2[${PYTHON_USEDEP}]"
+ >=dev-python/jinja-2.4[${PYTHON_USEDEP}]
+ >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-S="${WORKDIR}/${MY_P}"
-
python_prepare_all() {
# Prevent un-needed d'loading
sed -e "s/ 'sphinx.ext.intersphinx',//" -i docs/conf.py || die
diff --git a/dev-python/flask/flask-9999.ebuild b/dev-python/flask/flask-9999.ebuild
index 0b68b4717e5..3329ccaa5a9 100644
--- a/dev-python/flask/flask-9999.ebuild
+++ b/dev-python/flask/flask-9999.ebuild
@@ -1,43 +1,49 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+EAPI=6
-inherit distutils-r1 git-2
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
+inherit distutils-r1
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
+HOMEPAGE="https://pypi.org/project/Flask/"
MY_PN="Flask"
MY_P="${MY_PN}-${PV}"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-HOMEPAGE="https://pypi.org/project/Flask/"
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="examples test"
+IUSE="doc examples test"
RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
>=dev-python/jinja-2.4[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-S="${WORKDIR}/${MY_P}"
-#if LIVE
-SRC_URI=
-KEYWORDS=
-#endif
+python_compile_all() {
+ use doc && emake -C docs html
+}
python_test() {
py.test tests || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
- use examples && local EXAMPLES=( examples/. )
+ use examples && dodoc -r examples
+ use doc && HTML_DOCS=( docs/_build/html/. )
+
distutils-r1_python_install_all
}
next reply other threads:[~2018-04-29 10:30 UTC|newest]
Thread overview: 153+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-29 10:30 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-14 9:54 [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/ Michał Górny
2024-04-24 17:15 Michał Górny
2024-04-24 15:31 Sam James
2024-04-08 3:06 Michał Górny
2024-02-20 9:09 Michał Górny
2024-02-20 7:41 Sam James
2024-02-04 4:01 Michał Górny
2024-02-03 9:36 Michał Górny
2024-02-03 9:17 Michał Górny
2024-02-03 8:48 Arthur Zamarin
2024-01-19 5:28 Michał Górny
2023-12-23 14:29 Arthur Zamarin
2023-12-14 4:15 Sam James
2023-11-25 15:14 Michał Górny
2023-11-03 16:24 Arthur Zamarin
2023-11-03 16:24 Arthur Zamarin
2023-11-03 16:24 Arthur Zamarin
2023-11-03 15:39 Sam James
2023-11-03 15:39 Sam James
2023-09-30 17:36 Michał Górny
2023-09-30 16:08 Michał Górny
2023-09-30 15:38 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-08-22 18:23 Michał Górny
2023-08-22 18:23 Michał Górny
2023-07-19 11:10 Michał Górny
2023-06-06 5:43 Michał Górny
2023-05-30 14:01 Michał Górny
2023-05-30 3:28 Sam James
2023-05-30 0:20 Sam James
2023-05-29 23:50 Sam James
2023-05-29 8:36 Michał Górny
2023-05-03 7:51 Michał Górny
2023-05-02 3:14 Michał Górny
2023-04-26 5:36 Michał Górny
2023-03-18 15:03 Michał Górny
2023-03-18 10:51 Arthur Zamarin
2023-02-16 5:04 Michał Górny
2022-09-11 5:33 Michał Górny
2022-09-10 23:07 Jakov Smolić
2022-09-06 20:35 Michał Górny
2022-09-06 18:57 Arthur Zamarin
2022-08-13 10:55 Arthur Zamarin
2022-08-13 10:54 Arthur Zamarin
2022-08-09 17:58 Arthur Zamarin
2022-08-04 17:55 Arthur Zamarin
2022-07-14 7:31 Michał Górny
2022-05-31 7:28 Michał Górny
2022-05-31 7:23 Jakov Smolić
2022-05-12 20:31 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-05-07 21:04 Michał Górny
2022-05-07 20:00 Michał Górny
2022-05-01 12:56 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-22 10:47 Michał Górny
2022-04-15 15:44 Arthur Zamarin
2022-04-15 15:41 Arthur Zamarin
2022-04-15 15:41 Arthur Zamarin
2022-04-15 6:36 Arthur Zamarin
2022-04-15 6:19 Arthur Zamarin
2022-04-15 6:16 Arthur Zamarin
2022-04-14 19:36 Jakov Smolić
2022-04-12 18:32 Arthur Zamarin
2022-03-29 12:18 Michał Górny
2022-03-18 8:02 Arthur Zamarin
2022-02-14 21:37 Michał Górny
2021-12-04 17:53 Arthur Zamarin
2021-11-25 0:12 Sam James
2021-11-25 0:12 Sam James
2021-11-20 6:35 Sam James
2021-11-19 8:37 Arthur Zamarin
2021-11-19 7:59 Arthur Zamarin
2021-10-06 7:16 Michał Górny
2021-09-07 5:30 Sam James
2021-09-07 2:47 Sam James
2021-09-06 23:42 Sam James
2021-09-06 21:26 Sam James
2021-09-04 21:29 Sam James
2021-08-22 5:15 Agostino Sarubbo
2021-08-22 5:14 Agostino Sarubbo
2021-08-04 21:57 Marek Szuba
2021-07-25 3:23 Sam James
2021-06-18 6:29 Agostino Sarubbo
2021-06-18 6:27 Agostino Sarubbo
2021-06-18 2:31 Sam James
2021-06-18 1:35 Sam James
2021-06-17 23:22 Sam James
2021-06-17 7:23 Agostino Sarubbo
2021-06-14 22:30 Michał Górny
2021-06-14 22:18 Sam James
2021-06-10 14:02 Yixun Lan
2021-05-22 7:58 Michał Górny
2021-05-20 20:11 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-18 17:28 Sam James
2021-05-15 19:39 Sergei Trofimovich
2021-05-15 19:36 Sam James
2021-05-14 8:14 Michał Górny
2021-05-12 8:37 Michał Górny
2021-03-02 8:40 Sam James
2020-11-28 8:35 Sam James
2020-09-20 10:24 Michał Górny
2020-07-15 20:18 Sergei Trofimovich
2020-05-26 10:35 Michał Górny
2020-05-11 19:33 Michał Górny
2020-05-11 16:49 Michał Górny
2020-05-08 17:15 Agostino Sarubbo
2020-05-06 6:28 Agostino Sarubbo
2020-05-05 22:13 Sergei Trofimovich
2020-05-04 16:56 Agostino Sarubbo
2020-05-04 11:04 Michał Górny
2020-05-04 6:16 Mart Raudsepp
2020-05-03 15:05 Agostino Sarubbo
2020-04-08 14:01 Agostino Sarubbo
2020-04-04 17:04 Michał Górny
2020-03-27 9:16 Michał Górny
2020-03-27 9:16 Michał Górny
2020-03-27 9:16 Michał Górny
2020-03-16 5:54 Matt Turner
2020-02-19 19:33 Sergei Trofimovich
2020-01-31 22:17 Sergei Trofimovich
2019-11-25 12:35 Michał Górny
2019-11-23 0:34 Michał Górny
2019-11-23 0:34 Michał Górny
2019-08-27 8:40 罗百科
2019-08-27 8:40 罗百科
2018-09-28 20:33 Matt Thode
2018-08-30 15:48 Virgil Dupras
2018-08-21 2:11 Virgil Dupras
2018-01-28 20:41 Markus Meier
2017-12-24 13:38 Sergei Trofimovich
2017-12-22 16:32 Jason Zaman
2017-12-19 19:27 Thomas Deutschmann
2017-07-30 9:15 Michał Górny
2017-06-26 11:04 Alexis Ballier
2017-05-17 17:31 Manuel Rüger
2017-05-04 4:51 Zac Medico
2017-02-13 7:57 Zac Medico
2017-01-26 3:55 Zac Medico
2016-08-09 11:01 Patrick Lauer
2016-07-21 6:50 Tiziano Müller
2015-12-17 14:48 Justin Lecher
2015-12-09 15:10 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524997763.ce03630f05278e2f0d559cd7136cc0287ed0d835.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox