Accepting request 946103 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/946103 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-grappelli?expand=0&rev=21
This commit is contained in:
commit
66097c7306
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:783bcc18d6b2b0017931474b2dcd1e3980d416dfcbe31be4d3b242f3430d39d2
|
||||
size 1757181
|
3
django-grappelli-3.0.1.tar.gz
Normal file
3
django-grappelli-3.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:289cf1dadb7c8eed4480fdcb0369698c5fd5653b409c5da2fa02eae521c5f577
|
||||
size 1529126
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 11:23:29 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Remove tests from runtime package
|
||||
- Update to v3.0.1
|
||||
* Add compatibility with Django 4.0.
|
||||
- from v2.15.4
|
||||
* Removed obsolete ifnotequal tag with search template.
|
||||
* Removed duplicate Django Javascripts from Grappelli.
|
||||
* Improved and styled Django autocompletes.
|
||||
- from v2.15.3
|
||||
* Added missing files from previous release.
|
||||
- from v2.15.2
|
||||
* Fixed ellipsis with pagination.
|
||||
* Fixed redirect with switch.
|
||||
* Fixed constance template.
|
||||
* Fixed Django Autocompletes.
|
||||
- from v2.15.1
|
||||
* First release of Grappelli which is compatible with Django 3.2.
|
||||
- from v2.14.4
|
||||
* Fixed: Redirect with switch user.
|
||||
* Improved: Remove extra filtering in AutocompleteLookup.
|
||||
* Improved: Added import statement with URLs for quickstart docs.
|
||||
* Improved: Added additional blocks with inlines to allow override.
|
||||
- from v2.14.3
|
||||
* Fixed: Compatibility with Django 3.1.
|
||||
* Fixed: Docs about adding Grappelli documentation URLS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 10:10:57 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-django-grappelli
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,12 +19,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-django-grappelli
|
||||
Version: 2.14.2
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: A skin for the Django Admin-Interface
|
||||
License: BSD-2-Clause AND LGPL-2.1-or-later
|
||||
URL: https://github.com/sehmaschine/django-grappelli
|
||||
Source: https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz
|
||||
Source: https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz#/django-grappelli-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Django >= 2.2}
|
||||
BuildRequires: %{python_module py >= 1.8}
|
||||
BuildRequires: %{python_module pytest >= 5.0}
|
||||
@ -41,24 +41,27 @@ A jazzy skin for the Django Admin-Interface.
|
||||
|
||||
%prep
|
||||
%setup -q -n django-grappelli-%{version}
|
||||
find grappelli/templates/ -type f | xargs chmod -R a-x
|
||||
find grappelli/static/grappelli/stylesheets/ -type f | xargs chmod -R a-x
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/grappelli/tests/
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%check
|
||||
PYTHONPATH=.
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export DJANGO_SETTINGS_MODULE=test_project.settings
|
||||
# test_related_lookup - uses unicode literals that break on py2
|
||||
%pytest -k 'not test_related_lookup'
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/*grappelli*/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user