From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/
Date: Tue, 19 May 2020 12:06:49 +0000 (UTC) [thread overview]
Message-ID: <1589889918.62d4988eaa8c6e322d0d54f9b2b55e202c482d4b.mgorny@gentoo> (raw)
commit: 62d4988eaa8c6e322d0d54f9b2b55e202c482d4b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 19 12:05:18 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 19 12:05:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d4988e
dev-python/django-debug-toolbar: Require sqlite, modernize
Closes: https://bugs.gentoo.org/723596
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../django-debug-toolbar-2.2.ebuild | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-2.2.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-2.2.ebuild
index 2874326eb20..ee772858946 100644
--- a/dev-python/django-debug-toolbar/django-debug-toolbar-2.2.ebuild
+++ b/dev-python/django-debug-toolbar/django-debug-toolbar-2.2.ebuild
@@ -16,37 +16,34 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-1.11[${PYTHON_USEDEP}]
>=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
+DEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ ${RDEPEND}
+ )
"
-python_prepare_all() {
- # Prevent non essential d'loading by intersphinx
- sed -e 's:intersphinx_mapping:_&:' -i docs/conf.py || die
+distutils_enable_sphinx docs
+python_prepare_all() {
# This prevents distutils from installing 'tests' package, rm magic no more needed
sed -e "/find_packages/s:'tests':'tests.\*', 'tests':" -i setup.py || die
distutils-r1_python_prepare_all
}
-python_compile_all() {
- use doc && emake -C docs html
-}
-
python_test() {
emake test
}
python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
if use examples; then
docinto examples
dodoc -r example/.
next reply other threads:[~2020-05-19 12:06 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 12:06 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-21 4:12 [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/ Michał Górny
2025-03-20 18:17 Arthur Zamarin
2025-01-14 6:59 Michał Górny
2024-12-20 21:20 Alfredo Tupone
2024-12-20 21:15 Alfredo Tupone
2024-12-20 21:13 Alfredo Tupone
2024-07-11 3:25 Michał Górny
2024-07-11 3:25 Michał Górny
2024-07-05 16:29 Arthur Zamarin
2024-07-05 1:41 Michał Górny
2024-07-05 1:41 Michał Górny
2024-07-05 1:41 Michał Górny
2024-05-27 15:11 Michał Górny
2024-05-27 4:17 Michał Górny
2024-02-02 4:12 Michał Górny
2023-12-30 18:28 Michał Górny
2023-08-11 5:48 Michał Górny
2023-07-24 11:31 Michał Górny
2023-05-17 3:40 Michał Górny
2023-05-05 12:40 Alfredo Tupone
2023-05-05 5:21 Michał Górny
2023-05-04 20:23 Alfredo Tupone
2023-04-09 9:29 Alfredo Tupone
2022-05-16 13:17 Michał Górny
2022-05-04 8:19 Michał Górny
2022-04-30 15:59 Michał Górny
2022-02-26 17:59 Michał Górny
2022-02-26 17:59 Michał Górny
2021-12-16 8:46 Michał Górny
2021-12-13 8:09 Michał Górny
2021-10-17 7:41 Michał Górny
2021-07-24 6:22 John Helmert III
2021-04-15 6:32 Michał Górny
2020-12-11 12:48 Michał Górny
2020-09-27 15:19 Hanno Böck
2020-03-19 21:56 David Seifert
2020-03-11 21:56 William Hubbs
2020-02-11 20:10 William Hubbs
2020-01-26 20:11 William Hubbs
2020-01-25 20:54 Michał Górny
2019-07-11 22:29 William Hubbs
2019-03-27 21:07 William Hubbs
2019-03-12 21:52 William Hubbs
2018-01-03 9:11 Michał Górny
2017-09-25 13:44 Michael Palimaka
2017-07-31 10:30 Tobias Klausmann
2016-08-25 4:39 Johann Schmitz
2015-10-19 16:29 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=1589889918.62d4988eaa8c6e322d0d54f9b2b55e202c482d4b.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