forked from pool/python-django-money
Compare commits
23 Commits
Author | SHA256 | Date | |
---|---|---|---|
5810e7f739 | |||
f7227185e9 | |||
1877ec2830 | |||
ef23339469 | |||
40804f6898 | |||
90ec3a57f5 | |||
7708d8354c | |||
05f10dd5c4 | |||
4892758233 | |||
bbff0f8f03 | |||
7cf01f88b4 | |||
4062de421b | |||
c2384ce2a5 | |||
318d859692 | |||
354907ba26 | |||
17a67b9ec2 | |||
|
1920926b3d | ||
9633494e29 | |||
|
2f9ad31b0e | ||
cf0e5ddaff | |||
940be0109f | |||
31b4a43fd7 | |||
9c9f1251b4 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:526b6e1ab4aaca9d0a75734ad7f5f7d933032da53a7fdf5fd66c3df7bfcc4256
|
|
||||||
size 67571
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c570466574ac82b37ae0117ac56a9ae9d2bdc6880258252e6ad8ffac0f7b4e91
|
|
||||||
size 68161
|
|
3
django-money-3.5.4.tar.gz
Normal file
3
django-money-3.5.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:08d887f950af8d30ac28be3fba115692aed46d1801784b4e766a08eb74ce2b82
|
||||||
|
size 68387
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 3 07:19:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 08:14:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- update to 3.5.4
|
||||||
|
* Django 5.2 and Python 3.13 support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 31 13:46:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Aug 31 13:46:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-django-money
|
# spec file for package python-django-money
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,10 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-django-money
|
Name: python-django-money
|
||||||
Version: 3.5.3
|
Version: 3.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Django support for using money and currency fields
|
Summary: Django support for using money and currency fields
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -29,20 +27,22 @@ Source: https://github.com/django-money/django-money/archive/%{version}.
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Django >= 1.11
|
Requires: python-Django >= 2.2
|
||||||
Requires: python-py-moneyed >= 0.8.0
|
Requires: python-py-moneyed >= 2.0
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Recommends: python-certifi
|
Recommends: python-certifi
|
||||||
Suggests: python-django-reversion
|
Suggests: python-django-reversion
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module certifi}
|
BuildRequires: %{python_module certifi}
|
||||||
BuildRequires: %{python_module Django >= 1.11}
|
BuildRequires: %{python_module Django >= 2.2}
|
||||||
BuildRequires: %{python_module django-reversion}
|
BuildRequires: %{python_module django-reversion}
|
||||||
BuildRequires: %{python_module py-moneyed >= 0.8.0}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 3.1.0}
|
BuildRequires: %{python_module py-moneyed >= 2.0}
|
||||||
|
BuildRequires: %{python_module pytest >= 8.2}
|
||||||
BuildRequires: %{python_module pytest-django}
|
BuildRequires: %{python_module pytest-django}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -55,10 +55,10 @@ Django money and currency fields in models and forms.
|
|||||||
sed -i -e '/^addopts/d' pytest.ini
|
sed -i -e '/^addopts/d' pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -66,9 +66,7 @@ PYTHONPATH=.
|
|||||||
export DJANGO_SETTINGS_MODULE=tests.settings
|
export DJANGO_SETTINGS_MODULE=tests.settings
|
||||||
export PYTHONPATH=$(pwd -P)
|
export PYTHONPATH=$(pwd -P)
|
||||||
# we don't have python-mixer and it is needed only for tests
|
# we don't have python-mixer and it is needed only for tests
|
||||||
# test_currency_field_null_switch_not_triggered_from_default_currency is
|
%pytest -k "not mixer"
|
||||||
# expected to fail according to gh#django-money/django-money#638
|
|
||||||
%pytest -k "not (mixer or test_no_deprecation_warning or test_currency_field_null_switch_not_triggered_from_default_currency)"
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user