From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A0C11581EE for ; Sat, 05 Apr 2025 06:38:22 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E99453432F0 for ; Sat, 05 Apr 2025 06:38:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 964F71104C3; Sat, 05 Apr 2025 06:37:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 83BE61104C3 for ; Sat, 05 Apr 2025 06:37:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36AA73432E4 for ; Sat, 05 Apr 2025 06:37:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 887B3283B for ; Sat, 05 Apr 2025 06:37:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1743835068.45c40d1a019499e43c7289eb64bc3a53f394c6d5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-django/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-django/Manifest dev-python/pytest-django/pytest-django-4.11.1.ebuild X-VCS-Directories: dev-python/pytest-django/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 45c40d1a019499e43c7289eb64bc3a53f394c6d5 X-VCS-Branch: master Date: Sat, 05 Apr 2025 06:37:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9980902-27a4-4584-96b6-4dc9bb6c6690 X-Archives-Hash: 932fa194930e574b006e97c75401b85e commit: 45c40d1a019499e43c7289eb64bc3a53f394c6d5 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 5 06:12:18 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 5 06:37:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c40d1a dev-python/pytest-django: Bump to 4.11.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-django/Manifest | 1 + .../pytest-django/pytest-django-4.11.1.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest index 59b46bf7da75..261aa27285e1 100644 --- a/dev-python/pytest-django/Manifest +++ b/dev-python/pytest-django/Manifest @@ -1,2 +1,3 @@ DIST pytest-django-4.10.0.gh.tar.gz 78992 BLAKE2B 0d42b7bf11fd06ea58b38d9fedf48b12a1577b7b732a61449b787217a729e95ad7c754530bc31c3a6ce7d4c8417fce5b47bdd554b91b71ed148cdff5efb2696c SHA512 887e02a6122631adf0bb34e7b8354378d628564f736c3754a475473b9dc3ff80599bed9b7ccc12b145d0963c3cb56e7110d49c70bfd0b37e15f8a95f3f787ecf DIST pytest-django-4.11.0.gh.tar.gz 80121 BLAKE2B d8450f007b7a4c5235b03d854a540780c10c993daf9ede82c4927ff69a4b469228a8f42628c1612006ed6312be5767b2c7a3d49e965e9b15bcb89e07ff622419 SHA512 7332c04589ae5539bb03bbdfeebd8e7435073370fcf5b20371ecc570d94ac3460661a192089d5ec7860f77aebbf91399ec78d786d89471a550b1ad9367189128 +DIST pytest-django-4.11.1.gh.tar.gz 80276 BLAKE2B e63195b133f5b619ca9edefa5e0849741848d207700de4b531d26e464e5d4554c229158d47f23717ab96b72783525646241e8fe93eea5d5dbe46a727ec3370b9 SHA512 2c6732277e339c0731214af7dfd06618c29393a9b06fe009beac15ac9aba568763f1595315eaa3416cbaa292a9e44ee1d608d265c148d95e1c8679f5b534f064 diff --git a/dev-python/pytest-django/pytest-django-4.11.1.ebuild b/dev-python/pytest-django/pytest-django-4.11.1.ebuild new file mode 100644 index 000000000000..f889911117cc --- /dev/null +++ b/dev-python/pytest-django/pytest-django-4.11.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +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="~alpha ~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}] + 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 +}