From bcc7be252b7c177bcb2aec18b66bb39fac0d52a4c19de664fc5c2ba9571d7d2f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 25 Nov 2012 12:28:42 +0000 Subject: [PATCH] Accepting request 142565 from devel:languages:python - Update to version 0.8.6: + dulwich.__init__ no longer imports client, protocol, repo and server modules. (Jelmer Vernooij) + ConfigDict now behaves more like a dictionary. (Adam 'Cezar' Jenkins, issue #58) + HTTPGitApplication now takes an optional fallback_app argument. (Jonas Haag, issue #67) + Support for large pack index files. (Jameson Nash) + Make index entry tests a little bit less strict, to cope with slightly different behaviour on various platforms. (Jelmer Vernooij) + setup.py test (available when setuptools is installed) now runs all tests, not just the basic unit tests. (Jelmer Vernooij) + Commit._deserialize now actually deserializes the current state rather than the previous one. (Yifan Zhang, issue #59) + Handle None elements in lists of TreeChange objects. (Alex Holmes) + Support cloning repositories without HEAD set. (D-Key, Jelmer Vernooij, issue #69) + Support MemoryRepo.get_config. (Jelmer Vernooij) + In get_transport_and_path, pass extra keyword arguments on to HttpGitClient. (Jelmer Vernooij) - Changes from version 0.8.5: + Avoid use of 'with' in dulwich.index. (Jelmer Vernooij) + Be a little bit strict about OS behaviour in index tests. Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij) - See NEWS file for more changes OBS-URL: https://build.opensuse.org/request/show/142565 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=9 --- dulwich-0.8.0.tar.gz | 3 --- dulwich-0.8.6.tar.gz | 3 +++ python-dulwich.changes | 31 +++++++++++++++++++++++++++++++ python-dulwich.spec | 28 ++++++++++++++++------------ 4 files changed, 50 insertions(+), 15 deletions(-) delete mode 100644 dulwich-0.8.0.tar.gz create mode 100644 dulwich-0.8.6.tar.gz diff --git a/dulwich-0.8.0.tar.gz b/dulwich-0.8.0.tar.gz deleted file mode 100644 index 7434dcb..0000000 --- a/dulwich-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:342f84c713839c9a2e24a7e7121cf150a6f53da08224b66da6125fd09bd2886f -size 183532 diff --git a/dulwich-0.8.6.tar.gz b/dulwich-0.8.6.tar.gz new file mode 100644 index 0000000..08689d7 --- /dev/null +++ b/dulwich-0.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd7337656ac304e295771b9fa655e7f417015ad6d071553bc3e5ba876efc35c7 +size 208467 diff --git a/python-dulwich.changes b/python-dulwich.changes index 47d9982..29462b0 100644 --- a/python-dulwich.changes +++ b/python-dulwich.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Nov 23 10:55:48 UTC 2012 - saschpe@suse.de + +- Update to version 0.8.6: + + dulwich.__init__ no longer imports client, protocol, repo and + server modules. (Jelmer Vernooij) + + ConfigDict now behaves more like a dictionary. + (Adam 'Cezar' Jenkins, issue #58) + + HTTPGitApplication now takes an optional + fallback_app argument. (Jonas Haag, issue #67) + + Support for large pack index files. (Jameson Nash) + + Make index entry tests a little bit less strict, to cope with + slightly different behaviour on various platforms. + (Jelmer Vernooij) + + setup.py test (available when setuptools is installed) now + runs all tests, not just the basic unit tests. + (Jelmer Vernooij) + + Commit._deserialize now actually deserializes the current state rather than + the previous one. (Yifan Zhang, issue #59) + + Handle None elements in lists of TreeChange objects. (Alex Holmes) + + Support cloning repositories without HEAD set. + (D-Key, Jelmer Vernooij, issue #69) + + Support MemoryRepo.get_config. (Jelmer Vernooij) + + In get_transport_and_path, pass extra keyword arguments on to + HttpGitClient. (Jelmer Vernooij) +- Changes from version 0.8.5: + + Avoid use of 'with' in dulwich.index. (Jelmer Vernooij) + + Be a little bit strict about OS behaviour in index tests. + Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij) +- See NEWS file for more changes + ------------------------------------------------------------------- Tue Sep 20 13:16:45 UTC 2011 - saschpe@suse.de diff --git a/python-dulwich.spec b/python-dulwich.spec index 4bdeaf1..778f2e1 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -1,7 +1,7 @@ # # spec file for package python-dulwich # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -16,21 +16,20 @@ # - Name: python-dulwich -Version: 0.8.0 +Version: 0.8.6 Release: 0 Url: http://samba.org/~jelmer/dulwich Summary: Pure-Python Git Library License: GPL-2.0+ Group: Development/Languages/Python -Source: http://www.samba.org/~jelmer/dulwich/dulwich-0.8.0.tar.gz +Source: http://www.samba.org/~jelmer/dulwich/dulwich-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-Sphinx BuildRequires: python-devel -%if 0%{?suse_version} -%py_requires +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description Simple Pure-Python implementation of the Git file formats and protocols. Dulwich @@ -38,18 +37,23 @@ is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. %prep %setup -q -n dulwich-%{version} -rm docs/tutorial/.gitignore %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build +python setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +python setup.py test + %files %defattr(-,root,root,-) -%doc AUTHORS COPYING HACKING NEWS README docs -%{_bindir}/* -%python_sitearch/* +%doc AUTHORS COPYING HACKING NEWS README build/sphinx/html +%{_bindir}/dul-daemon +%{_bindir}/dul-web +%{_bindir}/dulwich +%{python_sitearch}/* %changelog