From d253d1304c9ec34d29a6a4ba4d503d02175cc7b5 Mon Sep 17 00:00:00 2001 From: bbrucezhang Date: Tue, 3 Feb 2026 20:27:54 +0800 Subject: [PATCH] Update to 4.8.0 --- python-pytest-django.spec | 31 ++++++++++++++++++++++++------- sources | 2 +- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/python-pytest-django.spec b/python-pytest-django.spec index de496d0..c75b2a0 100644 --- a/python-pytest-django.spec +++ b/python-pytest-django.spec @@ -1,19 +1,23 @@ %global pypi_name pytest-django Name: python-%{pypi_name} -Version: 4.1.0 -Release: 1%{?dist} +Version: 4.8.0 +Release: 1%{?dist} Summary: A Django plugin for pytest License: BSD URL: https://pytest-django.readthedocs.io/ -Source0: %{pypi_source} +Source0: %{pypi_source %{pypi_name}} + BuildArch: noarch +BuildRequires: python3-devel + %description pytest-django allows you to test your Django project/applications with the pytest testing tool. + %package -n python3-%{pypi_name} Summary: %{summary} @@ -24,12 +28,12 @@ BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-six -%{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} pytest-django allows you to test your Django project/applications with the pytest testing tool. + %package -n python-%{pypi_name}-doc Summary: Documentation for %{name} @@ -39,22 +43,30 @@ BuildRequires: python3-sphinx_rtd_theme %description -n python-%{pypi_name}-doc Documentation for %{name}. + %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{version} -p1 rm -rf %{pypi_name}.egg-info -sed -i -e '/NAME/s|/|/var/tmp/|' pytest_django_test/settings_sqlite{,_file}.py + + +%generate_buildrequires +%pyproject_buildrequires + %build %py3_build PYTHONPATH=${PWD} sphinx-build-3 docs html rm -rf html/.{doctrees,buildinfo} + %install %py3_install +%check + + %files -n python3-%{pypi_name} -%license LICENSE %doc README.rst %{python3_sitelib}/pytest_django/ %{python3_sitelib}/pytest_django-%{version}-py*.egg-info/ @@ -63,6 +75,11 @@ rm -rf html/.{doctrees,buildinfo} %doc html %license LICENSE + %changelog +* Tue Feb 03 2026 bbrucezhang - 4.8.0-1 +- [Type] sync +- [DESC] Update to 4.8.0 + * Fri Apr 12 2024 OpenCloudOS Release Engineering - 4.1.0-1 - initial build diff --git a/sources b/sources index a48cddf..eae062e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pytest-django-4.1.0.tar.gz) = 24b5674afe55a12630233b42a0e1e322e7fb452d74e8e6be38b52433469d7d8cf4e5c58e8312ac4902226701584e99d4b5d0640d429a45552a2cc0bb2c2a822f +SHA512 (pytest-django-4.8.0.tar.gz) = 1c1c726fcf3f914849599df082cedbe9eda595e14a69ae3adea31c4b45ab76d4a3bc2de31da1b81e56317087df74953010289e031f991cd380b729fd53304ca6 -- Gitee