From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cement/
Date: Fri, 2 Oct 2015 09:41:23 +0000 (UTC) [thread overview]
Message-ID: <1443778877.8b7c3e138616c6a4d0aa4d28aee8940fd67b2036.jlec@gentoo> (raw)
commit: 8b7c3e138616c6a4d0aa4d28aee8940fd67b2036
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 2 08:37:59 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Oct 2 09:41:17 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7c3e13
dev-python/cement: QA fixes
use eclass functions (esetup.py)
Make buildtime deps DEPEND
fix doc isntallation
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/cement/cement-2.0.2.ebuild | 19 ++++++++++---------
dev-python/cement/metadata.xml | 1 -
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-python/cement/cement-2.0.2.ebuild b/dev-python/cement/cement-2.0.2.ebuild
index e240413..21dbb27 100644
--- a/dev-python/cement/cement-2.0.2.ebuild
+++ b/dev-python/cement/cement-2.0.2.ebuild
@@ -19,28 +19,29 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test doc"
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+RDEPEND=""
DEPEND="${RDEPEND}
- test? ( dev-python/nose[${PYTHON_USEDEP}]
- dev-python/coverage[${PYTHON_USEDEP}] )"
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ )"
DOCS=( ChangeLog CONTRIBUTORS README.md )
PATCHES=( "${FILESDIR}"/tests-installation.patch )
# https://github.com/cement/cement/issues/185
python_test() {
- nosetests || die "Tests fail with ${EPYTHON}"
+ nosetests --verbose || die "Tests fail with ${EPYTHON}"
}
python_compile_all() {
- if use doc; then
- "${PYTHON}" setup.py build_sphinx || die "couldn't build docs"
- fi
+ use doc && esetup.py build_sphinx
}
python_install_all() {
- use doc && HTML_DOCS=( doc/build/html/* )
+ use doc && HTML_DOCS=( doc/build/html/. )
distutils-r1_python_install_all
}
diff --git a/dev-python/cement/metadata.xml b/dev-python/cement/metadata.xml
index e81878f..e95d6e1 100644
--- a/dev-python/cement/metadata.xml
+++ b/dev-python/cement/metadata.xml
@@ -6,4 +6,3 @@
Cement is an advanced CLI Application Framework for Python. Its goal is to introduce a standard, and feature-full platform for both simple and complex command line applications as well as support rapid development needs without sacrificing quality.
</longdescription>
</pkgmetadata>
-
next reply other threads:[~2015-10-02 9:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 9:41 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-07 8:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/cement/ Tony Vroon
2017-04-22 13:52 Michał Górny
2017-05-02 13:11 Michał Górny
2019-03-01 0:26 Aaron Bauman
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=1443778877.8b7c3e138616c6a4d0aa4d28aee8940fd67b2036.jlec@gentoo \
--to=jlec@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