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/pytest-django/
Date: Wed,  8 Nov 2023 15:39:53 +0000 (UTC)	[thread overview]
Message-ID: <1699457980.ebe73320687d7f1a0be3c6b80aab2646cd394d05.mgorny@gentoo> (raw)

commit:     ebe73320687d7f1a0be3c6b80aab2646cd394d05
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  8 14:57:14 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  8 15:39:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe73320

dev-python/pytest-django: Bump to 4.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-django/Manifest                  |  1 +
 .../pytest-django/pytest-django-4.7.0.ebuild       | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest
index cc6911c4e163..1b7e22492405 100644
--- a/dev-python/pytest-django/Manifest
+++ b/dev-python/pytest-django/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-django-4.5.2.gh.tar.gz 75429 BLAKE2B 2e8fba037c7618c6dd1c9200c5c44a7b00a13a2d70b4a593a461af3dbc0333b6814ceca16f88a58f1b6aeea2700cac12b589ede702b8eaf023fb3948e0ab8b9a SHA512 09ed5bfe850599e95190d9b15e9383d1249ea575a7b3921744583da6266dd2c8d3eb4f93c8de96d98e1a8e33d1639937470cdc6d11558fcaea57d014dce13500
 DIST pytest-django-4.6.0.gh.tar.gz 77499 BLAKE2B 057eb0f3593aed92285d96edbcff94cab5ec1574c394793199df4b93bfb3256b723ae74689a6413f7a2303b8c5564e40805f4e9ee6ed2dead1030d8da3a4f7ed SHA512 e2dc2a1993b795cc15f6d63757a9c01b2f466812f69f07aa43deff8260edcd881da554a200b0d793173a2fa9efd826f020e2ba1c26931fa2f59503d25ce7c240
+DIST pytest-django-4.7.0.gh.tar.gz 77146 BLAKE2B 7e5b0c1bc1e3953794f39cf425150a4963acab44295a23d3ee67147d3b6bdb66b56de165caae6ba2cfaa083e9b2de9c13ead699cee46008afeded65ba743b3d3 SHA512 090337442568b43e9da4ec2b3d0c1f862e44c90a3852906338928a968e4fa89ef9e9e930f43d067e48dde317aeba465ec374be9d5ec74c835ad7e1cea9cba93b

diff --git a/dev-python/pytest-django/pytest-django-4.7.0.ebuild b/dev-python/pytest-django/pytest-django-4.7.0.ebuild
new file mode 100644
index 000000000000..9148fdfba396
--- /dev/null
+++ b/dev-python/pytest-django/pytest-django-4.7.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Django plugin for pytest"
+HOMEPAGE="
+	https://pypi.org/project/pytest-django/
+	https://pytest-django.readthedocs.io/
+	https://github.com/pytest-dev/pytest-django/
+"
+SRC_URI="
+	https://github.com/pytest-dev/pytest-django/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+SLOT="0"
+
+RDEPEND="
+	>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	>=dev-python/setuptools-scm-1.11.1[${PYTHON_USEDEP}]
+	test? (
+		dev-python/django[${PYTHON_USEDEP}]
+		>=dev-python/django-configurations-2.0[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+distutils_enable_tests pytest
+
+python_test() {
+	local -x DJANGO_SETTINGS_MODULE
+	local -x PYTHONPATH=${PWD}
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x PYTEST_PLUGINS=pytest_django.plugin,xdist.plugin
+	for DJANGO_SETTINGS_MODULE in pytest_django_test.settings_sqlite{,_file}; do
+		einfo "Testing ${DJANGO_SETTINGS_MODULE}"
+		epytest tests
+	done
+}


             reply	other threads:[~2023-11-08 15:39 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-08 15:39 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07 20:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-django/ Michał Górny
2025-03-01 11:57 Michał Górny
2025-02-10 16:54 Arthur Zamarin
2024-10-12 15:05 Sam James
2024-09-21 10:43 Michał Górny
2024-09-21  9:59 Sam James
2024-09-03  5:23 Michał Górny
2024-08-29  6:34 Jakov Smolić
2024-08-29  6:34 Jakov Smolić
2024-06-19 17:21 Michał Górny
2024-06-19 17:21 Michał Górny
2024-04-19  6:39 Ionen Wolkens
2024-04-18 16:17 Arthur Zamarin
2024-03-09 16:55 Andrew Ammerlaan
2024-02-14 12:36 Michał Górny
2024-02-14 12:26 Michał Górny
2024-01-30 14:19 Michał Górny
2023-11-29 10:20 Michał Górny
2023-10-30 18:10 Michał Górny
2023-08-24 12:47 Michał Górny
2023-08-24 12:40 Sam James
2023-07-23 21:44 Sam James
2023-07-23 14:47 Michał Górny
2023-07-23 14:47 Michał Górny
2022-01-01 18:48 Michał Górny
2022-01-01 18:11 Arthur Zamarin
2021-12-07 23:27 Michał Górny
2021-12-02 23:13 Michał Górny
2021-12-01 19:14 Michał Górny
2021-07-16 21:53 Michał Górny
2021-07-16 21:44 Sam James
2021-07-14  6:22 Agostino Sarubbo
2021-07-13 20:05 Sam James
2021-07-13  6:26 Agostino Sarubbo
2021-06-26  2:52 Sam James
2021-06-24  8:20 Michał Górny
2021-06-24  4:26 Agostino Sarubbo
2021-06-22 18:25 Marek Szuba
2021-06-14  6:39 Sergei Trofimovich
2021-06-14  6:37 Sergei Trofimovich
2021-06-09 14:43 Sergei Trofimovich
2021-06-08 11:42 Michał Górny
2021-05-19  6:02 Michał Górny
2021-05-18 23:20 Sam James
2021-05-15 21:18 Michał Górny
2021-04-11 10:47 Michał Górny
2021-01-18 14:52 Sam James
2020-12-21 22:16 Sam James
2020-12-21 22:16 Sam James
2020-11-27 16:18 Michał Górny
2020-11-20 14:14 Sam James
2020-11-20 14:14 Sam James
2020-11-07  1:23 Sam James
2020-11-02 10:34 Michał Górny
2020-10-22 21:06 Michał Górny
2020-10-16 15:44 Michał Górny
2020-10-07  7:28 Michał Górny
2020-09-21 16:06 Michał Górny
2020-08-29  6:13 Michał Górny
2020-07-11  7:04 Michał Górny
2020-07-11  7:04 Michał Górny
2020-07-09  8:59 Agostino Sarubbo
2020-04-28 13:12 Agostino Sarubbo
2020-04-04 17:04 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-08 14:29 Michał Górny
2020-02-05 20:11 Michał Górny
2018-11-17 19:48 Virgil Dupras
2017-05-29 16:33 Pacho Ramos
2017-05-02 15:15 Michał Górny
2017-01-12 19:19 Justin Lecher
2015-11-09 11:49 Justin Lecher
2015-09-02  7:21 Justin Lecher

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=1699457980.ebe73320687d7f1a0be3c6b80aab2646cd394d05.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