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
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2aae85836c3a8da686220db7db05f91f8797e37edf91cc2a1f88b09fb653166a
|
|
||||||
size 470732
|
|
3
pygit2-0.25.0.tar.gz
Normal file
3
pygit2-0.25.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:de0ed85fd840dfeb32bcaa94c643307551dc0d967c3714e49087e7edc0cdc571
|
||||||
|
size 472116
|
@ -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
|
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
|
Name: python-pygit2
|
||||||
Version: 0.24.2
|
Version: 0.25.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for libgit2
|
Summary: Python bindings for libgit2
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
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://pypi.io/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||||
BuildRequires: libgit2-devel >= 0.24
|
BuildRequires: libgit2-devel >= 0.25
|
||||||
#BuildRequires: python-unittest2
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: python-cffi
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: python-six
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
%requires_eq python-cffi
|
%requires_eq python-cffi
|
||||||
|
Requires: python-six
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bindings for libgit2, a linkable C library for the Git version-control system.
|
Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pygit2-%{version}
|
%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
|
%build
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#python setup.py test
|
#python setup.py test
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README.rst
|
%doc COPYING README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user