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: Thu,  2 Dec 2021 23:13:04 +0000 (UTC)	[thread overview]
Message-ID: <1638486781.b7be9fb5d393da00c5515e78c28e8c8390b66745.mgorny@gentoo> (raw)

commit:     b7be9fb5d393da00c5515e78c28e8c8390b66745
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  2 22:38:25 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  2 23:13:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7be9fb5

dev-python/pytest-django: Bump to 4.5.1

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

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

diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest
index 0e1b28eeecf6..50325da8149f 100644
--- a/dev-python/pytest-django/Manifest
+++ b/dev-python/pytest-django/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-django-4.4.0.gh.tar.gz 72905 BLAKE2B 4532bef9afdc7f11fdf9a16f019810d10e4e580b517958722184d361a69a195f6c66f7f3bc18be6cb7f63fe4576963c59a00d72bd8a42f104d26e5ad091c6d54 SHA512 47e4a84606aeb6bb99ed74603faf988298d52f81f74ec8e4608cb670f0f331ad0c6555f3e4a516fc7834aea4e634f849dc0ff6d446a86e924a116fbe90bd79e0
 DIST pytest-django-4.5.0.gh.tar.gz 75264 BLAKE2B 7743e21cd397cb5620a9a4ba73edf049c9540a64ba675baabd768c6060872eb2911384346f21c598469db604b78084f27e7e6da7423fc26cb7c550934cf4ed49 SHA512 9d86a35a05521e1cc3582f17fd6d78367d0d8383ee06e5a2f97ea5da658be4008471094d6c0b4c1d43da3091cf7e936e40ec984d232f9e3cc8cf69cd88adb9b9
+DIST pytest-django-4.5.1.gh.tar.gz 75348 BLAKE2B 36bac4524ee4dab37ee661780fd4033f16a29677fa00a35ad345f092c46454eb67fcbb111e2422221ebf335a1046e353ed53f2b029b493c82eac7f435d1a275c SHA512 cddc87b989933b2537caaf3d369ec101331ce544a8e66298d170b985810f21425059eb9a516fe37d97cbb5a38a430410cfff4da086d82d62689b65215b59cc66

diff --git a/dev-python/pytest-django/pytest-django-4.5.1.ebuild b/dev-python/pytest-django/pytest-django-4.5.1.ebuild
new file mode 100644
index 000000000000..1e62d7f0b421
--- /dev/null
+++ b/dev-python/pytest-django/pytest-django-4.5.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="A Django plugin for py.test"
+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/django[${PYTHON_USEDEP}]
+	>=dev-python/pytest-5.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	>=dev-python/setuptools_scm-1.11.1[${PYTHON_USEDEP}]
+	test? (
+		dev-python/django-configurations[${PYTHON_USEDEP}]
+	)
+"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+distutils_enable_tests --install pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# something else may be loading it
+		tests/test_django_settings_module.py::test_django_not_loaded_without_settings
+	)
+
+	distutils_install_for_testing
+	cp -r pytest_django_test "${TEST_DIR}"/lib || die
+
+	local -x DJANGO_SETTINGS_MODULE
+	for DJANGO_SETTINGS_MODULE in pytest_django_test.settings_sqlite{,_file}; do
+		einfo "Testing ${DJANGO_SETTINGS_MODULE}"
+		epytest tests
+	done
+}


             reply	other threads:[~2021-12-02 23:13 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 23:13 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12 15:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-django/ 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-11-08 15:39 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-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=1638486781.b7be9fb5d393da00c5515e78c28e8c8390b66745.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