public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/beaker/
Date: Tue, 16 May 2017 22:42:23 +0000 (UTC)	[thread overview]
Message-ID: <1494974540.5c299433473b8d67dcec6a207b40cca10b508d75.mgorny@gentoo> (raw)

commit:     5c299433473b8d67dcec6a207b40cca10b508d75
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 22:14:31 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 16 22:42:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c299433

dev-python/beaker: Enable tests

 dev-python/beaker/beaker-1.8.0-r1.ebuild | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/dev-python/beaker/beaker-1.8.0-r1.ebuild b/dev-python/beaker/beaker-1.8.0-r1.ebuild
index 26e77aedf99..8f601d801d9 100644
--- a/dev-python/beaker/beaker-1.8.0-r1.ebuild
+++ b/dev-python/beaker/beaker-1.8.0-r1.ebuild
@@ -15,10 +15,19 @@ SRC_URI="https://github.com/bbangert/beaker/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
 
 RDEPEND="virtual/python-funcsigs[${PYTHON_USEDEP}]"
-# webtest-based tests are skipped when webtest is not installed
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		${RDEPEND}
+		$(python_gen_impl_dep sqlite)
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/pycrypto[${PYTHON_USEDEP}]
+		dev-python/sqlalchemy[${PYTHON_USEDEP}]
+		dev-python/webtest[${PYTHON_USEDEP}]
+	)"
 
 # Py2.7 fais some tests without this
 DISTUTILS_IN_SOURCE_BUILD=1
@@ -31,6 +40,10 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 }
 
+python_test() {
+	esetup.py test
+}
+
 pkg_postinst() {
 	elog "beaker also has optional support for packages"
 	elog "pycrypto and pycryptopp"


             reply	other threads:[~2017-05-16 22:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 22:42 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-27 18:52 [gentoo-commits] repo/gentoo:master commit in: dev-python/beaker/ David Seifert
2018-06-27 20:32 Pacho Ramos
2018-06-08  9:55 Mikle Kolyada
2018-05-14 12:38 Tobias Klausmann
2018-04-29 15:23 Mikle Kolyada
2018-04-29  7:35 Michał Górny
2018-04-16 21:03 Sergei Trofimovich
2018-04-16 18:36 Sergei Trofimovich
2018-04-15 18:58 Thomas Deutschmann
2018-04-14 17:46 Aaron Bauman
2018-01-02 22:14 Michał Górny
2017-05-17  7:38 Michał Górny
2017-05-16 22:42 Michał Górny
2017-05-16 22:42 Michał Górny
2017-05-16 22:42 Michał Górny
2017-05-16 22:42 Michał Górny
2017-05-16 22:42 Michał Górny
2017-05-16 22:42 Michał Górny
2017-02-02 18:43 David Seifert
2016-02-18 12:17 Patrick Lauer
2015-11-18 15:57 Justin Lecher
2015-08-15 12:23 Ian Delaney
2015-08-12 15:51 Tobias Klausmann

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=1494974540.5c299433473b8d67dcec6a207b40cca10b508d75.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