Hello community,

here is the log from the commit of package python-diff_match_patch for 
openSUSE:Factory checked in at 2016-09-21 18:49:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-diff_match_patch (Old)
 and      /work/SRC/openSUSE:Factory/.python-diff_match_patch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-diff_match_patch"

Changes:
--------
New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-diff_match_patch.new/python-diff_match_patch.changes
     2016-09-21 18:49:30.000000000 +0200
@@ -0,0 +1,34 @@
+-------------------------------------------------------------------
+Wed May 11 15:13:44 UTC 2016 - jmate...@suse.com
+
+- added setup.py from the unofficial package on PyPI, in order to
+  generate egg-info for packages that require it
+
+-------------------------------------------------------------------
+Mon Feb 25 20:08:51 UTC 2013 - elchev...@opensuse.org
+
+- updated to version 20121119
+       *Removing long/shorttext scoping or dereferencing in all languages
+       *Modifying Lua's module structure to work consistently
+       *Update Dart port to latest Dart language verison
+       *Fix typos in demo_patch.html
+
+-------------------------------------------------------------------
+Thu Jan  3 17:07:45 UTC 2013 - toddrme2...@gmail.com
+
+- Fix building on SLES 11
+
+-------------------------------------------------------------------
+Sat May  5 00:13:29 UTC 2012 - elchev...@opensuse.org
+
+- fix python2.4 hardcoded - use '/usr/bin/env python2' instead
+
+-------------------------------------------------------------------
+Tue Mar 20 22:28:33 UTC 2012 - elchev...@opensuse.org
+
+- update to version 20120106 and spec cleanning
+
+-------------------------------------------------------------------
+Wed Aug 12 00:00:00 UTC 2009 - n...@opensuse.org
+
+- first build 

New:
----
  diff_match_patch_20121119.zip
  python-diff_match_patch.changes
  python-diff_match_patch.spec
  setup.py

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

Other differences:
------------------
++++++ python-diff_match_patch.spec ++++++
#
# spec file for package python-diff_match_patch
#
# Copyright (c) 2016 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
# 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-diff_match_patch
Version:        20121119
Release:        0
Summary:        Python Diff, Match and Patch library for Plain Text
License:        Apache-2.0
Group:          Development/Libraries/Python
Url:            http://code.google.com/p/google-diff-match-patch/
Source:         diff_match_patch_%{version}.zip
Source1:        setup.py
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{py_requires}
%else
BuildArch:      noarch
%endif

%description
Google's Diff Match and Patch libraries offer robust algorithms to perform the 
operations required for synchronizing plain text.

   1. Diff:
          * Compare two blocks of plain text and efficiently return a list of 
differences.
   2. Match:
          * Given a search string, find its best fuzzy match in a block of 
plain text. Weighted for both accuracy and location.
   3. Patch:
          * Apply a list of patches onto plain text. Use best-effort to apply 
patch even when the underlying text doesn't match.

%prep
%setup -n diff_match_patch_%{version}
cp %{S:1} .
#fix python2.4 hardcoded - use /usr/bin/env python2
sed -i 's/\/usr\/bin\/python2.4/\/usr\/bin\/env python2/' 
python2/diff_match_patch.py

%build
python setup.py build

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

%files
%defattr(-, root, root, 0755)
%doc README.txt COPYING
%{python_sitelib}/diff_match_patch
%{python_sitelib}/diff_match_patch-%{version}-py%{py_ver}.egg-info

%changelog
++++++ setup.py ++++++
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys


def read(*rnames):
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()


if sys.version_info >= (3,):
    subdir = 'python3'
else:
    subdir = 'python2'

setup(
    name='diff-match-patch',
    version='20121119',
    description = "The Diff Match and Patch libraries offer robust algorithms 
to perform the operations required for synchronizing plain text.",
    long_description = read('README.txt'),
    packages = ['diff_match_patch'],
    package_dir = {'diff_match_patch': subdir},
    author='Neil Fraser',
    url='http://code.google.com/p/google-diff-match-patch/',
    test_suite='diff_match_patch.diff_match_patch_test',
    license = "Apache",
    classifiers = [
        "Topic :: Text Processing",
        "Intended Audience :: Developers",
        "Development Status :: 6 - Mature",
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 2.4",
        "Programming Language :: Python :: 2.5",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.0",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        ]
)

Reply via email to