Commit 77f1f317 authored by Jelmer Vernooij's avatar Jelmer Vernooij

Import upstream version 0.1.0

parents a81d6f73 993ce78e
John Arbash Meinel <john@arbash-meinel.com>
Lukáš Lalinský <lalinsky@gmail.com>
Martin Pool <mbp@sourcefrog.net>
Jelmer Vernooij <jelmer@jelmer.uk>
AUTHORS
README.rst
include AUTHORS
include README.rst
Metadata-Version: 2.1
Name: patiencediff
Version: 0.0.4
Version: 0.1.0
Summary: Python implementation of the patiencediff algorithm.
Home-page: https://www.breezy-vcs.org/
Maintainer: Breezy Developers
......@@ -53,8 +53,6 @@ Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
......
Metadata-Version: 2.1
Name: patiencediff
Version: 0.0.4
Version: 0.1.0
Summary: Python implementation of the patiencediff algorithm.
Home-page: https://www.breezy-vcs.org/
Maintainer: Breezy Developers
......@@ -53,8 +53,6 @@ Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
......
AUTHORS
MANIFEST.in
README.rst
setup.py
......
......@@ -25,7 +25,7 @@ import difflib
__all__ = ['PatienceSequenceMatcher', 'unified_diff', 'unified_diff_files']
__version__ = (0, 0, 4)
__version__ = (0, 1, 0)
# This is a version of unified_diff which only adds a factory parameter
......
......@@ -48,7 +48,7 @@
* causing <https://bugs.launchpad.net/bzr/+bug/511267> and
* <https://bugs.launchpad.net/bzr/+bug/331095>. On glibc it passes, but
* let's make it fail to aid testing. */
#define guarded_malloc(x) ( (x) ? malloc(x) : NULL )
#define guarded_malloc(x) ( ((x) > 0) ? malloc(x) : NULL )
enum {
OP_EQUAL = 0,
......@@ -1167,14 +1167,45 @@ static char PatienceSequenceMatcher_doc[] =
static PyTypeObject PatienceSequenceMatcherType = {
PyObject_HEAD_INIT(NULL)
.tp_name = "PatienceSequenceMatcher",
.tp_basicsize = sizeof(PatienceSequenceMatcher),
.tp_dealloc = (destructor)PatienceSequenceMatcher_dealloc,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_doc = PatienceSequenceMatcher_doc,
.tp_methods = PatienceSequenceMatcher_methods,
.tp_new = PatienceSequenceMatcher_new,
PyVarObject_HEAD_INIT(NULL, 0)
"PatienceSequenceMatcher", /* tp_name */
sizeof(PatienceSequenceMatcher), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)PatienceSequenceMatcher_dealloc, /* tp_dealloc */
NULL, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
NULL, /* tp_repr */
NULL, /* tp_as_number */
NULL, /* tp_as_sequence */
NULL, /* tp_as_mapping */
NULL, /* tp_hash */
NULL, /* tp_call */
NULL, /* tp_str */
NULL, /* tp_getattro */
NULL, /* tp_setattro */
NULL, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
PatienceSequenceMatcher_doc, /* tp_doc */
NULL, /* tp_traverse */
NULL, /* tp_clear */
NULL, /* tp_richcompare */
0, /* tp_weaklistoffset */
NULL, /* tp_iter */
NULL, /* tp_iternext */
PatienceSequenceMatcher_methods, /* tp_methods */
NULL, /* tp_members */
NULL, /* tp_getset */
NULL, /* tp_base */
NULL, /* tp_dict */
NULL, /* tp_descr_get */
NULL, /* tp_descr_set */
0, /* tp_dictoffset */
NULL, /* tp_init */
NULL, /* tp_alloc */
PatienceSequenceMatcher_new, /* NULL */
NULL, /* tp_free */
};
......
......@@ -10,7 +10,7 @@ setup(name="patiencediff",
description="Python implementation of the patiencediff algorithm.",
long_description=long_description,
long_description_content_type='text/x-rst',
version="0.0.4",
version="0.1.0",
maintainer="Breezy Developers",
maintainer_email="team@breezy-vcs.org",
license="GNU GPLv2 or later",
......@@ -21,8 +21,6 @@ setup(name="patiencediff",
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', # noqa
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment