From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-benchmark/
Date: Mon, 14 Jun 2021 02:27:34 +0000 (UTC) [thread overview]
Message-ID: <1623637650.58809d829903647fb850f3c60c925706ff46c584.Alessandro-Barbieri@gentoo> (raw)
commit: 58809d829903647fb850f3c60c925706ff46c584
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 01:11:20 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 02:27:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58809d82
dev-python/pytest-benchmark: add 3.4.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/pytest-benchmark/Manifest | 1 +
.../pytest-benchmark/pytest-benchmark-3.4.1.ebuild | 52 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-python/pytest-benchmark/Manifest b/dev-python/pytest-benchmark/Manifest
index e0224b528..339e0614a 100644
--- a/dev-python/pytest-benchmark/Manifest
+++ b/dev-python/pytest-benchmark/Manifest
@@ -1 +1,2 @@
DIST pytest-benchmark-3.2.3.tar.gz 321127 BLAKE2B a9fb3a01ac9850d813f9b72d1975010b63b4f9d35d48c683b8dfa5d0020b17c59339135ff63b6152efab3ac33fecbc09aacbe6bcc3a7b0b260a00da317db00bf SHA512 952dbe2a9af1ae5de966543eae3b4523a5418c8441785714cbb7a5d17697046f060befb4a40cf216526e2a9a63d91c598d65e65618bd78fc2d889c92cecbbe53
+DIST pytest-benchmark-3.4.1.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
new file mode 100644
index 000000000..e342f4803
--- /dev/null
+++ b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+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"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# during tests import fails because conflict with the already installed files
+# not sure how to fix, it would require setting some python variables but that would
+# probably lead to all other packages being unfindable by the tests
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/py-cpuinfo[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ 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}]
+ dev-python/pytest-instafail[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+ # has to be run in source dir
+ PYTHONPATH="${S}"
+ cd "${S}" || die
+ pytest -vv || die "Tests fail with ${EPYTHON}"
+}
next reply other threads:[~2021-06-14 2:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 2:27 Alessandro Barbieri [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
2022-06-01 5:03 Anna Vyalkova
2021-08-14 2:00 Anna Vyalkova
2021-06-14 23:09 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=1623637650.58809d829903647fb850f3c60c925706ff46c584.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--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