Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-json-widget for
openSUSE:Factory checked in at 2023-09-06 18:56:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-json-widget (Old)
and /work/SRC/openSUSE:Factory/.python-django-json-widget.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-json-widget"
Wed Sep 6 18:56:44 2023 rev:8 rq:1108970 version:1.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-json-widget/python-django-json-widget.changes
2023-06-26 18:15:57.294433322 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-json-widget.new.1766/python-django-json-widget.changes
2023-09-06 18:58:23.231973480 +0200
@@ -1,0 +2,8 @@
+Tue Sep 5 04:09:15 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject and autosetup macros.
+- Add patch remove-future-requirement.patch, drop future, we do not need
+ it.
+- Stop using greedy globs in %files.
+
+-------------------------------------------------------------------
New:
----
remove-future-requirement.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-json-widget.spec ++++++
--- /var/tmp/diff_new_pack.i8eBRG/_old 2023-09-06 18:58:24.300011553 +0200
+++ /var/tmp/diff_new_pack.i8eBRG/_new 2023-09-06 18:58:24.304011696 +0200
@@ -24,13 +24,15 @@
License: MIT
URL: https://github.com/jmrivas86/django-json-widget
Source:
https://github.com/jmrivas86/django-json-widget/archive/v%{version}.tar.gz#/django-json-widget-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE We don't use Django < 3.1
+Patch0: remove-future-requirement.patch
BuildRequires: %{python_module Django}
-BuildRequires: %{python_module future}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django
-Requires: python-future
BuildArch: noarch
%python_subpackages
@@ -39,14 +41,14 @@
jsonfield field of django.
%prep
-%setup -q -n django-json-widget-%{version}
+%autosetup -p1 -n django-json-widget-%{version}
chmod a-x django_json_widget/static/dist/img/*.*
django_json_widget/static/dist/*.* django_json_widget/static/css/*.*
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +58,7 @@
%files %{python_files}
%doc AUTHORS.rst README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/django_json_widget
+%{python_sitelib}/django_json_widget-%{version}.dist-info
%changelog
++++++ remove-future-requirement.patch ++++++
Index: django-json-widget-1.1.1/setup.py
===================================================================
--- django-json-widget-1.1.1.orig/setup.py
+++ django-json-widget-1.1.1/setup.py
@@ -56,7 +56,7 @@ setup(
'django_json_widget',
],
include_package_data=True,
- install_requires=['future'], # Only required for Django < 3.1
+ install_requires=[],
license="MIT",
zip_safe=False,
keywords='django-json-widget',