diff --git a/pygit2-0.20.0.tar.gz b/pygit2-0.20.0.tar.gz deleted file mode 100644 index 0f468d1..0000000 --- a/pygit2-0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:800c687a685abe6c963064bbdbe69f3d65a4fe5c43dae3e7c16722bb0e162310 -size 113474 diff --git a/pygit2-0.21.2.tar.gz b/pygit2-0.21.2.tar.gz new file mode 100644 index 0000000..7f40b01 --- /dev/null +++ b/pygit2-0.21.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cfed1d967419e6cfabe5ad02a03a2e0d7b715aac896b23277c59316d226ca53 +size 416612 diff --git a/python-pygit2.changes b/python-pygit2.changes index 68990a4..a1c78a8 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Tue Sep 2 18:20:17 UTC 2014 - p.drouand@gmail.com + +- Update to version 0.20.2 + + Fix regression with Python 2, ``IndexEntry.path`` returns str + (bytes in Python 2 and unicode in Python 3) + + Get back ``IndexEntry.oid`` for backwards compatibility + + Config, iterate over the keys (instead of the key/value pairs) + `#395 `_ + + ``Diff.find_similar`` supports new threshold arguments + `#396 `_ + + Optimization, do not load the object when expanding an oid prefix + `#397 `_ +- Changes from version 0.20.1 + + Install fix + `#382 `_ + + Documentation improved, including + `#383 `_ + `#385 `_ + `#388 `_ + + Documentation, use the read-the-docs theme + `#387 `_ + + Coding style improvements + `#392 `_ + + New ``Repository.state_cleanup()`` + `#386 `_ + + New ``Index.conflicts`` + `#345 `_ + `#389 `_ + + New checkout option to define the target directory + `#390 `_ +- Fix build +- Remove python_sitelib definition; pygit2 is arch dependant +- Add python-cffi and python-unittest2 requirements; new + dependencies +- Disable tests; network is now needed for launching them + ------------------------------------------------------------------- Mon Dec 9 13:31:12 UTC 2013 - p.drouand@gmail.com diff --git a/python-pygit2.spec b/python-pygit2.spec index d504147..f965f3d 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygit2 # -# 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 @@ -17,7 +17,7 @@ Name: python-pygit2 -Version: 0.20.0 +Version: 0.21.2 Release: 0 Url: http://github.com/dborowitz/pygit2 Summary: Python bindings for libgit2 @@ -26,11 +26,11 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libgit2-devel +BuildRequires: python-cffi BuildRequires: python-devel +#BuildRequires: python-unittest2 BuildRequires: libopenssl-devel -%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()")} -%endif +Requires: python-cffi %description Bindings for libgit2, a linkable C library for the Git version-control system. @@ -48,7 +48,7 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py test +#python setup.py test %files %defattr(-,root,root,-)