forked from pool/python-pygit2
Accepting request 486849 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.25.0. - Implement singlespec version. OBS-URL: https://build.opensuse.org/request/show/486849 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=36
This commit is contained in:
parent
f2d4a8b426
commit
b3e1b15069
BIN
pygit2-0.24.2.tar.gz
(Stored with Git LFS)
BIN
pygit2-0.24.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pygit2-0.25.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pygit2-0.25.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 22:12:04 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 0.25.0.
|
||||
* Make pygit2 throw if tree of a commit is not found
|
||||
* fixed cached memory tests
|
||||
* Added mwindow_mapped_limit, cached_memory, enable_caching,
|
||||
cache_max_size, cache_object_limit options
|
||||
- Implement singlespec version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 11 21:49:47 UTC 2017 - astieger@suse.com
|
||||
|
||||
|
@ -16,43 +16,47 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pygit2
|
||||
Version: 0.24.2
|
||||
Version: 0.25.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.24
|
||||
#BuildRequires: python-unittest2
|
||||
BuildRequires: libgit2-devel >= 0.25
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: python-cffi
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%requires_eq python-cffi
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygit2-%{version}
|
||||
# Adjust include/lib paths to local system
|
||||
#sed -i 's|/usr/local/include|%%{_includedir}|' setup.py
|
||||
#sed -i 's|/usr/local/lib|%%{_libdir}|' setup.py
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
#python setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.rst
|
||||
%{python_sitearch}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user