public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/
Date: Mon,  3 Aug 2020 18:59:11 +0000 (UTC)	[thread overview]
Message-ID: <1596480952.5968bc7d12ea06a5a92982ddc8eb091f46bd3b84.conikost@gentoo> (raw)

commit:     5968bc7d12ea06a5a92982ddc8eb091f46bd3b84
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 18:52:53 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 18:55:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5968bc7d

dev-python/transitions: fix tests

Added missing deps and changed tests to use correctly pytest.

Bug: https://bugs.gentoo.org/733884
Bug: https://bugs.gentoo.org/732570
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-python/transitions/transitions-0.7.1-r1.ebuild | 45 ++++++++++++++++++++++
 dev-python/transitions/transitions-0.8.1-r1.ebuild | 45 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-python/transitions/transitions-0.7.1-r1.ebuild b/dev-python/transitions/transitions-0.7.1-r1.ebuild
new file mode 100644
index 00000000000..23b568a3c79
--- /dev/null
+++ b/dev-python/transitions/transitions-0.7.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight, object-oriented state machine implementation in Python"
+HOMEPAGE="https://github.com/pytransitions/transitions"
+SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="examples test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-python/graphviz[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/dill[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/pycodestyle[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)
+"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+src_install() {
+	distutils-r1_src_install
+
+	use examples && dodoc examples/*.ipynb
+}

diff --git a/dev-python/transitions/transitions-0.8.1-r1.ebuild b/dev-python/transitions/transitions-0.8.1-r1.ebuild
new file mode 100644
index 00000000000..9256f6b345c
--- /dev/null
+++ b/dev-python/transitions/transitions-0.8.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight, object-oriented state machine implementation in Python"
+HOMEPAGE="https://github.com/pytransitions/transitions"
+SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-python/graphviz[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/dill[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/pycodestyle[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)
+"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+src_install() {
+	distutils-r1_src_install
+
+	use examples && dodoc examples/*.ipynb
+}


             reply	other threads:[~2020-08-03 18:59 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-03 18:59 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-24 13:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/ Michał Górny
2024-08-07 14:10 Michał Górny
2024-07-08 19:22 Michał Górny
2024-06-01 17:27 Michał Górny
2024-06-01 10:25 Arthur Zamarin
2024-05-28  9:41 Michał Górny
2024-05-16 15:28 Michał Górny
2024-03-09 17:41 Conrad Kostecki
2023-11-24 22:48 Sam James
2022-11-03 22:37 Conrad Kostecki
2022-10-03  6:50 Michał Górny
2022-09-02 13:50 Arthur Zamarin
2022-09-02 13:44 Arthur Zamarin
2022-03-27 15:15 Conrad Kostecki
2022-03-27 15:15 Conrad Kostecki
2022-03-27 15:15 Conrad Kostecki
2022-02-24 18:02 Arthur Zamarin
2021-11-04 11:02 Conrad Kostecki
2021-11-04 11:02 Conrad Kostecki
2021-11-04 11:02 Conrad Kostecki
2021-10-05  8:27 Michał Górny
2021-10-03 17:17 Conrad Kostecki
2021-10-03 17:17 Conrad Kostecki
2021-10-03 17:17 Conrad Kostecki
2021-09-02 21:00 Michał Górny
2021-07-01 21:15 Conrad Kostecki
2021-06-24 20:41 Conrad Kostecki
2021-05-09 12:51 Conrad Kostecki
2021-05-09 12:51 Conrad Kostecki
2021-05-09 12:51 Conrad Kostecki
2021-04-07 23:11 Michał Górny
2021-03-15 20:34 Conrad Kostecki
2021-03-15 20:34 Conrad Kostecki
2021-03-15 20:34 Conrad Kostecki
2021-02-13 14:31 Michał Górny
2021-01-29 22:41 Conrad Kostecki
2021-01-29 22:41 Conrad Kostecki
2021-01-29 22:41 Conrad Kostecki
2020-12-29 11:46 Michał Górny
2020-12-29 11:46 Michał Górny
2020-08-24 22:33 Conrad Kostecki
2020-08-24 22:33 Conrad Kostecki
2020-08-12  6:55 Conrad Kostecki
2020-08-12  6:01 Agostino Sarubbo
2020-08-11 11:00 Agostino Sarubbo
2020-08-09 15:53 Conrad Kostecki
2020-08-03 18:59 Conrad Kostecki
2020-08-03 18:59 Conrad Kostecki
2020-07-11  9:34 Michał Górny
2020-05-19 21:35 Conrad Kostecki
2020-05-19 21:35 Conrad Kostecki
2020-02-04 18:09 Conrad Kostecki
2020-02-02 15:34 Michał Górny
2019-12-17 18:40 Conrad Kostecki
2019-10-03  9:40 Agostino Sarubbo
2019-10-03  8:24 Agostino Sarubbo
2019-09-24  5:01 Joonas Niilola
2019-09-24  5:01 Joonas Niilola
2019-08-02 18:16 Joonas Niilola

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=1596480952.5968bc7d12ea06a5a92982ddc8eb091f46bd3b84.conikost@gentoo \
    --to=conikost@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