From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/redbaron/
Date: Sun, 3 May 2020 09:33:25 +0000 (UTC) [thread overview]
Message-ID: <1588440096.cb3ea41778c94e1508bfe94fac68e0c91c6db783.andrewammerlaan@gentoo> (raw)
commit: cb3ea41778c94e1508bfe94fac68e0c91c6db783
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat May 2 17:21:36 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May 2 17:21:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3ea417
dev-python/redbaron: fix QA
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
dev-python/redbaron/redbaron-0.9.ebuild | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/dev-python/redbaron/redbaron-0.9.ebuild b/dev-python/redbaron/redbaron-0.9.ebuild
index e57d741..9f0e3e8 100644
--- a/dev-python/redbaron/redbaron-0.9.ebuild
+++ b/dev-python/redbaron/redbaron-0.9.ebuild
@@ -8,25 +8,39 @@ PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A FST for python to make writing refactoring code a realistic task"
-HOMEPAGE="https://redbaron.readthedocs.io/"
+HOMEPAGE="
+ https://redbaron.readthedocs.io/
+ https://github.com/PyCQA/redbaron
+"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="doc"
+DEPEND="
+ doc? (
+ dev-python/ipython[matplotlib,${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+"
RDEPEND="
>=dev-python/baron-0.7[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
"
-python_test() {
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs
+
+src_prepare() {
+ default
+
# Remove "__pycache__". Reason: unique basename
rm -rfd "${S}"/tests/__pycache__ || die
# Skip tests. Reason: calls fixture "red" directly
rm "${S}"/tests/test_bounding_box.py || die
-
- pytest -v || die "Tests fail with ${EPYTHON}"
}
next reply other threads:[~2020-05-03 9:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 9:33 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-08 11:38 [gentoo-commits] repo/proj/guru:master commit in: dev-python/redbaron/ Andrew Ammerlaan
2020-11-12 19:46 Andrew Ammerlaan
2020-09-28 9:02 Andrew Ammerlaan
2020-05-03 9:33 Andrew Ammerlaan
2020-05-03 9:33 Andrew Ammerlaan
2020-05-03 8:33 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-03 9:33 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
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=1588440096.cb3ea41778c94e1508bfe94fac68e0c91c6db783.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--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