Hello community,
here is the log from the commit of package python-PyVirtualDisplay for
openSUSE:Factory checked in at 2017-08-30 16:22:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyVirtualDisplay (Old)
and /work/SRC/openSUSE:Factory/.python-PyVirtualDisplay.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyVirtualDisplay"
Wed Aug 30 16:22:08 2017 rev:11 rq:519209 version:0.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-PyVirtualDisplay/python-PyVirtualDisplay.changes
2015-05-16 19:02:01.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyVirtualDisplay.new/python-PyVirtualDisplay.changes
2017-08-30 16:22:15.457470289 +0200
@@ -1,0 +2,8 @@
+Mon Aug 28 19:33:27 UTC 2017 - [email protected]
+
+- update to version 0.2.1:
+ * no changelog available
+- Implement single-spec version
+- Fix source URL
+
+-------------------------------------------------------------------
Old:
----
PyVirtualDisplay-0.1.5.tar.gz
New:
----
PyVirtualDisplay-0.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyVirtualDisplay.spec ++++++
--- /var/tmp/diff_new_pack.cay7Ol/_old 2017-08-30 16:22:16.333347084 +0200
+++ /var/tmp/diff_new_pack.cay7Ol/_new 2017-08-30 16:22:16.349344834 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-PyVirtualDisplay
#
-# 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,37 +16,57 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
Name: python-PyVirtualDisplay
-Version: 0.1.5
+Version: 0.2.1
Release: 0
Url: https://github.com/ponty/PyVirtualDisplay
Summary: Python wrapper for Xvfb, Xephyr and Xvnc
License: BSD-2-Clause
Group: Development/Languages/Python
-Source:
http://pypi.python.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-Requires: xorg-x11-Xvnc
-%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
+Source:
https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: python3-2to3
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+%if %{with test}
+BuildRequires: %{python_module EasyProcess}
+BuildRequires: %{python_module nose}
%endif
+Requires: python-EasyProcess
+Requires: xorg-x11-Xvfb
+Recommends: xorg-x11-Xvnc
+Suggests: xorg-x11-server-extra
+BuildArch: noarch
+
+%python_subpackages
%description
-pyvirtualdisplay is a python wrapper for Xvfb, Xephyr and Xvnc
+PyVirtualDisplay is a python wrapper for Xvfb, Xephyr and Xvnc
%prep
%setup -q -n PyVirtualDisplay-%{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
+mkdir tester
+pushd tester
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python -B -m nose pyvirtualdisplay
+}
+popd
+%endif
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE.txt
%{python_sitelib}/*
++++++ PyVirtualDisplay-0.1.5.tar.gz -> PyVirtualDisplay-0.2.1.tar.gz ++++++
++++ 2266 lines of diff (skipped)