From dcc67286184c837ecb5598d50d10aadd1302ef2729c99e05e34ff0e2c075a6bd Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 24 Aug 2017 16:16:36 +0000 Subject: [PATCH] Accepting request 518566 from home:TheBlackCat:branches:devel:languages:python - Update to 0.26.0 * Update to libgit2 v0.26 * Drop support for Python 3.2, add support for cffi 1.10 * New ``Repository.revert_commit(...)`` * New ``Branch.is_checked_out()`` * Various fixes OBS-URL: https://build.opensuse.org/request/show/518566 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=38 --- pygit2-0.25.0.tar.gz | 3 --- pygit2-0.26.0.tar.gz | 3 +++ python-pygit2.changes | 10 ++++++++++ python-pygit2.spec | 9 ++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 pygit2-0.25.0.tar.gz create mode 100644 pygit2-0.26.0.tar.gz diff --git a/pygit2-0.25.0.tar.gz b/pygit2-0.25.0.tar.gz deleted file mode 100644 index 03509b1..0000000 --- a/pygit2-0.25.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de0ed85fd840dfeb32bcaa94c643307551dc0d967c3714e49087e7edc0cdc571 -size 472116 diff --git a/pygit2-0.26.0.tar.gz b/pygit2-0.26.0.tar.gz new file mode 100644 index 0000000..9043df8 --- /dev/null +++ b/pygit2-0.26.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7f06d61f25ab644c39e0e9bd4846a6cc4af81ae27f889473e6f0e9511226cb1 +size 457263 diff --git a/python-pygit2.changes b/python-pygit2.changes index 2c46de9..5124cce 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.26.0 + * Update to libgit2 v0.26 + * Drop support for Python 3.2, add support for cffi 1.10 + * New ``Repository.revert_commit(...)`` + * New ``Branch.is_checked_out()`` + * Various fixes + ------------------------------------------------------------------- Fri Apr 7 22:12:04 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pygit2.spec b/python-pygit2.spec index 0ac2f8f..7dd445c 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -17,15 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-pygit2 -Version: 0.25.0 +Version: 0.26.0 Release: 0 Summary: Python bindings for libgit2 License: GPL-2.0 Group: Development/Languages/Python Url: https://github.com/libgit2/pygit2 Source: https://pypi.io/packages/source/p/pygit2/pygit2-%{version}.tar.gz -BuildRequires: libgit2-devel >= 0.25 +BuildRequires: libgit2-devel >= %{version} BuildRequires: libopenssl-devel BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,8 +54,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -#python setup.py test +%python_exec setup.py test +%endif %files %{python_files} %defattr(-,root,root,-)