forked from mcepl/python-pygit2
Accepting request 845218 from home:jayvdb:branches:devel:libraries:c_c++
- Add libgit2_1_1.patch for compatibility with libgit 1.1.0 - Update to v1.3.0 OBS-URL: https://build.opensuse.org/request/show/845218 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=60
This commit is contained in:
@@ -20,12 +20,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pygit2
|
||||
Version: 1.2.1
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Python bindings for libgit2
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/libgit2/pygit2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM libgit2_1.patch gh#libgit2/pygit2#1040
|
||||
Patch0: libgit2_1.patch
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.4.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -34,7 +36,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: ca-certificates-mozilla
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libgit2-devel >= 1.0
|
||||
BuildRequires: libgit2-devel >= 1.1
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cached-property
|
||||
@@ -46,6 +48,7 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygit2-%{version}
|
||||
%patch0 -p1
|
||||
# do not add options to pytest
|
||||
rm pytest.ini
|
||||
|
||||
|
Reference in New Issue
Block a user