Hello community,

here is the log from the commit of package python-piston-mini-client for 
openSUSE:Factory checked in at 2017-09-04 12:32:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-piston-mini-client (Old)
 and      /work/SRC/openSUSE:Factory/.python-piston-mini-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-piston-mini-client"

Mon Sep  4 12:32:44 2017 rev:10 rq:519904 version:0.7.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-piston-mini-client/python-piston-mini-client.changes
      2013-10-25 11:26:44.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-piston-mini-client.new/python-piston-mini-client.changes
 2017-09-04 12:32:54.880262598 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:49:24 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -43,0 +49 @@
+

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-piston-mini-client.spec ++++++
--- /var/tmp/diff_new_pack.KgMsHh/_old  2017-09-04 12:32:55.764138324 +0200
+++ /var/tmp/diff_new_pack.KgMsHh/_new  2017-09-04 12:32:55.776136637 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-piston-mini-client
 #
-# Copyright (c) 2013 SUSE LINUX Products 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,24 +16,36 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
+%bcond_with     test
 Name:           python-piston-mini-client
 Version:        0.7.5
 Release:        0
-Url:            https://launchpad.net/piston-mini-client
 Summary:        A small package to consume Django-Piston web services
 License:        LGPL-3.0
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/p/piston-mini-client/piston-mini-client-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Provides:       python-piston-mini = %{version}
-Obsoletes:      python-piston-mini < %{version}
-%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
+Url:            https://launchpad.net/piston-mini-client
+Source:         
https://files.pythonhosted.org/packages/source/p/piston-mini-client/piston-mini-client-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module httplib2}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module oauthlib}
+BuildRequires:  %{python_module pep8}
+BuildRequires:  python3-tox
+%endif
+Requires:       python-oauthlib
+%ifpython2
+Provides:       %{oldpython}-piston-mini = %{version}
+Obsoletes:      %{oldpython}-piston-mini < %{version}
 %endif
+BuildArch:      noarch
+%python_subpackages
 
 %description
 A small generic library for writing clients for Django's Piston REST APIs.
@@ -42,12 +54,17 @@
 %setup -q -n piston-mini-client-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+
+%if %{with test}
+%check
+tox --sitepackages --skip-missing-interpreters
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README
 %{python_sitelib}/*


Reply via email to