commit python-augeas for openSUSE:Factory

2018-12-12 Thread root
Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2018-12-12 17:26:35

Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and  /work/SRC/openSUSE:Factory/.python-augeas.new.28833 (New)


Package is "python-augeas"

Wed Dec 12 17:26:35 2018 rev:7 rq:655586 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes  
2018-02-13 10:31:37.220300789 +0100
+++ /work/SRC/openSUSE:Factory/.python-augeas.new.28833/python-augeas.changes   
2018-12-12 17:26:36.183020170 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:45:49 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-augeas.spec ++
--- /var/tmp/diff_new_pack.IfOvze/_old  2018-12-12 17:26:36.663019560 +0100
+++ /var/tmp/diff_new_pack.IfOvze/_new  2018-12-12 17:26:36.663019560 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,13 +21,13 @@
 Version:0.5.0
 Release:0
 Summary:Python bindings for Augeas
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Languages/Python
 Url:http://augeas.net/
 Source: 
https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  augeas-lenses
 BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module setuptools}
 Requires:   augeas
 # We'd always want to have augeas-lenses installed
 Requires:   augeas-lenses




commit python-augeas for openSUSE:Factory

2018-02-13 Thread root
Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2018-02-13 10:31:35

Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and  /work/SRC/openSUSE:Factory/.python-augeas.new (New)


Package is "python-augeas"

Tue Feb 13 10:31:35 2018 rev:6 rq:575807 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes  
2016-01-01 19:47:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 
2018-02-13 10:31:37.220300789 +0100
@@ -1,0 +2,11 @@
+Mon Feb 12 14:59:57 UTC 2018 - tchva...@suse.com
+
+- Sort out a bit with spec-cleaner and remove all the sle11
+  conditions
+
+---
+Thu Aug 24 13:32:55 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -71,0 +83 @@
+



Other differences:
--
++ python-augeas.spec ++
--- /var/tmp/diff_new_pack.8asFOv/_old  2018-02-13 10:31:38.976237518 +0100
+++ /var/tmp/diff_new_pack.8asFOv/_new  2018-02-13 10:31:38.976237518 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-augeas
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,60 +16,44 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-augeas
 Version:0.5.0
 Release:0
 Summary:Python bindings for Augeas
 License:LGPL-2.1+
 Group:  Development/Languages/Python
-
 Url:http://augeas.net/
 Source: 
https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz
-%if 0%{?suse_version} >= 1140
+BuildRequires:  %{python_module devel}
 BuildRequires:  augeas-lenses
-%endif
-BuildRequires:  python-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
-BuildArch:  noarch
-%endif
-
+BuildRequires:  python-rpm-macros
 Requires:   augeas
 # We'd always want to have augeas-lenses installed
-%if 0%{?suse_version} >= 1140
 Requires:   augeas-lenses
-%endif
-
-# Fix no-dependency-on python-base on SLE11 and openSUSE 11.4
-%if 0%{?suse_version} <= 1140
-%{py_requires}
-%endif
+BuildArch:  noarch
+%python_subpackages
 
 %description
 Python bindings for Augeas, a library for programmatically editing
 configuration files.
 
-
 %prep
 %setup -q
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%if 0%{?suse_version} >= 1210
 %check
 cd test
-python test_augeas.py
-%endif
+%python_exec test_augeas.py
 
-%files
-%defattr(-,root,root)
-%doc AUTHORS COPYING README.txt
+%files %{python_files}
+%doc AUTHORS README.txt
+%license COPYING
 %{python_sitelib}/*
 
 %changelog




commit python-augeas for openSUSE:Factory

2016-01-01 Thread h_root
Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2016-01-01 19:47:21

Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and  /work/SRC/openSUSE:Factory/.python-augeas.new (New)


Package is "python-augeas"

Changes:

--- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes  
2013-12-11 15:43:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 
2016-01-01 19:47:59.0 +0100
@@ -1,0 +2,22 @@
+Sun Dec 13 00:27:16 UTC 2015 - ec...@opensuse.org
+
+- New upstream release 0.5.0
+  * Make syntax-compatible with both Python 3 and 2.
+  * Remove the libpython hack.
+  * Make tests syntax compatible with both Python 3 and 2.
+  * Make test failures more verbose.
+  * Improve error messages.
+  * Fix exception tests.
+  * Convert unicode at the C boundary.
+  * Add Python 3.3 to CI, and disallow failures.
+  * Add Travis CI settings
+  * Allow failures for python 3.2
+  * Add text_store to the API
+  * Add text_retrieve to the API
+  * Add rename to the API
+  * Add transform to the API
+  * Add label to the API
+  * Use the packages from the augeas-dev PPA
+  * Warning: the 'name' parameter in add_transform is deprecated
+  
+---

Old:

  python-augeas-0.4.1.tar.gz

New:

  python-augeas-0.5.0.tar.gz



Other differences:
--
++ python-augeas.spec ++
--- /var/tmp/diff_new_pack.VgtyVb/_old  2016-01-01 19:48:00.0 +0100
+++ /var/tmp/diff_new_pack.VgtyVb/_new  2016-01-01 19:48:00.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-augeas
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-augeas
-Version:0.4.1
+Version:0.5.0
 Release:0
 Summary:Python bindings for Augeas
 License:LGPL-2.1+

++ python-augeas-0.4.1.tar.gz -> python-augeas-0.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-augeas-0.4.1/PKG-INFO 
new/python-augeas-0.5.0/PKG-INFO
--- old/python-augeas-0.4.1/PKG-INFO2012-01-10 06:37:22.0 +0100
+++ new/python-augeas-0.5.0/PKG-INFO2014-08-31 19:13:07.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-augeas
-Version: 0.4.1
+Version: 0.5.0
 Summary: Python bindings for Augeas
 Home-page: http://augeas.net/
 Author: Harald Hoyer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-augeas-0.4.1/augeas.py 
new/python-augeas-0.5.0/augeas.py
--- old/python-augeas-0.4.1/augeas.py   2011-11-16 02:35:10.0 +0100
+++ new/python-augeas-0.5.0/augeas.py   2014-08-31 18:44:49.0 +0200
@@ -42,6 +42,28 @@
 import ctypes
 import ctypes.util
 from sys import version_info as _pyver
+from functools import reduce
+
+
+PY3 = _pyver >= (3,)
+AUGENC = 'utf8'
+
+
+if PY3:
+string_types = str
+else:
+string_types = basestring
+
+
+def enc(st):
+if st:
+return st.encode(AUGENC)
+
+
+def dec(st):
+if st:
+return st.decode(AUGENC)
+
 
 def _dlopen(*args):
 """Search for one of the libraries given as arguments and load it.
@@ -56,12 +78,6 @@
 class Augeas(object):
 "Class wrapper for the augeas library"
 
-# Load libpython (for 'PyFile_AsFile()' and 'PyMem_Free()')
-# pylint: disable-msg=W0142
-_libpython = _dlopen(*["python" + _v % _pyver[:2]
-   for _v in ("%d.%d", "%d%d")])
-_libpython.PyFile_AsFile.restype = ctypes.c_void_p
-
 # Load libaugeas
 _libaugeas = _dlopen("augeas")
 _libaugeas.aug_init.restype = ctypes.c_void_p
@@ -91,15 +107,15 @@
 'flags' is a bitmask made up of values from AUG_FLAGS."""
 
 # Sanity checks
-if not isinstance(root, basestring) and root != None:
+if not isinstance(root, string_types) and root != None:
 raise TypeError("root MUST be a string or None!")
-if not isinstance(loadpath, basestring) and loadpath != None:
+if not isinstance(loadpath, string_types) and loadpath != None:
 raise TypeError("loadpath MUST be a string or None!")
 if not isinstance(flags, int):
 raise TypeError("flag MUST be a flag!")
 
 # Create the Augeas object
-self.__handle = Augeas._libaugeas.aug_init(root, loadpath, flags)
+self.__handle = Augeas._libaugeas.aug_init(enc(root), 

commit python-augeas for openSUSE:Factory

2013-12-11 Thread h_root
Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2013-12-11 15:43:57

Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and  /work/SRC/openSUSE:Factory/.python-augeas.new (New)


Package is python-augeas

Changes:

--- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes  
2013-07-09 21:01:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 
2013-12-11 15:43:58.0 +0100
@@ -1,0 +2,14 @@
+Mon Dec  9 14:34:05 UTC 2013 - a...@ajaissle.de
+
+- Changed BuildArch to noarch for suse-version = 1140
+- Cleaned up spec file
+
+---
+Wed Dec  4 22:49:12 UTC 2013 - a...@ajaissle.de
+
+- Added 'Requires: augeas-lenses'
+  * we'd always want to have lenses installed
+- Do not BuildRequire augeas-lenses and do not %check, if we are on 
suse_version = 1140
+- Do not %check unless suse_version = 1210
+
+---



Other differences:
--
++ python-augeas.spec ++
--- /var/tmp/diff_new_pack.sz1hgx/_old  2013-12-11 15:43:59.0 +0100
+++ /var/tmp/diff_new_pack.sz1hgx/_new  2013-12-11 15:43:59.0 +0100
@@ -15,51 +15,61 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   python-augeas
 Version:0.4.1
-Release:0.RELEASE8
+Release:0
 Summary:Python bindings for Augeas
 License:LGPL-2.1+
-Group:  Development/Libraries/Python
+Group:  Development/Languages/Python
+
 Url:http://augeas.net/
-Source: python-augeas-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Source: 
https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz
+%if 0%{?suse_version} = 1140
 BuildRequires:  augeas-lenses
+%endif
 BuildRequires:  python-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version}  0%{?suse_version} = 1110
+%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
+%else
+BuildArch:  noarch
+%endif
+
 Requires:   augeas
+# We'd always want to have augeas-lenses installed
+%if 0%{?suse_version} = 1140
+Requires:   augeas-lenses
+%endif
+
+# Fix no-dependency-on python-base on SLE11 and openSUSE 11.4
+%if 0%{?suse_version} = 1140
 %{py_requires}
+%endif
 
 %description
 Python bindings for Augeas, a library for programmatically editing
 configuration files.
 
 
-
-Authors:
-
-Nathaniel McCallum nathan...@natemccallum.com
-Jeff Schroeder jeffschroe...@computer.org
-Harald Hoyer har...@redhat.com
-Nils Philippsen n...@redhat.com
-
 %prep
 %setup -q
 
 %build
-%{__python} setup.py build
+python setup.py build
 
 %install
-%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if 0%{?suse_version} = 1210
 %check
 cd test
 python test_augeas.py
+%endif
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
 %doc AUTHORS COPYING README.txt
+%{python_sitelib}/*
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-augeas for openSUSE:Factory

2013-07-09 Thread h_root
Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2013-07-09 21:01:47

Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and  /work/SRC/openSUSE:Factory/.python-augeas.new (New)


Package is python-augeas

Changes:

New Changes file:

--- /dev/null   2013-07-02 09:26:14.908030755 +0200
+++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 
2013-07-09 21:01:48.0 +0200
@@ -0,0 +1,36 @@
+---
+Thu Jul  4 21:21:11 UTC 2013 - a...@ajaissle.de
+
+- Install AUTHORS, COPYING, README.txt in %doc
+- Re-enable checks (not broken anymore)
+
+---
+Wed Jan 23 16:14:53 UTC 2013 - a...@ajaissle.de
+
+- New upstream release 0.4.1
+  * Allow None as value for set()
+  * Add span API call to match C API
+  * Make unit tests more quiet
+  * Work around RHEL6 on Power issue.
+  * test: make sure local augeas.py is used
+- New format for license tag (spdx.org)
+- Dropped bnc-722317.patch (included in upstream package)
+
+---
+Thu Mar 15 11:35:32 UTC 2012 - dmacvi...@suse.de
+
+- Fix patch line in spec file (missing number)
+
+---
+Thu Oct 13 08:52:52 UTC 2011 - dmacvi...@suse.de
+
+- fix known segfault due to ctypes converting void* to int on 
+  non-x86 architectures using patch at
+  https://fedorahosted.org/augeas/attachment/ticket/165
+  (bnc#722317)
+
+---
+Fri Jun 17 14:17:05 UTC 2011 - jmate...@novell.com
+
+- initial package 0.4.0, as requested in fate#311720
+

New:

  python-augeas-0.4.1.tar.gz
  python-augeas.changes
  python-augeas.spec



Other differences:
--
++ python-augeas.spec ++
#
# spec file for package python-augeas
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:   python-augeas
Version:0.4.1
Release:0.RELEASE8
Summary:Python bindings for Augeas
License:LGPL-2.1+
Group:  Development/Libraries/Python
Url:http://augeas.net/
Source: python-augeas-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  augeas-lenses
BuildRequires:  python-devel
Requires:   augeas
%{py_requires}

%description
Python bindings for Augeas, a library for programmatically editing
configuration files.



Authors:

Nathaniel McCallum nathan...@natemccallum.com
Jeff Schroeder jeffschroe...@computer.org
Harald Hoyer har...@redhat.com
Nils Philippsen n...@redhat.com

%prep
%setup -q

%build
%{__python} setup.py build

%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES

%check
cd test
python test_augeas.py

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README.txt

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org