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/pyhamcrest/
Date: Mon, 16 Jul 2018 14:05:57 +0000 (UTC)	[thread overview]
Message-ID: <1531749952.0fae70a0880d2a182fe3544cd904e56e702a7484.mgorny@gentoo> (raw)

commit:     0fae70a0880d2a182fe3544cd904e56e702a7484
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 14:03:32 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 14:05:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fae70a0

dev-python/pyhamcrest: Enable tests

 dev-python/pyhamcrest/Manifest                   |  1 +
 dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild | 54 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pyhamcrest/Manifest b/dev-python/pyhamcrest/Manifest
index d52753b709c..2b62afa078c 100644
--- a/dev-python/pyhamcrest/Manifest
+++ b/dev-python/pyhamcrest/Manifest
@@ -1 +1,2 @@
+DIST PyHamcrest-1.9.0.gh.tar.gz 57650 BLAKE2B c497688f03ec3b072d8ab076fc096a442d5cbbd94493eae57779879ccb6f281477aeeb7f7a67e539442010e60194f9f04a6deddd1d2267e9743742b45433f124 SHA512 3a878637ed5138365416c170871a63640f089047b723c7ec8db893dd716c0b1cdad16a98584700405693b954af7d4868a8543d1a3fc58ded22b493c8c61661b4
 DIST PyHamcrest-1.9.0.tar.gz 376623 BLAKE2B 808c74aa4dff89467c126cbc0e18029a9504cb27bbf03662a90666f85c76d7d7617260f50d35acde3a8e9e437b846589423cbb3697f8ceb86d0b5b838c586ebd SHA512 3b8393d0079b619b208ec7f06ed5133c4ff9d9dba050f818adf56347fc2225fd1c85d60f3dc262b7b9722061f0b8e4966180b6b96245a371e578d0d51633b4b0

diff --git a/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild
new file mode 100644
index 00000000000..4149b8e2ad3
--- /dev/null
+++ b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+MY_PN="PyHamcrest"
+
+DESCRIPTION="Hamcrest framework for matcher objects"
+HOMEPAGE="https://github.com/hamcrest/PyHamcrest"
+SRC_URI="https://github.com/hamcrest/PyHamcrest/archive/V${PV}.tar.gz -> ${MY_PN}-${PV}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? (
+		>=dev-python/sphinx-1.2.2[${PYTHON_USEDEP}]
+		dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+	)
+	test? (
+		>=dev-python/pytest-2.6[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+	)"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_prepare_all() {
+	# enables coverage testing which we don't want
+	rm pytest.ini || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	use doc && esetup.py build_sphinx
+}
+
+python_test() {
+	py.test -vv || die "Tests failed under ${EPYTHON}"
+	"${PYTHON}" tests/object_import.py || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+	use doc && local HTML_DOCS=( doc/_build/html/. )
+	use examples && dodoc -r examples
+
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2018-07-16 14:06 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 14:05 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-16 18:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyhamcrest/ Arthur Zamarin
2025-02-18 12:50 Michał Górny
2025-02-18 12:50 Michał Górny
2024-05-12 16:30 Michał Górny
2023-11-22 11:59 Michał Górny
2023-11-22 11:11 Sam James
2023-10-22 19:14 Michał Górny
2023-05-29 12:26 Michał Górny
2022-09-11  5:29 Michał Górny
2022-09-10 22:37 Jakov Smolić
2022-08-11  9:59 Michał Górny
2022-06-13  8:25 Michał Górny
2022-06-13  7:07 Agostino Sarubbo
2022-05-12 13:36 Michał Górny
2022-05-12 13:36 Michał Górny
2022-01-27 22:56 James Le Cuirot
2022-01-26 21:31 Michał Górny
2022-01-13 21:53 Michał Górny
2022-01-13 19:26 Arthur Zamarin
2021-12-13  8:09 Michał Górny
2021-05-10 21:56 Michał Górny
2020-11-28 11:39 Sam James
2020-08-04 12:01 Michał Górny
2020-07-30 20:46 Michał Górny
2020-07-13 16:18 Sam James
2020-07-13 16:16 Sam James
2020-07-09 13:42 Michał Górny
2020-07-09 13:42 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27  9:18 Michał Górny
2020-05-06 18:45 Mikle Kolyada
2020-05-06 18:43 Mikle Kolyada
2020-05-06 14:28 Mikle Kolyada
2020-05-03 21:55 Sergei Trofimovich
2020-04-06 17:54 Sergei Trofimovich
2020-04-05 21:53 Sergei Trofimovich
2020-03-25  6:08 Georgy Yakovlev
2020-03-25  5:40 Michał Górny
2020-03-18  7:27 Michał Górny
2020-02-24 12:00 Agostino Sarubbo
2020-02-23 12:12 Mikle Kolyada
2020-02-22 20:22 Andreas Sturmlechner
2020-01-22 23:40 Thomas Deutschmann
2020-01-02  9:58 Sergei Trofimovich
2019-12-07 23:07 Matt Turner
2019-12-03  3:02 Aaron Bauman
2019-11-29 23:33 David Seifert
2019-11-29 21:43 Aaron Bauman
2019-11-29 20:58 Aaron Bauman
2019-11-29 20:35 Aaron Bauman
2019-06-25 12:09 Michael Haubenwallner
2019-05-02 22:02 Mikle Kolyada
2019-03-20 10:31 Fabian Groffen
2019-01-17 20:45 Mikle Kolyada
2018-12-03 14:12 Mikle Kolyada
2018-07-16 20:38 Michał Górny
2018-07-16 19:57 Michał Górny
2018-03-30 18:35 Aaron Bauman
2017-05-11  3:17 Zac Medico
2016-09-09 13:05 Tiziano Müller

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=1531749952.0fae70a0880d2a182fe3544cd904e56e702a7484.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