forked from pool/python-pygit2
Accepting request 247301 from devel:languages:python
Fix build for Factory OBS-URL: https://build.opensuse.org/request/show/247301 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=7
This commit is contained in:
commit
0cdc2d0ca8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:800c687a685abe6c963064bbdbe69f3d65a4fe5c43dae3e7c16722bb0e162310
|
||||
size 113474
|
3
pygit2-0.21.2.tar.gz
Normal file
3
pygit2-0.21.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cfed1d967419e6cfabe5ad02a03a2e0d7b715aac896b23277c59316d226ca53
|
||||
size 416612
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
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 <https://github.com/libgit2/pygit2/pull/395>`_
|
||||
+ ``Diff.find_similar`` supports new threshold arguments
|
||||
`#396 <https://github.com/libgit2/pygit2/pull/396>`_
|
||||
+ Optimization, do not load the object when expanding an oid prefix
|
||||
`#397 <https://github.com/libgit2/pygit2/pull/397>`_
|
||||
- Changes from version 0.20.1
|
||||
+ Install fix
|
||||
`#382 <https://github.com/libgit2/pygit2/pull/382>`_
|
||||
+ Documentation improved, including
|
||||
`#383 <https://github.com/libgit2/pygit2/pull/383>`_
|
||||
`#385 <https://github.com/libgit2/pygit2/pull/385>`_
|
||||
`#388 <https://github.com/libgit2/pygit2/pull/388>`_
|
||||
+ Documentation, use the read-the-docs theme
|
||||
`#387 <https://github.com/libgit2/pygit2/pull/387>`_
|
||||
+ Coding style improvements
|
||||
`#392 <https://github.com/libgit2/pygit2/pull/392>`_
|
||||
+ New ``Repository.state_cleanup()``
|
||||
`#386 <https://github.com/libgit2/pygit2/pull/386>`_
|
||||
+ New ``Index.conflicts``
|
||||
`#345 <https://github.com/libgit2/pygit2/issues/345>`_
|
||||
`#389 <https://github.com/libgit2/pygit2/pull/389>`_
|
||||
+ New checkout option to define the target directory
|
||||
`#390 <https://github.com/libgit2/pygit2/pull/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
|
||||
|
||||
|
@ -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.2
|
||||
Release: 0
|
||||
Url: http://github.com/dborowitz/pygit2
|
||||
Summary: Python bindings for libgit2
|
||||
@ -26,11 +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
|
||||
%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
|
||||
Requires: python-cffi
|
||||
|
||||
%description
|
||||
Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
@ -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,-)
|
||||
|
Loading…
Reference in New Issue
Block a user