From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydotplus/
Date: Tue, 29 Dec 2020 13:05:39 +0000 (UTC) [thread overview]
Message-ID: <1609247132.155cb064c89db765967169fa35bdab8a144bf83c.soap@gentoo> (raw)
commit: 155cb064c89db765967169fa35bdab8a144bf83c
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 13:05:32 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 13:05:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155cb064
dev-python/pydotplus: Fix test phase and add py3.9
Closes: https://bugs.gentoo.org/719404
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-python/pydotplus/pydotplus-2.0.2.ebuild | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/dev-python/pydotplus/pydotplus-2.0.2.ebuild b/dev-python/pydotplus/pydotplus-2.0.2.ebuild
index c8aa79de634..0c5a24a0433 100644
--- a/dev-python/pydotplus/pydotplus-2.0.2.ebuild
+++ b/dev-python/pydotplus/pydotplus-2.0.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,19 +14,16 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyparsing[${PYTHON_USEDEP}]
- media-gfx/graphviz
-"
-DEPEND="test? ( ${RDEPEND} )"
+ media-gfx/graphviz"
-PATCHES=( "${FILESDIR}/${P}-tests.patch" )
+distutils_enable_tests unittest
+
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
python_test() {
- pushd test > /dev/null || die
- python pydot_unittest.py || die
- popd > /dev/null || die
+ cd test || die
+ "${EPYTHON}" pydot_unittest.py || die
}
next reply other threads:[~2020-12-29 13:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-29 13:05 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-16 8:08 [gentoo-commits] repo/gentoo:master commit in: dev-python/pydotplus/ Michał Górny
2022-06-05 18:01 Arthur Zamarin
2022-06-05 18:01 Arthur Zamarin
2021-06-05 17:59 Michał Górny
2020-02-05 19:37 Michał Górny
2018-06-24 16:21 Pacho Ramos
2017-03-07 20:17 Göktürk Yüksek
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=1609247132.155cb064c89db765967169fa35bdab8a144bf83c.soap@gentoo \
--to=soap@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