From 26ab973619c01ebc6368fc1e5948a37d7d11dbefa591658bc758341ce67b9b0c 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 0f72482320ac8b1eb48a09a4b9e8924a242fbd5ad506aee12161fe84b1b7d795 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 95251d47268493720b4b850b4082c3075a39380178d06b424c2dbd674eb7da95 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 8800b60f549b12920a9022049960a4a529bfd3c9883ec7af7fdf7076cba70448 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 5c6e4f7257184060d4e16097393f1a9a12d91ac710713a09f6e99fe32ce8c9bd 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 f6ba6e7a050e21d7031eb85492f4b1e441da994450d433482dbd76597b437c3a 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 50e9fb3a2366056660220bfec8ef8654a44e9e90a0f2c52b0d9a311f90025577 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 5b98e4c1bc81177d4e54a1a6dc6f3fa3062de74b64092c11e7d60f0dac7c031f 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 36449f1ea415a1a7be4880620d9dbe133e025c49709f3366aa8be93450e6472c 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 89d9f25bc6fed1a476b0aeb59d0354ff59a2ab555ea7cbd96b76a58cfdc14607 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