repo/gentoo:master commit in: dev-python/pytest-django/
MichaŠGórny <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785988895.fdcaa224842b504d0d3dc5003d34707f5be69f4b.mgorny@gentoo> |
commit: fdcaa224842b504d0d3dc5003d34707f5be69f4b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 6 04:01:35 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 6 04:01:35 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdcaa224
dev-python/pytest-django: Bump to 4.13.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-django/Manifest | 1 +
.../pytest-django/pytest-django-4.13.0.ebuild | 50 ++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest
index 96262511cf94..0ecb244ef4e5 100644
--- a/dev-python/pytest-django/Manifest
+++ b/dev-python/pytest-django/Manifest
@@ -1 +1,2 @@
DIST pytest-django-4.12.0.gh.tar.gz 85134 BLAKE2B 36c697fbc97469015170d34fa6e4e3fd9330d78753b6e29caee8ff40dbeddaf29e3dfa12c9bb2332ac3667ca1360254ee4db103ae69e8c6b6c7c6b7bc82ff353 SHA512 054a37b652831838b13ea0480855b2d3c5008ec9d75dae88e9bf8b8f2eac0bc7b69eb9dae46c45ba0e39019f265b5a8cfff7a8d144eae8e8dc4dfb4ea222a266
+DIST pytest-django-4.13.0.gh.tar.gz 87619 BLAKE2B 978411585e6eccba3ee3cfc882e2f6ede8b81473b08e16bfd77a3b165e3c8ecbb130a5e33207c1afe2772c2ebf75686eae65cb3d9835b2262f2799c18ae91226 SHA512 a84b42ea29343f3777c2d586a7d877e1a9dfff9fbbf4f3c93cfc55c375f9b99563285cba7e4550bc86b5d6551186d284aa25fa367abcf891fba70a673e6df6ae
diff --git a/dev-python/pytest-django/pytest-django-4.13.0.ebuild b/dev-python/pytest-django/pytest-django-4.13.0.ebuild
new file mode 100644
index 000000000000..0986de350fd3
--- /dev/null
+++ b/dev-python/pytest-django/pytest-django-4.13.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{12..15} )
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+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}]
+ )
+"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
+distutils_enable_tests pytest
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE
+ local -x PYTHONPATH=${PWD}
+ for DJANGO_SETTINGS_MODULE in pytest_django_test.settings_sqlite{,_file}; do
+ einfo "Testing ${DJANGO_SETTINGS_MODULE}"
+ epytest tests
+ done
+}