Hello community,

here is the log from the commit of package python-django-tastypie for 
openSUSE:Leap:15.2 checked in at 2020-02-23 16:47:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-django-tastypie (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-django-tastypie.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-tastypie"

Sun Feb 23 16:47:35 2020 rev:11 rq:776583 version:0.14.3

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-django-tastypie/python-django-tastypie.changes
  2020-01-15 15:48:41.519434526 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-django-tastypie.new.26092/python-django-tastypie.changes
       2020-02-23 16:47:35.426334374 +0100
@@ -1,0 +2,29 @@
+Thu Jan  9 08:56:02 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.14.3:
+  * no upstream changelog
+
+-------------------------------------------------------------------
+Sun Feb 24 08:29:30 UTC 2019 - John Vandenberg <[email protected]>
+
+- Add AUTHORS, other *.rst files, and docs/ to %doc
+- Update to v0.14.2
+  * Added support for Django 2.1; minor bugs and regressions fixed.
+    + Incorporates django-tastypie-django21.patch
+  * Drops support for Django 1.8 LTS.
+
+-------------------------------------------------------------------
+Thu Aug 16 11:13:09 UTC 2018 - [email protected]
+
+- Replace useless description.
+
+-------------------------------------------------------------------
+Tue Aug 14 07:19:58 UTC 2018 - [email protected]
+
+- Version update to 0.14.1:
+  * Fixes to support latest django
+- Run tests
+- Add patch for django 2.1:
+  * django-tastypie-django21.patch
+
+-------------------------------------------------------------------

Old:
----
  django-tastypie-0.12.1.tar.gz

New:
----
  v0.14.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-tastypie.spec ++++++
--- /var/tmp/diff_new_pack.lxBciT/_old  2020-02-23 16:47:35.754335005 +0100
+++ /var/tmp/diff_new_pack.lxBciT/_new  2020-02-23 16:47:35.758335013 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-tastypie
 #
-# Copyright (c) 2016 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
@@ -12,49 +12,71 @@
 # 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-django-tastypie
-Version:        0.12.1
+Version:        0.14.3
 Release:        0
-Url:            http://github.com/toastdriven/django-tastypie/
-Summary:        A flexible & capable API layer for Django
+Summary:        A webservice API framework layer for Django
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/d/django-tastypie/django-tastypie-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:       python-django >= 1.2
-Requires:       python-mimeparse >= 0.1.3
-Requires:       python-python-dateutil >= 1.5
-Recommends:     python-lxml
+URL:            https://github.com/django-tastypie/django-tastypie
+Source:         
https://github.com/django-tastypie/django-tastypie/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module Django >= 1.11}
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module biplist}
+BuildRequires:  %{python_module defusedxml}
+BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module python-dateutil >= 2.1}
+BuildRequires:  %{python_module python-mimeparse >= 0.1.4}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-Django >= 1.11
+Requires:       python-python-dateutil >= 2.1
+Requires:       python-python-mimeparse >= 0.1.4
 Recommends:     python-PyYAML
 Recommends:     python-biplist
-Recommends:     python-python-digest
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+Recommends:     python-defusedxml
+Recommends:     python-lxml
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
-Creating delicious APIs for Django apps since 2010.
+Tastypie is a webservice API framework for Django. It provides a
+customizable abstraction for creating REST-style interfaces.
 
 %prep
 %setup -q -n django-tastypie-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst docs/_build/html
+%check
+# The tests are doing what is specified in tox.ini
+%{python_expand export PYTHONPATH=./tests/
+$python -m django test -p '*' core.tests --settings=settings_core
+$python -m django test basic.tests --settings=settings_basic
+$python -m django test related_resource.tests --settings=settings_related
+$python -m django test alphanumeric.tests --settings=settings_alphanumeric
+$python -m django test authorization.tests --settings=settings_authorization
+$python -m django test content_gfk.tests --settings=settings_content_gfk
+$python -m django test customuser.tests --settings=settings_customuser
+$python -m django test namespaced.tests --settings=settings_namespaced
+$python -m django test slashless.tests --settings=settings_slashless
+$python -m django test validation.tests --settings=settings_validation
+}
+
+%files %{python_files}
+%license LICENSE
+%doc AUTHORS *.rst docs/*.rst docs/release_notes/ docs/code/
 %{python_sitelib}/*
 
 %changelog


Reply via email to