Hello community, here is the log from the commit of package python-hgtools for openSUSE:Factory checked in at 2017-07-21 22:37:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hgtools (Old) and /work/SRC/openSUSE:Factory/.python-hgtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hgtools" Fri Jul 21 22:37:48 2017 rev:8 rq:511029 version:6.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hgtools/python-hgtools.changes 2015-04-25 16:46:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-hgtools.new/python-hgtools.changes 2017-07-21 22:37:52.198309844 +0200 @@ -1,0 +2,16 @@ +Mon Jul 17 16:52:34 UTC 2017 - [email protected] + +- Really implement single-spec version. + +------------------------------------------------------------------- +Mon Jul 10 15:06:01 UTC 2017 - [email protected] + +- Implement single-spec version +- Fix source and homepage URLs. +- Update to version 6.5 + * Issue #31: Add support for Git-backed Mercurial repositories with + bookmarks on the tip. +- Update to version 6.4 + * Moved hosting to Github. + +------------------------------------------------------------------- Old: ---- hgtools-6.3.zip New: ---- hgtools-6.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hgtools.spec ++++++ --- /var/tmp/diff_new_pack.PbW87O/_old 2017-07-21 22:37:52.670243271 +0200 +++ /var/tmp/diff_new_pack.PbW87O/_new 2017-07-21 22:37:52.674242706 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-hgtools # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,26 +15,29 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without test +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hgtools -Version: 6.3 +Version: 6.5.2 Release: 0 Summary: Mercurial support for setup tools License: GPL-2.0 Group: Development/Languages/Python -Url: http://pytest.org -Source: http://pypi.python.org/packages/source/h/hgtools/hgtools-%{version}.zip -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: unzip -# for testing -BuildRequires: python-pytest +Url: https://github.com/jaraco/hgtools +Source: https://files.pythonhosted.org/packages/source/h/hgtools/hgtools-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm >= 1.15.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module pytest >= 2.8} +BuildRequires: python2-backports.unittest_mock +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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 BuildArch: noarch -%endif +%python_subpackages %description hgtools builds on the setuptools_hg plugin for setuptools. hgtools @@ -49,17 +52,20 @@ %setup -q -n hgtools-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -python setup.py test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.txt LICENSE +%doc CHANGES.rst README.rst LICENSE %{python_sitelib}/* %changelog
