commit python-binplist for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-binplist for openSUSE:Factory 
checked in at 2018-05-29 10:49:36

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


Package is "python-binplist"

Tue May 29 10:49:36 2018 rev:6 rq:612665 version:0.1.5

Changes:

--- /work/SRC/openSUSE:Factory/python-binplist/python-binplist.changes  
2015-07-14 17:46:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-binplist.new/python-binplist.changes 
2018-05-29 10:49:36.790102270 +0200
@@ -1,0 +2,15 @@
+Mon May 28 14:06:46 UTC 2018 - mc...@suse.com
+
+- Upgrade to 0.1.5
+* Minor lint changes
+* PlistToUnicode moved to the main module (with added tests)
+* Ability to select the output encoding
+- Clean up spec and prepare for singlespec (although switched off now,
+  as the upstream has not ported to py3k yet)
+
+---
+Thu Aug 24 13:33:18 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -23,0 +39 @@
+

Old:

  binplist-0.1.4.tar.gz

New:

  v0.1.5.tar.gz



Other differences:
--
++ python-binplist.spec ++
--- /var/tmp/diff_new_pack.cKVm20/_old  2018-05-29 10:49:37.262084858 +0200
+++ /var/tmp/diff_new_pack.cKVm20/_new  2018-05-29 10:49:37.266084709 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-binplist
 #
-# Copyright (c) 2015 SUSE LINUX Products 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,41 +16,48 @@
 #
 
 
-Name:   python-binplist
-Version:0.1.4
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define upname binplist
+
+# Temporarily switch off python3 build as the upstream package has not
+# been converted yet, and the port is not trivial.
+%define skip_python3 1
+
+Name:   python-%{upname}
+Version:0.1.5
 Release:0
 Summary:Binary property list (plist) parser module written in python
 License:Apache-2.0
 Group:  Development/Libraries/Python
-Url:https://code.google.com/p/binplist/
-Source: https://binplist.googlecode.com/files/binplist-0.1.4.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-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
+URL:https://github.com/google/%{upname}
+Source: https://github.com/google/%{upname}/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 binplist is a binary property list (plist) parser module written in python.
 
 %prep
-%setup -q -n binplist-%{version}
-# delete the interpreter
-sed -i -e "/#!\/usr\/local\/bin/d" binplist/binplist.py
+%autosetup -p1 -n %{upname}-%{version}
 
 %build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_exec setup.py test -v
 
-%files
-%defattr(-,root,root)
-%doc COPYING
+%files %{python_files}
+%license COPYING
 %{_bindir}/plist.py
-%{python_sitelib}/binplist-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/binplist-%{version}-py%{python_version}.egg-info
 %{python_sitelib}/binplist
 
 %changelog




commit python-binplist for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package python-binplist for openSUSE:Factory 
checked in at 2015-07-14 17:45:08

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


Package is python-binplist

Changes:

--- /work/SRC/openSUSE:Factory/python-binplist/python-binplist.changes  
2014-08-27 16:53:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-binplist.new/python-binplist.changes 
2015-07-14 17:46:24.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 13 13:12:38 UTC 2015 - toddrme2...@gmail.com
+
+- Fix building on SLES 11
+
+---



Other differences:
--
++ python-binplist.spec ++
--- /var/tmp/diff_new_pack.03QIZZ/_old  2015-07-14 17:46:24.0 +0200
+++ /var/tmp/diff_new_pack.03QIZZ/_new  2015-07-14 17:46:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-binplist
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -27,8 +27,6 @@
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
-
 %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




commit python-binplist for openSUSE:Factory

2014-08-27 Thread h_root
Hello community,

here is the log from the commit of package python-binplist for openSUSE:Factory 
checked in at 2014-08-27 16:53:16

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


Package is python-binplist

Changes:

--- /work/SRC/openSUSE:Factory/python-binplist/python-binplist.changes  
2013-09-11 13:07:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-binplist.new/python-binplist.changes 
2014-08-27 16:53:29.0 +0200
@@ -1,0 +2,8 @@
+Wed Aug 13 18:57:50 UTC 2014 - greg.freem...@gmail.com
+
+- update to v0.1.4
+   * Per GIT log replaced JSON parser with internal code
+   * other minor changes
+- change /usr/bin/binplist to /usr/bin/plist.py in %files section
+
+---

Old:

  binplist-0.1.3.tar.gz

New:

  binplist-0.1.4.tar.gz



Other differences:
--
++ python-binplist.spec ++
--- /var/tmp/diff_new_pack.CmbxCL/_old  2014-08-27 16:53:30.0 +0200
+++ /var/tmp/diff_new_pack.CmbxCL/_new  2014-08-27 16:53:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-binplist
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -15,14 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-binplist
-Version:0.1.3
+Version:0.1.4
 Release:0
-License:Apache-2.0
 Summary:Binary property list (plist) parser module written in python
-Url:https://code.google.com/p/binplist/
+License:Apache-2.0
 Group:  Development/Libraries/Python
-Source: https://binplist.googlecode.com/files/binplist-0.1.3.tar.gz
+Url:https://code.google.com/p/binplist/
+Source: https://binplist.googlecode.com/files/binplist-0.1.4.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -50,7 +51,7 @@
 %files
 %defattr(-,root,root)
 %doc COPYING
-%{_bindir}/binplist
+%{_bindir}/plist.py
 %{python_sitelib}/binplist-%{version}-py%{py_ver}.egg-info
 %{python_sitelib}/binplist
 

++ binplist-0.1.3.tar.gz - binplist-0.1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binplist-0.1.3/PKG-INFO new/binplist-0.1.4/PKG-INFO
--- old/binplist-0.1.3/PKG-INFO 2013-07-31 00:08:30.0 +0200
+++ new/binplist-0.1.4/PKG-INFO 2013-08-22 20:13:22.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: binplist
-Version: 0.1.3
+Version: 0.1.4
 Summary: A binary plist parser
 Home-page: http://code.google.com/p/binplist
 Author: Jordi Sanchez
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binplist-0.1.3/binplist/__init__.py 
new/binplist-0.1.4/binplist/__init__.py
--- old/binplist-0.1.3/binplist/__init__.py 2013-07-30 23:39:47.0 
+0200
+++ new/binplist-0.1.4/binplist/__init__.py 2013-07-31 21:19:02.0 
+0200
@@ -1,2 +1,2 @@
-__version__ = 0.1.3
+__version__ = 0.1.4
 __feedback_email__ = binplist.feedb...@gmail.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binplist-0.1.3/binplist/binplist.py 
new/binplist-0.1.4/binplist/binplist.py
--- old/binplist-0.1.3/binplist/binplist.py 2013-07-30 00:58:43.0 
+0200
+++ new/binplist-0.1.4/binplist/binplist.py 2013-08-22 17:41:57.0 
+0200
@@ -1,4 +1,5 @@
 #!/bin/env python
+# -*- coding: utf-8 -*-
 #
 # Copyright 2013 Google Inc. All Rights Reserved.
 #
@@ -31,7 +32,7 @@
 BinaryPlist class and then call the Parse() method on it, with a file-like
 object as an argument.
 
-  with open(myfile.plist) as fd:
+  with open(myfile.plist, rb) as fd:
 bplist = BinaryPlist(fd)
 top_level_object = bplist.Parse(fd)
 
@@ -56,12 +57,12 @@
 from . import __version__
 from . import __feedback_email__
 
-import cStringIO
 import datetime
 import logging
 import math
 import os
 import plistlib
+import string
 import struct
 import xml.parsers.expat
 
@@ -82,7 +83,7 @@
 self.value = value
 
   def __str__(self):
-return str(self.value)
+return self.value
 
   def __repr__(self):
 return repr(self.value)
@@ -90,6 +91,9 @@
   def __eq__(self, other):
 return self.value == other
 
+  def __unicode__(self):
+return u'%s' % ''.join([u\\x%s % c.encode('hex') for c in self.value])
+
 
 class CorruptReference(object):
   

commit python-binplist for openSUSE:Factory

2013-09-11 Thread h_root
Hello community,

here is the log from the commit of package python-binplist for openSUSE:Factory 
checked in at 2013-09-11 13:07:11

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


Package is python-binplist

Changes:

New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.python-binplist.new/python-binplist.changes 
2013-09-11 13:07:11.0 +0200
@@ -0,0 +1,11 @@
+---
+Mon Sep  9 15:02:24 UTC 2013 - greg.freem...@gmail.com
+
+- fix macros in files section to build on multiple architectures
+- change sed line to more preferred syntax
+
+---
+Tue Aug 20 16:19:46 UTC 2013 - greg.freem...@gmail.com
+
+- initial package (v0.1.3)
+

New:

  binplist-0.1.3.tar.gz
  python-binplist.changes
  python-binplist.spec



Other differences:
--
++ python-binplist.spec ++
#
# spec file for package python-binplist
#
# 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/
#

Name:   python-binplist
Version:0.1.3
Release:0
License:Apache-2.0
Summary:Binary property list (plist) parser module written in python
Url:https://code.google.com/p/binplist/
Group:  Development/Libraries/Python
Source: https://binplist.googlecode.com/files/binplist-0.1.3.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%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

%description
binplist is a binary property list (plist) parser module written in python.

%prep
%setup -q -n binplist-%{version}
# delete the interpreter
sed -i -e /#!\/usr\/local\/bin/d binplist/binplist.py

%build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/binplist
%{python_sitelib}/binplist-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/binplist

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