From 0f988d7d71a1ae05729eda6da6ebbc7b319b62e84eac6fbfe99f3474abdbec72 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 16 Jul 2014 09:44:29 +0000 Subject: [PATCH 01/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=13 --- python-pygit2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pygit2.spec b/python-pygit2.spec index d504147..f5c3f99 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.0 Release: 0 Url: http://github.com/dborowitz/pygit2 Summary: Python bindings for libgit2 From 5fd0a67781d0b70e4e08d227325800946a90e54b2d403706cb5a385ec25b0d7f Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 16 Jul 2014 09:44:48 +0000 Subject: [PATCH 02/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=14 --- pygit2-0.21.0.tar.gz | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pygit2-0.21.0.tar.gz diff --git a/pygit2-0.21.0.tar.gz b/pygit2-0.21.0.tar.gz new file mode 100644 index 0000000..4ddac59 --- /dev/null +++ b/pygit2-0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdc24084ba066234dfffd58f22e265b23f76a064b3069777e5009ff1679f2574 +size 150281 From 1b3e2be0867b509a1d6d10593637e7420b1c3471670e47003f5a0d8b559dd8ee Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 16 Jul 2014 09:44:57 +0000 Subject: [PATCH 03/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=15 --- pygit2-0.20.0.tar.gz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 pygit2-0.20.0.tar.gz 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 From e5b2a64455052be13e59c3c90f2efbeeb60bf37d288f7a0b3ab92d798ea89848 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:19:22 +0000 Subject: [PATCH 04/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=16 --- python-pygit2.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python-pygit2.spec b/python-pygit2.spec index f5c3f99..cb0f442 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -17,7 +17,7 @@ Name: python-pygit2 -Version: 0.21.0 +Version: 0.21.2 Release: 0 Url: http://github.com/dborowitz/pygit2 Summary: Python bindings for libgit2 @@ -28,9 +28,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libgit2-devel BuildRequires: python-devel 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 %description Bindings for libgit2, a linkable C library for the Git version-control system. From 4983b99a239c79a9babbe4a975655b67a9b51e8339a57593858257cc5c7c2894 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:19:48 +0000 Subject: [PATCH 05/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=17 --- pygit2-0.21.2.tar.gz | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pygit2-0.21.2.tar.gz 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 From 0cd1435ffdff44687c1f796e43969aff83ecedc237a2be8833149369c6f4c1aa Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:20:13 +0000 Subject: [PATCH 06/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=18 --- pygit2-0.21.0.tar.gz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 pygit2-0.21.0.tar.gz diff --git a/pygit2-0.21.0.tar.gz b/pygit2-0.21.0.tar.gz deleted file mode 100644 index 4ddac59..0000000 --- a/pygit2-0.21.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cdc24084ba066234dfffd58f22e265b23f76a064b3069777e5009ff1679f2574 -size 150281 From dad1b3679a8179159b8267a0bfac37def32d57ae260a0ecc8a82257f44c8e6c3 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:22:34 +0000 Subject: [PATCH 07/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=19 --- python-pygit2.changes | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/python-pygit2.changes b/python-pygit2.changes index 68990a4..99be232 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Mon Dec 9 13:31:12 UTC 2013 - p.drouand@gmail.com From ef15dd675f111b4a2146cd05e32d635245a1a88b0639c8299e7c4adbc52375b9 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:41:30 +0000 Subject: [PATCH 08/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=20 --- python-pygit2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-pygit2.spec b/python-pygit2.spec index cb0f442..6348773 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -26,8 +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 +Requires: python-cffi %description Bindings for libgit2, a linkable C library for the Git version-control system. From e074e1a4a885b5cbfebd957292c9284d3fda50f1485e4e1698025ec726ae4458 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:46:36 +0000 Subject: [PATCH 09/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=21 --- python-pygit2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pygit2.spec b/python-pygit2.spec index 6348773..f965f3d 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -28,7 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libgit2-devel BuildRequires: python-cffi BuildRequires: python-devel -BuildRequires: python-unittest2 +#BuildRequires: python-unittest2 BuildRequires: libopenssl-devel Requires: python-cffi @@ -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,-) From db65386af56a1c0ea93e33797c4ef8d315211dea5ec4f45d13777de5616de9ab Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 2 Sep 2014 18:47:26 +0000 Subject: [PATCH 10/10] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=22 --- python-pygit2.changes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-pygit2.changes b/python-pygit2.changes index 99be232..a1c78a8 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -31,6 +31,9 @@ Tue Sep 2 18:20:17 UTC 2014 - p.drouand@gmail.com `#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