dev-python/pytest-django: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-02-14 13:29:00 +01:00
parent a76feb1ae8
commit 9356c35be8
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 0 additions and 52 deletions

View File

@ -1,2 +1 @@
DIST pytest-django-4.7.0.gh.tar.gz 77146 BLAKE2B 7e5b0c1bc1e3953794f39cf425150a4963acab44295a23d3ee67147d3b6bdb66b56de165caae6ba2cfaa083e9b2de9c13ead699cee46008afeded65ba743b3d3 SHA512 090337442568b43e9da4ec2b3d0c1f862e44c90a3852906338928a968e4fa89ef9e9e930f43d067e48dde317aeba465ec374be9d5ec74c835ad7e1cea9cba93b
DIST pytest-django-4.8.0.gh.tar.gz 77646 BLAKE2B 206357110066d233c103755cfd6324e8042d9c93442c25db17a13f02132eab60a315856441e26d43a3c493cf72ce39ef51163ccc5368941875e63656bf9122a7 SHA512 8f7ba6b28cc4c0347876beb85247ccd021767811b9122c8cd0fb5d051df4ae76267b27a3fee5c36882a40716bdcbaab43abf71ef8dd61757087b12fd141632aa

View File

@ -1,51 +0,0 @@
# 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
}