1
0

Accepting request 75201 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/75201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=3
This commit is contained in:
Marcus Rückert 2011-07-19 13:01:36 +00:00 committed by Git OBS Bridge
parent 74815b42cd
commit efc484c2ba
4 changed files with 21 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7051e18d62007020476358c085cac83c978d90452c114431b6296c64b02131b
size 126688

3
dulwich-0.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24e393bdadd685608b61e0293719296d467b76917e2135822576246b988724b5
size 164718

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 3 10:21:34 UTC 2011 - saschpe@gmx.de
- Update to version 0.7.1:
* Documentation udated
* Tree.entries deprecated
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 31 14:25:18 UTC 2011 - saschpe@suse.de Thu Mar 31 14:25:18 UTC 2011 - saschpe@suse.de

View File

@ -11,41 +11,35 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild Name: python-dulwich
Version: 0.7.1
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Release: 0
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define mod_name dulwich
Name: python-%{mod_name}
Version: 0.7.0
Release: 1
Url: http://samba.org/~jelmer/dulwich Url: http://samba.org/~jelmer/dulwich
Summary: Pure-Python Git Library Summary: Pure-Python Git Library
License: GPLv2 or later License: GPLv2+
Group: Development/Languages/Python Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2 Source: dulwich-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
%if 0%{?suse_version} %if 0%{?suse_version}
%py_requires %py_requires
%endif %endif
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description %description
Simple Pure-Python implementation of the Git file formats and protocols. Dulwich Simple Pure-Python implementation of the Git file formats and protocols. Dulwich
is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. is the place where Mr. and Mrs. Git live in one of the Monty Python sketches.
%prep %prep
%setup -q -n %{mod_name}-%{version} %setup -q -n dulwich-%{version}
rm docs/tutorial/.gitignore
%build %build
export CFLAGS="%{optflags}" CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@ -57,6 +51,6 @@ rm -rf %{buildroot}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING HACKING NEWS README docs %doc AUTHORS COPYING HACKING NEWS README docs
%{_bindir}/* %{_bindir}/*
%python_sitearch/%{mod_name}* %python_sitearch/*
%changelog %changelog