public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-benchmark/
Date: Wed,  1 Jun 2022 05:03:03 +0000 (UTC)	[thread overview]
Message-ID: <1654059768.dd47c8f0f30a2ad205bf7c191032ae904a325ea9.cybertailor@gentoo> (raw)

commit:     dd47c8f0f30a2ad205bf7c191032ae904a325ea9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun  1 04:31:01 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun  1 05:02:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd47c8f0

dev-python/pytest-benchmark: update DESCRIPTION, SRC_URI

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-benchmark/Manifest               |  2 +-
 .../pytest-benchmark/pytest-benchmark-3.4.1.ebuild | 34 ++++++++++------------
 2 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/dev-python/pytest-benchmark/Manifest b/dev-python/pytest-benchmark/Manifest
index f02988a91..f59164a39 100644
--- a/dev-python/pytest-benchmark/Manifest
+++ b/dev-python/pytest-benchmark/Manifest
@@ -1 +1 @@
-DIST pytest-benchmark-3.4.1.tar.gz 322758 BLAKE2B d29254f412aee0955429e7957fa31e9443b3319bec256b601c456efa7020abbd5b4d9ed43799fda62f53f70f14de3f42a93b29b7366989294f037ec2ee3215fc SHA512 54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5
+DIST pytest-benchmark-3.4.1.gh.tar.gz 322758 BLAKE2B d29254f412aee0955429e7957fa31e9443b3319bec256b601c456efa7020abbd5b4d9ed43799fda62f53f70f14de3f42a93b29b7366989294f037ec2ee3215fc SHA512 54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5

diff --git a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
index 3cc5d7a49..f8eabdb12 100644
--- a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
+++ b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
@@ -6,46 +6,42 @@ EAPI=8
 PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
-DESCRIPTION="py.test fixture for benchmarking code "
+DESCRIPTION="py.test fixture for benchmarking code"
 HOMEPAGE="
 	https://pypi.python.org/pypi/pytest-benchmark
 	https://github.com/ionelmc/pytest-benchmark
 "
-SRC_URI="https://github.com/ionelmc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/ionelmc/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+DOCS=( {AUTHORS,CHANGELOG,README}.rst )
 
-RDEPEND="dev-python/py-cpuinfo[${PYTHON_USEDEP}]"
+RDEPEND="
+	dev-python/py-cpuinfo[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+"
 BDEPEND="test? (
 	dev-python/aspectlib[${PYTHON_USEDEP}]
+	dev-python/elasticsearch-py[${PYTHON_USEDEP}]
 	dev-python/freezegun[${PYTHON_USEDEP}]
 	dev-python/hunter[${PYTHON_USEDEP}]
 	dev-python/pygal[${PYTHON_USEDEP}]
 	dev-python/pygaljs[${PYTHON_USEDEP}]
-	$(python_gen_cond_dep \
-		'dev-python/elasticsearch-py[${PYTHON_USEDEP}]' python3_8 python3_9 )
 )"
 
+EPYTEST_DESELECT=(
+	tests/test_cli.py::test_help
+	tests/test_cli.py::test_help_compare
+)
+
 distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
 
-python_prepare() {
-	if [[ ${EPYTHON} == python3.10 ]]; then
-		rm tests/test_elasticsearch_storage.py || die
-	fi
-}
+distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
 
 python_test() {
 	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-	local epytest_args=(
-		-o markers=benchmark
-		--deselect tests/test_cli.py::test_help
-		--deselect tests/test_cli.py::test_help_compare
-	)
-
-	epytest "${epytest_args[@]}"
+	epytest -o markers=benchmark
 }


             reply	other threads:[~2022-06-01  5:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01  5:03 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 13:01 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-benchmark/ Julien Roy
2024-05-25 12:41 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-15  9:34 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-15  9:26 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-13 12:31 Henri Gasc
2023-07-24 20:26 Anna Vyalkova
2023-07-05 13:59 Anna Vyalkova
2023-05-04  2:02 Anna Vyalkova
2022-11-03  7:37 Anna Vyalkova
2022-06-05  6:16 Anna Vyalkova
2022-06-05  1:09 Alessandro Barbieri
2021-08-14  2:00 Anna Vyalkova
2021-06-14 23:09 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2021-05-25 10:37 Anna Vyalkova
2021-05-06  0:22 Alessandro Barbieri
2020-09-24 12:17 Andrew Ammerlaan
2020-06-09 16:37 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-29 13:21 Andrew Ammerlaan
2020-03-29  9:29 Alessandro Barbieri

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=1654059768.dd47c8f0f30a2ad205bf7c191032ae904a325ea9.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --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