From a9b5b00a38a95ed31a8af451fc19a1d72c505d64 Mon Sep 17 00:00:00 2001 From: mcalabkova <> Date: Dec 01 2020 13:23:21 +0000 Subject: Update python-django-money to version 1.1 / rev 1 via SR 851837 https://build.opensuse.org/request/show/851837 by user mcalabkova + dimstar_suse One of the commonly used money/currency field apps, including re-usable components django-hordak, django-google-adwords , django-invoicing (all in my OBS repo) and commercial grade complete software like ralph (in OBS) & InvenTree (client in OBS), and used for djangoproject.com and pycon websites. 1k github *, most stars for any django money related app --- diff --git a/.files b/.files new file mode 100644 index 0000000..ad1f542 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..2074454 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + python-django-money + Django support for using money and currency fields + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..c44a975 --- /dev/null +++ b/.rev @@ -0,0 +1,11 @@ + + + 50e542121fae4ac7314e7d82c0ae42ff + 1.1 + + dimstar_suse + One of the commonly used money/currency field apps, including re-usable components django-hordak, django-google-adwords , django-invoicing (all in my OBS repo) and commercial grade complete software like ralph (in OBS) & InvenTree (client in OBS), and used for djangoproject.com and pycon websites. +1k github *, most stars for any django money related app + 851837 + + diff --git a/django-money-1.1.tar.gz b/django-money-1.1.tar.gz new file mode 120000 index 0000000..3b56c9a --- /dev/null +++ b/django-money-1.1.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreicrlaoess6vqpceclupcc3l2z353nhrvxdwumgpvuq4h54uhqumom \ No newline at end of file diff --git a/python-django-money.changes b/python-django-money.changes new file mode 100644 index 0000000..b6460c7 --- /dev/null +++ b/python-django-money.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Mar 31 04:58:29 AM UTC 2020 - John Vandenberg + +- Initial spec for v1.0 diff --git a/python-django-money.spec b/python-django-money.spec new file mode 100644 index 0000000..c006f38 --- /dev/null +++ b/python-django-money.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-django-money +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-django-money +Version: 1.1 +Release: 0 +Summary: Django support for using money and currency fields +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/django-money/django-money +Source: https://github.com/django-money/django-money/archive/%{version}.tar.gz#/django-money-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Django >= 1.11 +Requires: python-py-moneyed >= 0.8.0 +Requires: python-setuptools +Recommends: python-certifi +Suggests: python-django-reversion +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module certifi} +BuildRequires: %{python_module Django >= 1.11} +BuildRequires: %{python_module django-reversion} +BuildRequires: %{python_module py-moneyed >= 0.8.0} +BuildRequires: %{python_module pytest >= 3.1.0} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module pytest-pythonpath} +BuildRequires: %{python_module setuptools} +# /SECTION +%python_subpackages + +%description +Django money and currency fields in models and forms. + +%prep +%setup -q -n django-money-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export DJANGO_SETTINGS_MODULE=tests.settings +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/* + +%changelog