Hello community,

here is the log from the commit of package python-entrypoints for 
openSUSE:Factory checked in at 2017-04-14 13:34:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-entrypoints (Old)
 and      /work/SRC/openSUSE:Factory/.python-entrypoints.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-entrypoints"

Fri Apr 14 13:34:34 2017 rev:1 rq:483942 version:0.2.2

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-entrypoints.new/python-entrypoints.changes   
    2017-04-14 13:34:38.481506116 +0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Sun Jul 10 17:21:54 UTC 2016 - a...@gmx.de
+
+- update to version 0.2.2:
+  * Import configparser from backports on Python 2
+
+-------------------------------------------------------------------
+Tue May 17 19:45:05 UTC 2016 - toddrme2...@gmail.com
+
+- Initial version
+

New:
----
  0.2.2.tar.gz
  python-entrypoints.changes
  python-entrypoints.spec

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

Other differences:
------------------
++++++ python-entrypoints.spec ++++++
#
# spec file for package python-entrypoints
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-entrypoints
Version:        0.2.2
Release:        0
Summary:        Discover and load entry points from installed packages
License:        MIT
Group:          Development/Languages/Python
Url:            https://github.com/takluyver/entrypoints
Source0:        
https://github.com/takluyver/entrypoints/archive/%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module pytest}
%ifpython2
BuildRequires:  python-configparser
Requires:       python-configparser
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%python_subpackages

%description
Entry points are a way for Python packages to advertise objects with
some common interface. The most common examples are console_scripts
entry points, which define shell commands by identifying a Python
function to run.

Groups of entry points, such as console_scripts, point to objects with
similar interfaces. An application might use a group to find its
plugins, or multiple groups if it has different kinds of plugins.

%prep
%setup0 -q -n entrypoints-%{version}

%build
# We don't do anything here

%install
%{python_expand mkdir -p %{buildroot}%{$python_sitelib}
cp -r entrypoints.py %{buildroot}%{$python_sitelib}
}

%if %have_python2
%py_compile %{buildroot}%{python2_sitelib}
%endif

%if %have_python3
%py3_compile %{buildroot}%{python3_sitelib}
%endif

%check
pushd tests
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} 
$python test_entrypoints.py
}
popd

%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitelib}/*

%changelog

Reply via email to