Hello community,

here is the log from the commit of package python-appdirs for openSUSE:Factory 
checked in at 2018-09-07 15:34:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-appdirs (Old)
 and      /work/SRC/openSUSE:Factory/.python-appdirs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-appdirs"

Fri Sep  7 15:34:25 2018 rev:4 rq:633233 version:1.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-appdirs/python-appdirs.changes    
2017-08-14 12:36:42.375921275 +0200
+++ /work/SRC/openSUSE:Factory/.python-appdirs.new/python-appdirs.changes       
2018-09-07 15:34:29.378860717 +0200
@@ -1,0 +2,20 @@
+Tue Sep  4 15:23:26 UTC 2018 - MatÄ›j Cepl <[email protected]>
+
+- Clean SPEC and remove circular dependency on python-setuptools
+  (Add remove-setuptools-dependency.patch patch to do this)
+
+-------------------------------------------------------------------
+Fri Aug 17 13:47:34 UTC 2018 - [email protected]
+
+- Use setuptools normally
+- Run tests
+
+-------------------------------------------------------------------
+Tue Aug 14 10:13:51 UTC 2018 - [email protected]
+
+- Submission to SUSE:SLE-12-SP3:Update:PubClouds
+    
+  This commit tracks the submission for fate#326575
+  and bsc#1103542
+
+-------------------------------------------------------------------

New:
----
  remove-setuptools-dependency.patch

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

Other differences:
------------------
++++++ python-appdirs.spec ++++++
--- /var/tmp/diff_new_pack.r1W76T/_old  2018-09-07 15:34:30.826859086 +0200
+++ /var/tmp/diff_new_pack.r1W76T/_new  2018-09-07 15:34:30.830859082 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-appdirs
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -23,11 +23,11 @@
 Summary:        A small Python module for determining platform-specific dirs
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://github.com/ActiveState/appdirs
+URL:            http://github.com/ActiveState/appdirs
 Source:         
https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz
+Patch:          remove-setuptools-dependency.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %python_subpackages
 
@@ -51,14 +51,13 @@
 
 %install
 %python_install
-# fix up egg-info because distutils is bad and should feel bad
-%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
-cp -r appdirs.egg-info 
%{buildroot}%{$python_sitelib}/appdirs-%{version}-py%{$python_version}.egg-info
-}
+
+%check
+%python_exec -munittest discover -v
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES.rst LICENSE.txt README.rst
+%license LICENSE.txt
+%doc CHANGES.rst README.rst
 %pycache_only %{python_sitelib}/__pycache__/*
 %{python_sitelib}/appdirs.py*
 %{python_sitelib}/appdirs-%{version}-py%{python_version}.egg-info

++++++ remove-setuptools-dependency.patch ++++++
--- a/setup.py
+++ b/setup.py
@@ -9,10 +9,6 @@ except ImportError:
     from distutils.core import setup
 import appdirs
 
-tests_require = []
-if sys.version_info < (2, 7):
-    tests_require.append("unittest2")
-
 
 def read(fname):
     inf = open(os.path.join(os.path.dirname(__file__), fname))
@@ -45,8 +41,6 @@ setup(
         Programming Language :: Python :: Implementation :: CPython
         Topic :: Software Development :: Libraries :: Python Modules
         """.split('\n') if c.strip()],
-    test_suite='test.test_api',
-    tests_require=tests_require,
     keywords='application directory log cache user',
     author='Trent Mick',
     author_email='[email protected]',

Reply via email to