Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-reconfigure for 
openSUSE:Factory checked in at 2024-03-15 20:32:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-reconfigure (Old)
 and      /work/SRC/openSUSE:Factory/.python-reconfigure.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-reconfigure"

Fri Mar 15 20:32:21 2024 rev:2 rq:1158273 version:0.1.83

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-reconfigure/python-reconfigure.changes    
2020-11-25 19:31:22.870617174 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-reconfigure.new.1905/python-reconfigure.changes
  2024-03-15 20:33:14.408384244 +0100
@@ -1,0 +2,10 @@
+Thu Mar 14 17:15:37 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- Update to 0.1.83:
+  - updated makefile
+  - setup.py: Fix url
+  - fixed crontab tests - fixes #26 
+  - cleaned up test warnings
+  - added missing BIND9 keywords - fixes #21 
+
+-------------------------------------------------------------------

Old:
----
  reconfigure-0.1.82.tar.gz

New:
----
  reconfigure-0.1.83.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-reconfigure.spec ++++++
--- /var/tmp/diff_new_pack.LOpv5a/_old  2024-03-15 20:33:15.264415770 +0100
+++ /var/tmp/diff_new_pack.LOpv5a/_new  2024-03-15 20:33:15.268415917 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-reconfigure
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,18 @@
 #
 
 
-%define ver_hash 099e3a561f78be45c4cd4798f61b762b59f2dcbf
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-reconfigure
-Version:        0.1.82
+Version:        0.1.83
 Release:        0
 Summary:        Python ORM for config files
 License:        LGPL-3.0-only
 Group:          Development/Languages/Python
 URL:            https://github.com/Eugeny/reconfigure
-# Lack of tags https://github.com/Eugeny/reconfigure/issues/11
-Source:         
https://github.com/Eugeny/reconfigure/archive/%{ver_hash}.tar.gz#/reconfigure-%{version}.tar.gz
+Source:         
https://github.com/Eugeny/reconfigure/archive/%{version}.tar.gz#/reconfigure-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-chardet
@@ -42,22 +41,23 @@
 Python ORM for config files.
 
 %prep
-%setup -q -n reconfigure-%{ver_hash}
+%autosetup -p1 -n reconfigure-%{version}
+
 printf '[pytest]\npython_files = *_test*.py' > pytest.ini
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# crontab_tests: https://github.com/Eugeny/reconfigure/issues/26
-%pytest reconfigure/tests/ -k 'not crontab_tests'
+%pytest reconfigure/tests/
 
 %files %{python_files}
 %doc README.rst
 %license docs/LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/reconfigure
+%{python_sitelib}/reconfigure-%{version}*-info
 

++++++ reconfigure-0.1.82.tar.gz -> reconfigure-0.1.83.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/.gitignore 
new/reconfigure-0.1.83/.gitignore
--- old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/.gitignore 
2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/.gitignore   2020-11-25 17:10:28.000000000 +0100
@@ -7,9 +7,7 @@
 
 debian/python-reconfigure*
 debian/changelog
-dist/*.rpm
-dist/*.deb
-dist/*.gz
+dist/*
 *.egg*
 build/*
 debian/files
@@ -20,3 +18,4 @@
 nosetests*
 .idea
 *.whl
+.mypy_cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/Makefile 
new/reconfigure-0.1.83/Makefile
--- old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/Makefile   
2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/Makefile     2020-11-25 17:10:28.000000000 +0100
@@ -1,4 +1,4 @@
-PYTHON=`which python`
+PYTHON=`which python3`
 DESTDIR=/
 BUILDIR=$(CURDIR)/debian/reconfigure
 RPMTOPDIR=$(CURDIR)/build
@@ -73,7 +73,8 @@
        ssh r...@ajenti.org /srv/repo/rebuild-centos7.sh
 
 upload-tgz: tgz
-       $(PYTHON) setup.py sdist bdist_wheel upload
+       $(PYTHON) setup.py sdist bdist_wheel
+       twine upload -s -i 'Ajenti Packagers' dist/*.tar.gz --skip-existing
 
 tgz: build
        rm dist/*.tar.gz || true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/__init__.py
 new/reconfigure-0.1.83/reconfigure/__init__.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/__init__.py
    2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/__init__.py      2020-11-25 
17:10:28.000000000 +0100
@@ -1,2 +1,2 @@
 
-__version__ = "0.1.82"
+__version__ = "0.1.83"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/parsers/bind9.py
 new/reconfigure-0.1.83/reconfigure/parsers/bind9.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/parsers/bind9.py
       2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/parsers/bind9.py 2020-11-25 
17:10:28.000000000 +0100
@@ -8,7 +8,7 @@
     """
 
     tokens = [
-        
(r"(acl|key|masters|server|trusted-keys|managed-keys|controls|logging|lwres|options|view|zone|channel|category|listen-on|search|avoid-v4-udp-ports|avoid-v6-udp-ports|blackhole|listen-on|listen-on-v6|allow-recursion|allow-recursion-on|sortlist|topology|rrset-order|dual-stack-servers|disable-algorithms|dns64|forwarders|rrset-order|update-policy|also-notify|allow-notify|rate-limit)\s+?([^\s{}]*\s*)*{",
 lambda s, t: ('section_start', t)),
+        
(r"(acl|key|masters|server|trusted-keys|managed-keys|controls|logging|lwres|options|view|zone|channel|category|listen-on|search|avoid-v4-udp-ports|avoid-v6-udp-ports|blackhole|listen-on|listen-on-v6|allow-recursion|allow-recursion-on|sortlist|topology|rrset-order|dual-stack-servers|disable-algorithms|dns64|forwarders|rrset-order|update-policy|also-notify|allow-notify|rate-limit|allow-query-on|allow-transfer)\s+?([^\s{}]*\s*)*{",
 lambda s, t: ('section_start', t)),
         (r"\#.*?\n", lambda s, t: ('comment', t)),
         (r"//.*?\n", lambda s, t: ('comment', t)),
         (r"/\*.*?\*/", lambda s, t: ('comment', t)),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/configs/base_test.py
 new/reconfigure-0.1.83/reconfigure/tests/configs/base_test.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/configs/base_test.py
     2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/tests/configs/base_test.py       
2020-11-25 17:10:28.000000000 +0100
@@ -26,13 +26,13 @@
         a, b = self.__class__.result, config.tree.to_dict()
         if a != b:
             print('SOURCE: %s\nGENERATED: %s\n' % (json.dumps(a, indent=4), 
json.dumps(b, indent=4)))
-        self.assertEquals(a, b)
+        self.assertEqual(a, b)
 
         result = config.save()
         s_filter = self.__class__.stringify_filter
         #print s_filter(result[None])
         for k, v in result.items():
-            self.assertEquals(
+            self.assertEqual(
                 s_filter(self.__class__.sources[k]),
                 s_filter(v)
             )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/configs/crontab_tests.py
 new/reconfigure-0.1.83/reconfigure/tests/configs/crontab_tests.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/configs/crontab_tests.py
 2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/tests/configs/crontab_tests.py   
2020-11-25 17:10:28.000000000 +0100
@@ -8,7 +8,7 @@
 * * * * * date
 @reboot ls -al
 1 * 0 1 2 date -s
-NAME = TEST"""
+NAME=TEST"""
     }
     result = {
         'normal_tasks': [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/base_test.py
 new/reconfigure-0.1.83/reconfigure/tests/parsers/base_test.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/base_test.py
     2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/tests/parsers/base_test.py       
2020-11-25 17:10:28.000000000 +0100
@@ -17,7 +17,7 @@
         nodetree = self.parser.parse(self.__class__.source)
         if self.__class__.parsed != nodetree:
             print('TARGET: %s\n\nPARSED: %s' % (self.__class__.parsed, 
nodetree))
-        self.assertEquals(self.__class__.parsed, nodetree)
+        self.assertEqual(self.__class__.parsed, nodetree)
 
     def test_stringify(self):
         if not self.__class__.parser:
@@ -27,4 +27,4 @@
         a, b = self.stringified, unparsed
         if a.split() != b.split():
             print('SOURCE: %s\n\nGENERATED: %s' % (a, b))
-            self.assertEquals(a.split(), b.split())
+            self.assertEqual(a.split(), b.split())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/crontab_tests.py
 new/reconfigure-0.1.83/reconfigure/tests/parsers/crontab_tests.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/crontab_tests.py
 2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/tests/parsers/crontab_tests.py   
2020-11-25 17:10:28.000000000 +0100
@@ -10,7 +10,7 @@
                     '* * * * * date',
                     '@reboot ls -al',
                     '1 * 0 1 2 date -s',
-                    'NAME = TEST',
+                    'NAME=TEST',
                     ])
     parsed = RootNode(None,
             children=[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/jsonparser_tests.py
 new/reconfigure-0.1.83/reconfigure/tests/parsers/jsonparser_tests.py
--- 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/reconfigure/tests/parsers/jsonparser_tests.py
      2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/reconfigure/tests/parsers/jsonparser_tests.py        
2020-11-25 17:10:28.000000000 +0100
@@ -26,6 +26,6 @@
         a, b = self.stringified, unparsed
         if json.loads(a) != json.loads(b):
             print('SOURCE: %s\n\nGENERATED: %s' % (a, b))
-            self.assertEquals(a, b)
+            self.assertEqual(a, b)
 
 del BaseParserTest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/setup.py 
new/reconfigure-0.1.83/setup.py
--- old/reconfigure-099e3a561f78be45c4cd4798f61b762b59f2dcbf/setup.py   
2020-05-20 09:07:50.000000000 +0200
+++ new/reconfigure-0.1.83/setup.py     2020-11-25 17:10:28.000000000 +0100
@@ -15,7 +15,7 @@
     license='LGPLv3',
     author='Eugeny Pankov',
     author_email='e...@ajenti.org',
-    url='http://ajenti.org/',
+    url='https://github.com/Eugeny/reconfigure',
     classifiers=[
         "License :: OSI Approved :: GNU Lesser General Public License v3 
(LGPLv3)",
     ],

Reply via email to