Update to 0.21.0
This commit is contained in:
parent
fffb9f9a72
commit
234f238e8f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/pygit2-0.20.2.tar.gz
|
/pygit2-0.20.2.tar.gz
|
||||||
/pygit2-0.20.3.tar.gz
|
/pygit2-0.20.3.tar.gz
|
||||||
|
/pygit2-0.21.0.tar.gz
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-%{pkgname}
|
Name: python-%{pkgname}
|
||||||
Version: 0.20.3
|
Version: 0.21.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python 2.x bindings for libgit2
|
Summary: Python 2.x bindings for libgit2
|
||||||
URL: http://www.pygit2.org
|
URL: http://www.pygit2.org
|
||||||
@ -14,32 +14,38 @@ Source: http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%
|
|||||||
License: GPLv2 with linking exception
|
License: GPLv2 with linking exception
|
||||||
BuildRequires: libgit2-devel
|
BuildRequires: libgit2-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: python-cffi
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-sphinx
|
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||||
the core of Git. Pygit2 works with Python 2.6, 2.7, 3.1, 3.2 and 3.3.
|
the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3 and 3.4.
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pkgname}
|
%package -n python3-%{pkgname}
|
||||||
Summary: Python 3.x bindings for libgit2
|
Summary: Python 3.x bindings for libgit2
|
||||||
|
BuildRequires: python3-cffi
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
%description -n python3-%{pkgname}
|
%description -n python3-%{pkgname}
|
||||||
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||||
the core of Git. Pygit2 works with Python 2.6, 2.7, 3.1, 3.2 and 3.3.
|
the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3 and 3.4.
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: python-sphinx
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}.
|
Documentation for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{pkgname}-%{version}
|
%setup -qn %{pkgname}-%{version}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
@ -47,10 +53,12 @@ cp -a . %{py3dir}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python2} setup.py build
|
CFLAGS="%{optflags}" %{__python2} setup.py build
|
||||||
|
make -C docs html
|
||||||
|
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||||
popd
|
popd
|
||||||
make -C docs html
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot}
|
%{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot}
|
||||||
@ -72,17 +80,22 @@ popd
|
|||||||
%{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info
|
%{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info
|
||||||
%{python2_sitearch}/%{pkgname}
|
%{python2_sitearch}/%{pkgname}
|
||||||
%{python2_sitearch}/_%{pkgname}.so
|
%{python2_sitearch}/_%{pkgname}.so
|
||||||
|
%{python2_sitearch}/_cffi__x9d80345cx7034714f.so
|
||||||
|
|
||||||
%files -n python3-%{pkgname}
|
%files -n python3-%{pkgname}
|
||||||
%doc COPYING README.rst TODO.txt
|
%doc COPYING README.rst TODO.txt
|
||||||
%{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info
|
||||||
%{python3_sitearch}/%{pkgname}
|
%{python3_sitearch}/%{pkgname}
|
||||||
%{python3_sitearch}/_%{pkgname}.*.so
|
%{python3_sitearch}/_%{pkgname}.*.so
|
||||||
|
%{python3_sitearch}/_cffi__x7a58d3ffx7034714f.cpython-34m.so
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc docs/_build/html/*
|
%doc docs/_build/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.0-1
|
||||||
|
- Update to 0.21.0
|
||||||
|
|
||||||
* Sat Jun 21 2014 Christopher Meng <rpm@cicku.me> - 0.20.3-1
|
* Sat Jun 21 2014 Christopher Meng <rpm@cicku.me> - 0.20.3-1
|
||||||
- Update to 0.20.3
|
- Update to 0.20.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user