Hello community,

here is the log from the commit of package python-irclib for openSUSE:Factory 
checked in at 2016-08-10 19:55:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-irclib (Old)
 and      /work/SRC/openSUSE:Factory/.python-irclib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-irclib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-irclib/python-irclib.changes      
2013-03-08 09:43:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-irclib.new/python-irclib.changes 
2016-08-10 19:55:34.000000000 +0200
@@ -1,0 +2,17 @@
+Sun Jul 31 15:01:43 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 0.6.4 (changes since 0.4.8):
+  * Minimum Python requirement is now Python 2.6.
+  * Add support for periodic commands in irclib (.execute_every).
+  * Fix the global event handler priority bug.
+  * Remove incorrect usage of Connection.execute_delayed.
+    Add Connection.execute_every.
+  * Use new-style classes.
+  * Fix incorrect usage of Connection.execute_delayed (again).
+  * Fix failing test where DelayedCommands weren't being sorted
+    properly. DelayedCommand a now subclass of the DateTime object,
+    where the command's due time is the datetime.
+- Update upstream links.
+- Add python-irclib-no-paver.patch: remove paver requirement.
+
+-------------------------------------------------------------------
@@ -10 +26,0 @@
-

Old:
----
  python-irclib-0.4.8.tar.gz

New:
----
  irc-0.6.4.tar.gz
  python-irclib-no-paver.patch

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

Other differences:
------------------
++++++ python-irclib.spec ++++++
--- /var/tmp/diff_new_pack.SSyXU7/_old  2016-08-10 19:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.SSyXU7/_new  2016-08-10 19:55:35.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-irclib
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,19 +16,22 @@
 #
 
 
-
 Name:           python-irclib
-Version:        0.4.8
-Release:        1
-License:        LGPL-2.1+
+Version:        0.6.4
+Release:        0
 Summary:        A set of Python modules for IRC support
-Url:            http://python-irclib.sourceforge.net
+License:        LGPL-2.1+
 Group:          Development/Libraries/Python
-Source:         
http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} > 1110
+Url:            https://github.com/jaraco/irc
+Source:         
https://github.com/jaraco/irc/archive/%{version}.tar.gz#/irc-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE python-irclib-no-paver.patch sor.ale...@meowr.ru -- 
Remove paver requirement.
+Patch0:         %{name}-no-paver.patch
+BuildRequires:  python
+%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
+%else
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%py_requires
 %endif
 
 %description
@@ -38,20 +41,22 @@
 connections.
 
 %prep
-%setup -q
-sed -i 's/\r//g' *
+%setup -q -n irc-%{version}
+%patch0 -p1
 
 %build
-python setup.py build
+python2 pavement.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
-
-%clean
-rm -rf %{buildroot}
+python2 pavement.py install \
+  --root=%{buildroot} --prefix=%{_prefix}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
-%doc COPYING ChangeLog README dccreceive dccsend irccat irccat2 servermap 
testbot.py
+%doc ChangeLog CHANGES COPYING README
+%doc scripts/
+%{python_sitelib}/irclib.py*
+%{python_sitelib}/ircbot.py*
+%{python_sitelib}/python_irclib-*
 
 %changelog

++++++ python-irclib-no-paver.patch ++++++
--- a/pavement.py
+++ b/pavement.py
@@ -1,15 +1,14 @@
 import os
 import platform
 
-import paver.easy
-import paver.setuputils
+from distutils.core import setup
 
 def read_long_description():
     with open('README') as f:
         data = f.read()
     return data
 
-paver.setuputils.setup(
+setup(
     name="python-irclib",
     description="IRC (Internet Relay Chat) protocol client library for Python",
     long_description=read_long_description(),
@@ -27,27 +26,4 @@ paver.setuputils.setup(
         "Programming Language :: Python :: 2.6",
         "Programming Language :: Python :: 2.7",
     ],
-    setup_requires=[
-        'hgtools',
-    ],
 )
-
-@paver.easy.task
-def upload_project_web():
-    """
-    Generate the project web page at sourceforge using the reStructuredText
-    README.
-    """
-    import docutils.core
-    docutils.core.publish_file(source_path='README',
-        destination_path='readme.html', writer_name='html')
-    cmd = 'pscp' if platform.system() == 'Windows' else 'scp'
-    paver.easy.sh('{cmd} readme.html web.sourceforge.net:'
-        '/home/project-web/python-irclib/htdocs/index.html'
-        .format(cmd=cmd))
-    os.remove('readme.html')
-
-@paver.easy.task
-@paver.easy.needs('generate_setup', 'minilib', 'distutils.command.sdist')
-def sdist():
-    "Override sdist to make sure the setup.py gets generated"

Reply via email to