Accepting request 610062 from devel:languages:python

- Update to 0.27.0:
  * Update to libgit2 v0.27 #783
  * Fix for GCC 4 #786

OBS-URL: https://build.opensuse.org/request/show/610062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2018-05-17 16:05:48 +00:00 committed by Git OBS Bridge
commit b235d7a7a2
4 changed files with 24 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7f06d61f25ab644c39e0e9bd4846a6cc4af81ae27f889473e6f0e9511226cb1
size 457263

3
pygit2-0.27.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6febce4aea72f12ed5a1e7529b91119f21d93cb2ccb3f834eea26af76cc9a4cb
size 477427

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 17 12:10:25 UTC 2018 - tchvatal@suse.com
- Update to 0.27.0:
* Update to libgit2 v0.27 #783
* Fix for GCC 4 #786
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pygit2 # spec file for package python-pygit2
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,27 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-pygit2 Name: python-pygit2
Version: 0.26.0 Version: 0.27.0
Release: 0 Release: 0
Summary: Python bindings for libgit2 Summary: Python bindings for libgit2
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/libgit2/pygit2 URL: https://github.com/libgit2/pygit2
Source: https://pypi.io/packages/source/p/pygit2/pygit2-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
BuildRequires: libgit2-devel >= %{version}
BuildRequires: libopenssl-devel
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module cffi} BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module six}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
%requires_eq python-cffi BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: libgit2-devel >= %{version}
BuildRequires: libopenssl-devel
BuildRequires: python-rpm-macros
Requires: python-six Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build %requires_eq python-cffi
%python_subpackages %python_subpackages
%description %description
@ -52,16 +49,14 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
%check %check
%python_exec setup.py test %python_exec setup.py test
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license COPYING
%doc COPYING README.rst %doc README.rst
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog