public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/
Date: Fri, 22 Nov 2019 00:20:56 +0000 (UTC)	[thread overview]
Message-ID: <1574381867.c5d0556fe8ce7b466a71707cb8443fa2ab5ddedd.chutzpah@gentoo> (raw)

commit:     c5d0556fe8ce7b466a71707cb8443fa2ab5ddedd
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Thu Nov 21 23:54:46 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 00:17:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d0556f

dev-python/tempora: Revbump to 1.14.1-r1, add py38

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-python/tempora/tempora-1.12.ebuild             |  2 +-
 ...empora-1.12.ebuild => tempora-1.14.1-r1.ebuild} | 37 ++++++++++++++++------
 2 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/dev-python/tempora/tempora-1.12.ebuild b/dev-python/tempora/tempora-1.12.ebuild
index da787d21de2..a44c6817759 100644
--- a/dev-python/tempora/tempora-1.12.ebuild
+++ b/dev-python/tempora/tempora-1.12.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86"
 IUSE="doc test"
 
 RDEPEND="

diff --git a/dev-python/tempora/tempora-1.12.ebuild b/dev-python/tempora/tempora-1.14.1-r1.ebuild
similarity index 50%
copy from dev-python/tempora/tempora-1.12.ebuild
copy to dev-python/tempora/tempora-1.14.1-r1.ebuild
index da787d21de2..411f243370d 100644
--- a/dev-python/tempora/tempora-1.12.ebuild
+++ b/dev-python/tempora/tempora-1.14.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6}} )
+PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6,7,8}} )
 
 inherit distutils-r1
 
@@ -14,30 +14,47 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc test"
 
 RDEPEND="
+	>=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}]
 	dev-python/pytz[${PYTHON_USEDEP}]
 	dev-python/six[${PYTHON_USEDEP}]
 "
-DEPEND="
-	>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	doc? (
-		>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
-		>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
-		dev-python/sphinx[${PYTHON_USEDEP}]
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? ( $(python_gen_any_dep '
+			>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
+			>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
+			dev-python/sphinx[${PYTHON_USEDEP}]
+		')
 	)
 	test? (
+		${RDEPEND}
 		>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
 		dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
 		dev-python/freezegun[${PYTHON_USEDEP}]
 	)
 "
 
+RESTRICT="!test? ( test )"
+
 S="${WORKDIR}/${MY_PN}-${PV}"
 
+python_check_deps() {
+	use doc || return 0
+	has_version ">=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]" && \
+		has_version ">=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]" && \
+		has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+python_prepare_all() {
+	# avoid a setuptools_scm dependency
+	sed -i "s:use_scm_version=True:version='${PV}':" setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
 python_compile_all() {
 	if use doc; then
 		sphinx-build docs docs/_build/html || die
@@ -47,6 +64,6 @@ python_compile_all() {
 
 python_test() {
 	# Override pytest options to skip flake8
-	PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \
+	PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
 		|| die "tests failed with ${EPYTHON}"
 }


             reply	other threads:[~2019-11-22  0:21 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-22  0:20 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/ Michał Górny
2025-02-15  7:12 Michał Górny
2025-01-18  8:28 Michał Górny
2025-01-18  8:24 Michał Górny
2024-12-31  5:26 Michał Górny
2024-12-31  5:26 Michał Górny
2024-10-14 12:42 Michał Górny
2024-09-16  8:52 Louis Sautier
2024-08-10  6:28 Michał Górny
2024-08-10  6:28 Michał Górny
2024-07-26  1:57 Michał Górny
2024-07-12  6:56 Michał Górny
2024-07-06  7:40 Arthur Zamarin
2024-07-06  7:26 Arthur Zamarin
2024-07-06  6:59 Arthur Zamarin
2024-07-06  6:43 Arthur Zamarin
2024-07-06  6:39 Sam James
2024-07-06  6:39 Sam James
2024-07-06  6:14 Sam James
2024-07-05 18:41 Arthur Zamarin
2024-06-20 15:20 Michał Górny
2024-06-20  4:56 Michał Górny
2024-06-19  4:36 Michał Górny
2024-05-09 17:32 Michał Górny
2024-05-09 13:23 Michał Górny
2024-05-08 18:31 Michał Górny
2024-04-07 15:21 James Le Cuirot
2024-03-07 16:24 Michał Górny
2024-03-07 16:22 Michał Górny
2024-02-19 15:51 Michał Górny
2023-07-24 10:49 Michał Górny
2023-06-28  5:06 Michał Górny
2023-06-11  5:18 Michał Górny
2023-06-01 14:59 Michał Górny
2023-05-13 16:04 Michał Górny
2023-05-13 10:44 Arthur Zamarin
2023-04-11  3:14 Michał Górny
2023-02-16 20:28 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-02-07  9:26 Michał Górny
2023-01-19  6:08 Michał Górny
2023-01-02 14:54 Michał Górny
2022-12-25 17:50 Michał Górny
2022-12-25 16:45 Sam James
2022-11-20  7:45 Michał Górny
2022-08-17 19:34 Arthur Zamarin
2022-08-17 18:48 Sam James
2022-07-14 18:34 Arthur Zamarin
2022-06-16 11:47 Michał Górny
2022-06-16  9:40 Jakov Smolić
2022-06-02  8:32 Michał Górny
2022-05-13 16:31 Arthur Zamarin
2022-05-13 16:31 Arthur Zamarin
2022-04-26  4:03 Sam James
2022-03-16  8:07 Michał Górny
2022-03-15 17:56 Jakov Smolić
2022-02-04 12:04 Michał Górny
2022-01-09  5:13 Michał Górny
2021-11-13  9:51 Michał Górny
2021-11-13  9:26 Arthur Zamarin
2021-10-08  6:21 Michał Górny
2021-07-28 23:38 Marek Szuba
2021-07-25  8:41 Michał Górny
2021-07-25  1:04 Sam James
2021-06-21  7:54 Michał Górny
2021-05-08  8:52 Michał Górny
2021-05-06 11:03 Michał Górny
2021-05-06  9:57 Sam James
2021-04-04 14:23 Michał Górny
2020-12-31  8:50 Michał Górny
2020-12-31  1:20 Sam James
2020-11-28 15:26 Sam James
2020-11-28 15:26 Sam James
2020-10-31  8:33 Michał Górny
2020-09-26  4:57 Matt Turner
2020-09-06 17:35 Sam James
2020-09-02  6:33 Sergei Trofimovich
2020-09-01  3:22 Sam James
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-08-19  9:17 Sam James
2020-07-28 17:28 Sergei Trofimovich
2020-07-19 18:33 Michał Górny
2020-07-13 23:13 Sam James
2020-07-06 11:57 Michał Górny
2020-07-05 15:16 Michał Górny
2020-06-29 13:40 Agostino Sarubbo
2020-06-22 19:05 Mart Raudsepp
2020-06-10  8:11 Michał Górny
2020-05-27  7:16 Michał Górny
2020-05-16 11:25 Mikle Kolyada
2020-03-25 13:59 Michał Górny
2020-03-25 13:59 Michał Górny
2020-03-20 23:05 Louis Sautier
2020-03-20 23:05 Louis Sautier
2020-03-20 22:40 Louis Sautier
2020-03-20 22:40 Louis Sautier
2020-03-17  2:09 Matt Turner
2020-03-17  2:09 Matt Turner
2020-02-08 11:33 Sergei Trofimovich
2020-02-06  6:38 Michał Górny
2020-01-11  0:29 Louis Sautier
2020-01-05 12:48 Sergei Trofimovich
2019-12-31 15:18 Louis Sautier
2019-12-31 15:18 Louis Sautier
2019-12-12  2:19 Georgy Yakovlev
2019-12-10 19:25 Sergei Trofimovich
2019-12-10 19:25 Sergei Trofimovich
2019-12-08 23:32 Sergei Trofimovich
2019-12-08 23:31 Sergei Trofimovich
2019-12-04 19:44 Sergei Trofimovich
2019-12-02 21:13 Aaron Bauman
2019-11-27 12:59 Mikle Kolyada
2019-11-25 12:35 Michał Górny
2019-11-25  8:12 Patrick McLean
2019-04-17 18:07 Aaron Bauman
2019-04-12 10:10 Louis Sautier
2019-04-12 10:10 Louis Sautier
2018-11-03 15:41 Louis Sautier
2018-11-03 15:41 Louis Sautier
2018-08-19 21:51 Louis Sautier
2018-07-25 21:10 Louis Sautier
2018-07-25 20:51 Louis Sautier
2018-07-04 20:29 Louis Sautier
2018-07-04 20:29 Louis Sautier
2018-06-26 14:18 Louis Sautier
2018-06-26 14:18 Louis Sautier
2018-06-18 10:34 Louis Sautier
2018-06-03  2:13 Aaron Bauman
2018-06-03  2:13 Aaron Bauman
2018-03-07 19:47 Markus Meier
2018-01-24 23:12 Sergei Trofimovich
2017-09-22 13:56 Patrice Clement
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2017-06-11  7:02 Michael Palimaka
2017-06-11  7:02 Michael Palimaka
2016-09-27 10:17 Patrice Clement
2015-12-30 12:51 Ian Delaney
2015-12-29 13:58 Ian Delaney

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=1574381867.c5d0556fe8ce7b466a71707cb8443fa2ab5ddedd.chutzpah@gentoo \
    --to=chutzpah@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