Hello community, here is the log from the commit of package python3-setuptools-git for openSUSE:Factory checked in at 2015-01-06 09:06:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-setuptools-git (Old) and /work/SRC/openSUSE:Factory/.python3-setuptools-git.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-setuptools-git" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-setuptools-git/python3-setuptools-git.changes 2013-06-21 19:09:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-setuptools-git.new/python3-setuptools-git.changes 2015-01-06 09:06:56.000000000 +0100 @@ -1,0 +2,27 @@ +Sun Jan 4 14:59:03 UTC 2015 - p.drou...@gmail.com + +- Get rid of old stuff when python3 packages were links to py2 + packages + + Remove custom macros + + Remove pre_checkin.sh +- Do not build require entire python3 package +- Remove direct dependency on python3; let RPM handles it +- Use python3-setuptools instead of distribute + +------------------------------------------------------------------- +Wed Dec 3 03:24:46 UTC 2014 - a...@gmx.de + +- specfile: updated copyright year + +- update to version 1.1: + * Using README.txt as the long description. + * Added github as url in the metadata. + * Restructured text syntax fixes + * Renamed README from .txt to .rst + * Restructured text syntax fixes + * pos in setup.py + * fix ImportError on Python 2.4 + * Improve Python 2.4 compatibility + * also catch OSErrors + +------------------------------------------------------------------- Old: ---- pre_checkin.sh setuptools-git-1.0b1.tar.gz New: ---- setuptools-git-1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-setuptools-git.spec ++++++ --- /var/tmp/diff_new_pack.MZXaHZ/_old 2015-01-06 09:06:57.000000000 +0100 +++ /var/tmp/diff_new_pack.MZXaHZ/_new 2015-01-06 09:06:57.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-setuptools-git +# spec file for package python3-setuptools-git # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,41 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define mod_name setuptools-git -%define build_for_python3 1 Name: python3-setuptools-git -Version: 1.0b1 +Version: 1.1 Release: 0 Summary: Setuptools revision control system plugin for Git License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/wichert/setuptools-git Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz -%if %{build_for_python3} -BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-distribute -Requires: python3 -BuildArch: noarch -%else -BuildRequires: python-devel -BuildRequires: python-distribute -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +BuildRequires: python3-setuptools BuildArch: noarch -%endif -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if %{build_for_python3} -%define local_python python3 -%define local_sitelib %{python3_sitelib} -%else -%define local_python python -%define local_sitelib %{python_sitelib} -%endif %description This is a plugin for setuptools that enables git integration. Once @@ -65,13 +44,13 @@ %setup -q -n setuptools-git-%{version} %build -%{local_python} setup.py build +python3 setup.py build %install -%{local_python} setup.py install --prefix=%{_prefix} --root=%{buildroot} +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%{local_sitelib}/* +%{python3_sitelib}/* %changelog ++++++ setuptools-git-1.0b1.tar.gz -> setuptools-git-1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/PKG-INFO new/setuptools-git-1.1/PKG-INFO --- old/setuptools-git-1.0b1/PKG-INFO 2013-01-11 16:12:43.000000000 +0100 +++ new/setuptools-git-1.1/PKG-INFO 2014-08-16 11:08:11.000000000 +0200 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: setuptools-git -Version: 1.0b1 +Version: 1.1 Summary: Setuptools revision control system plugin for Git Home-page: https://github.com/wichert/setuptools-git -Author: Yannick Gingras -Author-email: yging...@ygingras.net +Author: Wichert Akkerman +Author-email: wich...@wiggy.net License: BSD Description: About ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/setup.py new/setuptools-git-1.1/setup.py --- old/setuptools-git-1.0b1/setup.py 2013-01-11 16:11:10.000000000 +0100 +++ new/setuptools-git-1.1/setup.py 2014-08-16 11:07:07.000000000 +0200 @@ -1,12 +1,12 @@ from setuptools import setup, find_packages -version = '1.0b1' +version = '1.1' setup( name="setuptools-git", version=version, - mainainer='Wichert Akkerman', - mainainer_email='wich...@wiggy.net', + maintainer='Wichert Akkerman', + maintainer_email='wich...@wiggy.net', author="Yannick Gingras", author_email="yging...@ygingras.net", url="https://github.com/wichert/setuptools-git", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/setuptools_git/__init__.py new/setuptools-git-1.1/setuptools_git/__init__.py --- old/setuptools-git-1.0b1/setuptools_git/__init__.py 2013-01-11 16:10:17.000000000 +0100 +++ new/setuptools-git-1.1/setuptools_git/__init__.py 2014-08-16 11:06:54.000000000 +0200 @@ -6,7 +6,6 @@ import posixpath from os.path import realpath, join -from subprocess import CalledProcessError from subprocess import PIPE from setuptools_git.utils import check_output @@ -16,6 +15,7 @@ from setuptools_git.utils import hfs_quote from setuptools_git.utils import compose from setuptools_git.utils import decompose +from setuptools_git.utils import CalledProcessError def ntfsdecode(path): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/setuptools_git/tests.py new/setuptools-git-1.1/setuptools_git/tests.py --- old/setuptools-git-1.0b1/setuptools_git/tests.py 2013-01-11 16:10:17.000000000 +0100 +++ new/setuptools-git-1.1/setuptools_git/tests.py 2014-08-16 11:06:54.000000000 +0200 @@ -177,7 +177,7 @@ def test_git_error(self): import setuptools_git - from subprocess import CalledProcessError + from setuptools_git.utils import CalledProcessError def do_raise(*args, **kw): raise CalledProcessError(1, 'git') @@ -318,7 +318,7 @@ def test_git_error(self): import setuptools_git - from subprocess import CalledProcessError + from setuptools_git.utils import CalledProcessError def do_raise(*args, **kw): raise CalledProcessError(1, 'git') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/setuptools_git/utils.py new/setuptools-git-1.1/setuptools_git/utils.py --- old/setuptools-git-1.0b1/setuptools_git/utils.py 2013-01-11 16:10:17.000000000 +0100 +++ new/setuptools-git-1.1/setuptools_git/utils.py 2014-08-16 11:06:54.000000000 +0200 @@ -16,12 +16,32 @@ try: + from subprocess import CalledProcessError +except ImportError: + # BBB for Python < 2.5 + class CalledProcessError(Exception): + """ + This exception is raised when a process run by check_call() or + check_output() returns a non-zero exit status. + + The exit status will be stored in the returncode attribute; + check_output() will also store the output in the output attribute. + """ + def __init__(self, returncode, cmd, output=None): + self.returncode = returncode + self.cmd = cmd + self.output = output + + def __str__(self): + return "Command '%s' returned non-zero exit status %d" % (self.cmd, self.returncode) + + +try: from subprocess import check_call except ImportError: # BBB for Python < 2.5 def check_call(*popenargs, **kwargs): from subprocess import call - from subprocess import CalledProcessError retcode = call(*popenargs, **kwargs) cmd = kwargs.get("args") if cmd is None: @@ -38,7 +58,6 @@ def check_output(*popenargs, **kwargs): from subprocess import PIPE from subprocess import Popen - from subprocess import CalledProcessError if 'stdout' in kwargs: raise ValueError( 'stdout argument not allowed, it will be overridden.') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-1.0b1/setuptools_git.egg-info/PKG-INFO new/setuptools-git-1.1/setuptools_git.egg-info/PKG-INFO --- old/setuptools-git-1.0b1/setuptools_git.egg-info/PKG-INFO 2013-01-11 16:12:43.000000000 +0100 +++ new/setuptools-git-1.1/setuptools_git.egg-info/PKG-INFO 2014-08-16 11:08:10.000000000 +0200 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: setuptools-git -Version: 1.0b1 +Version: 1.1 Summary: Setuptools revision control system plugin for Git Home-page: https://github.com/wichert/setuptools-git -Author: Yannick Gingras -Author-email: yging...@ygingras.net +Author: Wichert Akkerman +Author-email: wich...@wiggy.net License: BSD Description: About ----- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org