17
0
Files
python-mongoengine/python-mongoengine.spec
Dirk Mueller 998ba8c9b7 - update to 0.29.1:
* Add support for freshly released pymongo 4.9 #2849
  * Fix weakref in EmbeddedDocumentListField (causing brief mem
    leak in certain circumstances) #2827
  * Fix pillow deprecation warning related with LANCZOS filter
    #2824
  * Allow gt/gte/lt/lte/ne operators to be used with a list as
    value on ListField #2813
  * Switch tox to use pytest instead of legacy python setup.py
    test #2804
  * Add support for timeseries collection #2661
  * Add support in tests for MongoDB 7.0, pymongo 4.7 and pymongo
    4.8 in the CI #2826
  * Add support for array_filters in Queryset.modify #2811
  * Integrate a docker-compose setup for local testing #2555
  * improve ReferenceField wrong usage detection
  * Fix no_dereference thread-safetyness #2830
  * BREAKING CHANGE: max_length in ListField is now keyword only
    on ListField signature
  * BREAKING CHANGE: Force field argument of ListField/DictField
    to be a field instance (e.g ListField(StringField()) instead
    of ListField(StringField)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=17
2024-11-14 08:56:11 +00:00

68 lines
2.0 KiB
RPMSpec

#
# spec file for package python-mongoengine
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-mongoengine
Version: 0.29.1
Release: 0
Summary: Python Object-Document Mapper for working with MongoDB
License: MIT
Group: Development/Languages/Python
URL: http://mongoengine.org/
Source: https://github.com/MongoEngine/mongoengine/archive/v%{version}.tar.gz
BuildRequires: %{python_module blinker}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pymongo >= 3.9}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-blinker
Requires: python-pymongo >= 3.9
Suggests: python-python-dateutil
BuildArch: noarch
%python_subpackages
%description
MongoEngine is an ORM-like layer on top of PyMongo.
MongoEngine is a Python Object-Document Mapper for working with MongoDB
built on top of PyMongo.
%prep
%setup -q -n mongoengine-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
rm -v tests/test_connection.py
# o/opytest
%files %{python_files}
%doc AUTHORS README.rst
%license LICENSE
%{python_sitelib}/mongoengine
%{python_sitelib}/mongoengine-%{version}.dist-info
%changelog