commit python-Trolly for openSUSE:Factory
Hello community, here is the log from the commit of package python-Trolly for openSUSE:Factory checked in at 2017-09-04 12:31:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Trolly (Old) and /work/SRC/openSUSE:Factory/.python-Trolly.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Trolly" Mon Sep 4 12:31:46 2017 rev:6 rq:519857 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Trolly/python-Trolly.changes 2015-05-18 22:35:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-Trolly.new/python-Trolly.changes 2017-09-04 12:31:47.929675923 +0200 @@ -1,0 +2,11 @@ +Thu Aug 31 07:07:44 UTC 2017 - toddrme2178@gmail.com + +- update to version 0.2.2 + * No upstream changelog + +------------------------------------------------------------------- +Thu Aug 24 13:56:23 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -24,0 +36 @@ + Old: ---- Trolly-0.2.1.zip New: ---- Trolly-0.2.2.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Trolly.spec ++++++ --- /var/tmp/diff_new_pack.W1GYU8/_old 2017-09-04 12:31:48.801553337 +0200 +++ /var/tmp/diff_new_pack.W1GYU8/_new 2017-09-04 12:31:48.805552774 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Trolly # -# 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 @@ -16,26 +16,27 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-Trolly -Version: 0.2.1 +Version: 0.2.2 Release: 0 Summary: Trello api License: MIT Group: Development/Languages/Python Url: https://github.com/plish/Trolly -Source: http://pypi.python.org/packages/source/T/Trolly/Trolly-%{version}.zip -BuildRequires: python-devel +Source: https://files.pythonhosted.org/packages/source/T/Trolly/Trolly-%{version}.zip +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros BuildRequires: unzip -## Test requirements: -#BuildRequires: python-nose -#BuildRequires: python-httplib2 +%if %{with test} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module httplib2} +%endif Requires: python-httplib2 -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 A Python wrapper around the Trello API. Provides a group of Python classes to represent Trello Objects. None of the @@ -48,15 +49,17 @@ %setup -q -n Trolly-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -#%%check -#nosetests +%if %{with test} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/*
participants (1)
-
root@hilbert.suse.de