Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-py-moneyed for
openSUSE:Factory checked in at 2022-07-11 19:10:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-moneyed (Old)
and /work/SRC/openSUSE:Factory/.python-py-moneyed.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-moneyed"
Mon Jul 11 19:10:07 2022 rev:3 rq:988413 version:2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-moneyed/python-py-moneyed.changes
2022-02-01 14:03:15.567948349 +0100
+++
/work/SRC/openSUSE:Factory/.python-py-moneyed.new.1523/python-py-moneyed.changes
2022-07-11 19:11:23.423782241 +0200
@@ -1,0 +2,11 @@
+Mon Jul 11 14:44:13 UTC 2022 - Matej Cepl <[email protected]>
+
+- Add 178_missing_currencies.patch to add two missing currencies
+ (gh#py-moneyed/py-moneyed#178).
+
+-------------------------------------------------------------------
+Mon Jul 11 12:44:54 UTC 2022 - Matej Cepl <[email protected]>
+
+- Skip test_all_babel_currencies (gh#py-moneyed/py-moneyed#178).
+
+-------------------------------------------------------------------
New:
----
178_missing_currencies.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py-moneyed.spec ++++++
--- /var/tmp/diff_new_pack.p6w15b/_old 2022-07-11 19:11:23.731782688 +0200
+++ /var/tmp/diff_new_pack.p6w15b/_new 2022-07-11 19:11:23.735782694 +0200
@@ -24,16 +24,23 @@
License: BSD-3-Clause
URL: https://github.com/limist/py-moneyed
Source:
https://github.com/py-moneyed/py-moneyed/archive/refs/tags/v%{version}.tar.gz#/py-moneyed-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 178_missing_currencies.patch gh#py-moneyed/py-moneyed#178
[email protected]
+# Add two missing currencies
+Patch0: 178_missing_currencies.patch
+BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Babel >= 2.8.0
-Requires: python-typing-extensions >= 3.7
+Requires: python-typing-extensions >= 3.7.4.3
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module pytest >= 2.3.0}
+BuildRequires: %{python_module mypy >= 0.812}
BuildRequires: %{python_module Babel >= 2.8.0}
-BuildRequires: %{python_module typing-extensions >= 3.7}
+BuildRequires: %{python_module pytest >= 2.3.0}
+BuildRequires: %{python_module pytest >= 2.3.0}
+BuildRequires: %{python_module tox >= 1.6.0}
+BuildRequires: %{python_module typing-extensions >= 3.7.4.3}
# /SECTION
%python_subpackages
@@ -41,7 +48,7 @@
Provides Currency and Money classes for use in your Python code.
%prep
-%setup -q -n py-moneyed-%{version}
+%autosetup -p1 -n py-moneyed-%{version}
%build
%python_build
@@ -56,6 +63,7 @@
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/moneyed
+%{python_sitelib}/py_moneyed-%{version}*-info
%changelog
++++++ 178_missing_currencies.patch ++++++
---
src/moneyed/classes.py | 2 ++
1 file changed, 2 insertions(+)
--- a/src/moneyed/classes.py
+++ b/src/moneyed/classes.py
@@ -680,6 +680,7 @@ SDG = add_currency("SDG", "938", 100)
SEK = add_currency("SEK", "752", 100)
SGD = add_currency("SGD", "702", 100)
SHP = add_currency("SHP", "654", 100)
+SLE = add_currency("SLE", "925", 100)
SLL = add_currency("SLL", "694", 100)
SOS = add_currency("SOS", "706", 100)
SRD = add_currency("SRD", "968", 100)
@@ -704,6 +705,7 @@ USN = add_currency("USN", "997", 100)
UYI = add_currency("UYI", "940")
UYU = add_currency("UYU", "858", 100)
UZS = add_currency("UZS", "860", 100)
+VED = add_currency("VED", "926", 100)
VND = add_currency("VND", "704")
VUV = add_currency("VUV", "548")
WST = add_currency("WST", "882", 100)