Skip to content

Commit

Permalink
Update python-django-rest-framework-braces to version 0.3.4 / rev 5 v…
Browse files Browse the repository at this point in the history
…ia SR 1032884

https://build.opensuse.org/request/show/1032884
by user dgarcia + dimstar_suse
- Fix tests gh#dealertrack/django-rest-framework-braces#36
- Remove python_module macro definition
- More specific python_sitelib files
  • Loading branch information
dgarcia authored and bmwiedemann committed Nov 2, 2022
1 parent 93329e6 commit 8b5daef
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
Binary file modified packages/p/python-django-rest-framework-braces/.files
Binary file not shown.
11 changes: 11 additions & 0 deletions packages/p/python-django-rest-framework-braces/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@
<comment></comment>
<requestid>984112</requestid>
</revision>
<revision rev="5" vrev="5">
<srcmd5>29f95573576463cb9bb6cef53291f756</srcmd5>
<version>0.3.4</version>
<time>1667398150</time>
<user>dimstar_suse</user>
<comment>- Fix tests gh#dealertrack/django-rest-framework-braces#36
- Remove python_module macro definition
- More specific python_sitelib files
</comment>
<requestid>1032884</requestid>
</revision>
</revisionlist>
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 2 12:54:00 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

- Fix tests gh#dealertrack/django-rest-framework-braces#36
- Remove python_module macro definition
- More specific python_sitelib files

-------------------------------------------------------------------
Tue Jun 21 08:30:07 UTC 2022 - Markéta Machová <mmachova@suse.com>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python36 1
Name: python-django-rest-framework-braces
Version: 0.3.4
Expand Down Expand Up @@ -58,6 +57,8 @@ sed -i 's/from collections import Mapping/from collections.abc import Mapping/'
sed -i '/argparse/d' setup.* requirements*
sed -i '/\.admin/d' tests/settings.py
sed -i 's/^import mock/from unittest import mock/' drf_braces/tests/test_mixins.py drf_braces/tests/*/test_*.py
# NullBooleanField is removed from django gh#dealertrack/django-rest-framework-braces#36
sed -i "s/'NullBooleanField',//" drf_braces/fields/_fields.py

%build
%python_build
Expand All @@ -75,6 +76,7 @@ export DJANGO_SETTINGS_MODULE=tests.settings
%files %{python_files}
%doc AUTHORS.rst README.rst
%license LICENSE.rst
%{python_sitelib}/*braces*/
%{python_sitelib}/drf_braces
%{python_sitelib}/django_rest_framework_braces-%{version}*-info

%changelog

0 comments on commit 8b5daef

Please sign in to comment.