15
0

Accepting request 790174 from home:pgajdos:python

- version update to 0.19.1
  * lot of changes, see
    https://github.com/MongoEngine/mongoengine/blob/master/docs/changelog.rst
- python3 package only (python-Pillow)
- deleted patches
  - fix-requirements.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/790174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2020-03-31 14:28:31 +00:00
committed by Git OBS Bridge
parent 2123c15e8b
commit c2d3dbba63
5 changed files with 20 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mongoengine
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mongoengine
Version: 0.15.3
Version: 0.19.1
Release: 0
Summary: Python Object-Document Mapper for working with MongoDB
License: MIT
Group: Development/Languages/Python
Url: http://mongoengine.org/
Source: https://files.pythonhosted.org/packages/source/m/mongoengine/mongoengine-%{version}.tar.gz
Patch0: fix-requirements.patch
URL: http://mongoengine.org/
Source: https://github.com/MongoEngine/mongoengine/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pymongo >= 2.7.1
Requires: python-six
Requires: python-blinker
Requires: python-pymongo >= 3.4
Requires: python-six >= 1.10.0
Suggests: python-python-dateutil
BuildArch: noarch
%python_subpackages
%description
@@ -43,7 +42,6 @@ built on top of PyMongo.
%prep
%setup -q -n mongoengine-%{version}
%patch0 -p1
%build
%python_build