Accepting request 656867 from devel:languages:python:django

- Version update to 3.4.4:
  * Many many changes to list properly
- Drop obsolete patch python-pytest-django-dependency.patch

OBS-URL: https://build.opensuse.org/request/show/656867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-12-13 18:48:20 +00:00 committed by Git OBS Bridge
parent 7420cfe289
commit 917835e4a0
5 changed files with 31 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:038ccc5a9daa1b1b0eb739ab7dce54e495811eca5ea3af4815a2a3ac45152309
size 60225

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe1f71a0171f6b7edac37654da0904c9bd5ffba5221ab5a76779ab870611f41f
size 66962

View File

@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@
license='BSD-3-Clause',
packages=['pytest_django'],
long_description=read('README.rst'),
- setup_requires=['setuptools_scm==1.11.1'],
+ setup_requires=['setuptools_scm'],
install_requires=['pytest>=2.9'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Dec 10 15:17:57 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Version update to 3.4.4:
* Many many changes to list properly
- Drop obsolete patch python-pytest-django-dependency.patch
-------------------------------------------------------------------
Thu Oct 12 14:06:41 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-django
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,34 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-django
Version: 3.1.2
Version: 3.4.4
Release: 0
Summary: A Django plugin for py.test
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://pytest-django.readthedocs.org/
URL: https://github.com/pytest-dev/pytest-django
Source: https://files.pythonhosted.org/packages/source/p/pytest-django/pytest-django-%{version}.tar.gz
Patch: python-pytest-django-dependency.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest >= 2.9.2}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module Django}
BuildRequires: %{python_module pytest >= 3.6}
BuildRequires: %{python_module setuptools_scm >= 1.11.1}
BuildRequires: %{python_module setuptools}
# Used for tests
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python2-pathlib2
BuildRequires: sqlite3
Requires: python-Django
Requires: python-pytest >= 3.6
BuildArch: noarch
%ifpython2
Requires: python-pathlib2
%endif
%python_subpackages
%description
@ -53,7 +59,6 @@ that are already present in pytest:
%prep
%setup -q -n pytest-django-%{version}
%patch -p1
%build
%python_build
@ -62,9 +67,13 @@ that are already present in pytest:
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# memory operations failed in OBS not localy, thus skip them
export DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite
%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} tests/ -k 'not test_sqlite_in_memory_used'
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%{python_sitelib}/*
%changelog