From a12ce2cbe2c1d29c189294d60f819270c55a06e6fa32c36801248042d48498e6 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 7 May 2015 11:56:55 +0000 Subject: [PATCH] Accepting request 305557 from home:benoit_monin:branches:devel:languages:python - update to version 1.0.1 - update project URL - point the source URL to pypi - set a minimum version for python-gitdb and add it to BuildRequires to validate dependencies at build time. - add python-ordereddict as dependency for SLE11 (python 2.6) - remove outdated py_requires OBS-URL: https://build.opensuse.org/request/show/305557 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=8 --- GitPython-0.3.2.RC1.tar.gz | 3 -- GitPython-1.0.1.tar.gz | 3 ++ python-GitPython.changes | 74 ++++++++++++++++++++++++++++++++++++++ python-GitPython.spec | 14 ++++---- 4 files changed, 85 insertions(+), 9 deletions(-) delete mode 100644 GitPython-0.3.2.RC1.tar.gz create mode 100644 GitPython-1.0.1.tar.gz diff --git a/GitPython-0.3.2.RC1.tar.gz b/GitPython-0.3.2.RC1.tar.gz deleted file mode 100644 index 91b1ddd..0000000 --- a/GitPython-0.3.2.RC1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd6786684a0d0dd7ebb961da754e3312fafe0c8e88f55ceb09858aa0af6094e0 -size 313486 diff --git a/GitPython-1.0.1.tar.gz b/GitPython-1.0.1.tar.gz new file mode 100644 index 0000000..cd785d5 --- /dev/null +++ b/GitPython-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c88c17bbcae2a445ff64024ef13526224f70e35e38c33416be5ceb56ca7f760 +size 355108 diff --git a/python-GitPython.changes b/python-GitPython.changes index 6f7f30c..e5a9d53 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,77 @@ +------------------------------------------------------------------- +Wed May 6 09:41:17 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.0.1: + * A list of all issues can be found on github +- additional changes from version 1.0.0: + * This version is equivalent to v0.3.7, but finally acknowledges + that GitPython is stable and production ready +- additional changes from version 0.3.7: + * IndexFile.add() will now write the index without any extension + data by default + * Renamed ignore_tree_extension_data keyword argument in + IndexFile.write(...) to ignore_extension_data + * If the git command executed during Remote.push(...)|fetch(...) + returns with an non-zero exit code and GitPython didn't obtain + any head-information, the corresponding GitCommandError will be + raised + * If the git executable can't be found in the PATH or at the path + provided by GIT_PYTHON_GIT_EXECUTABLE, this is made obvious by + throwing GitCommandNotFound, both on unix and on windows. + * A list of all issues can be found on github +- additional changes from version 0.3.6: + * special members like __init__ are now listed in the API + documentation + * tutorial section was revised entirely, more advanced examples + were added + * As rev_parse will now throw BadName as well as BadObject, + client code will have to catch both exception types + * Repo.working_tree_dir now returns None if it is bare + * IndexFile.add() previously raised AssertionError when paths + where used with bare repository, now it raises + InvalidGitRepositoryError + * Added Repo.merge_base() implementation. See the respective + issue on github + * [include] sections in git configuration files are now respected + * Added GitConfigParser.rename_section() + * Added Submodule.rename() + * A list of all issues can be found on github +- additional changes from version 0.3.5: + * push/pull/fetch operations will not block anymore + * diff() can now properly detect renames, both in patch and raw + format + * repo.odb.update_cache() is now called automatically after fetch + and pull operations + * Repo(path) will not automatically search upstream anymore and + find any git directory on its way up + * IndexFile.commit() now runs the pre-commit and post-commit hooks + * A list of all issues can be found on github +- additional changes from version 0.3.4: + * Internally, hexadecimal SHA1 are treated as ascii encoded + strings + * Id attribute of Commit objects is now hexsha, instead of binsha + * IMPORTANT: If you were using the config_writer(), you + implicitly relied on __del__ to work as expected to flush + changes. To be sure changes are flushed under PY3, you will + have to call the new release() method to trigger a flush + * The Tree now has a .join('name') method which is equivalent to + tree / 'name' +- additional changes from version 0.3.3: + * When fetching, pulling or pushing, and an error occours, it + will not be reported on stdout anymore + * Code Cleanup (in preparation for python 3 support) +- additional changes from version 0.3.2.1: + * Fix for #207 +- additional changes from version 0.3.2: + * Release of most recent version as non-RC build, just to allow + pip to install the latest version right away. +- update project URL +- point the source URL to pypi +- set a minimum version for python-gitdb and add it to + BuildRequires to validate dependencies at build time. +- add python-ordereddict as dependency for SLE11 (python 2.6) +- remove outdated py_requires + ------------------------------------------------------------------- Thu Sep 26 13:13:58 UTC 2013 - speilicke@suse.com diff --git a/python-GitPython.spec b/python-GitPython.spec index 32c0dfd..7c960f0 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -1,7 +1,7 @@ # # spec file for package python-GitPython # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX 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,21 +17,23 @@ Name: python-GitPython -Version: 0.3.2.RC1 +Version: 1.0.1 Release: 0 -Url: http://gitorious.org/projects/git-python/ +Url: https://github.com/gitpython-developers/GitPython Summary: Python Git Library License: BSD-3-Clause Group: Development/Languages/Python -Source: GitPython-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-gitdb >= 0.6.4 BuildRequires: python-setuptools Requires: git-core -Requires: python-gitdb +Requires: python-gitdb >= 0.6.4 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: python-ordereddict +Requires: python-ordereddict %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%py_requires %else BuildArch: noarch %endif