Hello community, here is the log from the commit of package python3-setproctitle for openSUSE:Factory checked in at 2015-08-01 11:35:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-setproctitle (Old) and /work/SRC/openSUSE:Factory/.python3-setproctitle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-setproctitle" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-setproctitle/python3-setproctitle.changes 2015-01-08 23:02:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-setproctitle.new/python3-setproctitle.changes 2015-08-01 11:35:08.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Jul 21 03:33:24 UTC 2015 - a...@gmx.de + +- update to version 1.1.9: + * Fixed build on VC (issues #20, #33). + * Added "MANIFEST.in" to the source distribution to help with RPM + building (issue #30). + +------------------------------------------------------------------- Old: ---- setproctitle-1.1.8.tar.gz New: ---- setproctitle-1.1.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-setproctitle.spec ++++++ --- /var/tmp/diff_new_pack.YWl4f4/_old 2015-08-01 11:35:09.000000000 +0200 +++ /var/tmp/diff_new_pack.YWl4f4/_new 2015-08-01 11:35:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-setproctitle # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python3-setproctitle -Version: 1.1.8 +Version: 1.1.9 Release: 0 Summary: Python module to allow customization of the process title License: BSD-3-Clause ++++++ setproctitle-1.1.8.tar.gz -> setproctitle-1.1.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/COPYRIGHT new/setproctitle-1.1.9/COPYRIGHT --- old/setproctitle-1.1.8/COPYRIGHT 2012-02-07 22:44:32.000000000 +0100 +++ new/setproctitle-1.1.9/COPYRIGHT 2015-07-20 00:44:29.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2009-2012, Daniele Varrazzo <daniele.varra...@gmail.com> +Copyright (c) 2009-2015, Daniele Varrazzo <daniele.varra...@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/HISTORY.rst new/setproctitle-1.1.9/HISTORY.rst --- old/setproctitle-1.1.8/HISTORY.rst 2013-10-23 23:35:03.000000000 +0200 +++ new/setproctitle-1.1.9/HISTORY.rst 2015-07-20 00:44:29.000000000 +0200 @@ -1,6 +1,14 @@ Releases history ---------------- +Version 1.1.9 +~~~~~~~~~~~~~ + +- Fixed build on VC (issues #20, #33). +- Added ``MANIFEST.in`` to the source distribution to help with RPM building + (issue #30). + + Version 1.1.8 ~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/MANIFEST new/setproctitle-1.1.9/MANIFEST --- old/setproctitle-1.1.8/MANIFEST 1970-01-01 01:00:00.000000000 +0100 +++ new/setproctitle-1.1.9/MANIFEST 2015-07-20 01:21:01.000000000 +0200 @@ -0,0 +1,21 @@ +# file GENERATED by distutils, do NOT edit +COPYRIGHT +HISTORY.rst +MANIFEST +MANIFEST.in +Makefile +README.rst +setup.py +src/c.h +src/setproctitle.c +src/spt.h +src/spt_config.h +src/spt_debug.c +src/spt_python.h +src/spt_setup.c +src/spt_setup.h +src/spt_status.c +src/spt_status.h +src/spt_strlcpy.c +tests/pyrun.c +tests/setproctitle_test.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/MANIFEST.in new/setproctitle-1.1.9/MANIFEST.in --- old/setproctitle-1.1.8/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 +++ new/setproctitle-1.1.9/MANIFEST.in 2014-09-01 08:16:46.000000000 +0200 @@ -0,0 +1,10 @@ +include HISTORY.rst +include README.rst +include COPYRIGHT +include MANIFEST.in +include MANIFEST +include Makefile +include src/*.c +include src/*.h +include tests/*.py +include tests/*.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/Makefile new/setproctitle-1.1.9/Makefile --- old/setproctitle-1.1.8/Makefile 2012-02-07 22:44:32.000000000 +0100 +++ new/setproctitle-1.1.9/Makefile 2015-07-20 00:44:29.000000000 +0200 @@ -1,6 +1,6 @@ # Oh, makefile, help me with the python3 craze :D # -# Copyright (c) 2010-2012 Daniele Varrazzo <daniele.varra...@gmail.com> +# Copyright (c) 2010-2015 Daniele Varrazzo <daniele.varra...@gmail.com> MKDIR = mkdir -p RM = rm -f diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/PKG-INFO new/setproctitle-1.1.9/PKG-INFO --- old/setproctitle-1.1.8/PKG-INFO 2013-10-23 23:53:32.000000000 +0200 +++ new/setproctitle-1.1.9/PKG-INFO 2015-07-20 01:21:01.000000000 +0200 @@ -1,19 +1,19 @@ Metadata-Version: 1.1 Name: setproctitle -Version: 1.1.8 -Summary: A library to allow customization of the process title. -Home-page: http://code.google.com/p/py-setproctitle/ +Version: 1.1.9 +Summary: A Python module to customize the process title +Home-page: https://github.com/dvarrazzo/py-setproctitle Author: Daniele Varrazzo Author-email: daniele.varra...@gmail.com License: BSD Download-URL: http://pypi.python.org/pypi/setproctitle/ -Description: A ``setproctitle`` implementation for Python - ============================================ +Description: A Python module to customize the process title + ============================================== :author: Daniele Varrazzo - The library allows a process to change its title (as displayed by system tools - such as ``ps`` and ``top``). + The ``setproctitle`` module allows a process to change its title (as displayed + by system tools such as ``ps`` and ``top``). Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to @@ -24,10 +24,9 @@ a good `multi-platform implementation`__: this module is a Python wrapper around PostgreSQL code. - - `Homepage <http://code.google.com/p/py-setproctitle/>`__ + - `Homepage <https://github.com/dvarrazzo/py-setproctitle>`__ - `Download <http://pypi.python.org/pypi/setproctitle/>`__ - - `Source repository <https://github.com/dvarrazzo/py-setproctitle>`__ - - `Bug tracker <http://code.google.com/p/py-setproctitle/issues/list>`__ + - `Bug tracker <https://github.com/dvarrazzo/py-setproctitle/issues>`__ .. _PostgreSQL: http://www.postgresql.org @@ -38,30 +37,30 @@ Installation ------------ - You can use ``easy_install`` to install the module: to perform a system-wide - installation use:: + ``setproctitle`` is a C extension: in order to build it you will need a C + compiler and the Python development support (the ``python-dev`` package in + most Linux distributions). No further external dependencies are required. - sudo easy_install setproctitle + You can use ``pip`` to install the module:: - If you are an unprivileged user or you want to limit installation to a local - environment, you can use the command:: + pip install setproctitle - easy_install -d /target/path setproctitle + You can use ``pip -t`` or ``virtualenv`` for local installations, ``sudo pip`` + for a system-wide one... the usual stuff. Read pip_ or virtualenv_ docs for + all the details. - Note that ``easy_install`` requires ``/target/path`` to be in your - ``PYTHONPATH``. + .. _pip: https://pip.readthedocs.org/ + .. _virtualenv: https://virtualenv.readthedocs.org/ Python 3 support ~~~~~~~~~~~~~~~~ - As of version 1.1 the module works with Python 3. In order to install the - module, you can use the `distribute`_ replacemente for ``easy_install``. + As of version 1.1 the module works with Python 3. Just use + ``pip``/``virtualenv`` for Python 3. - In order to build and test the module under Python 3, the ``Makefile`` - contains some helper targets. - - .. _distribute: http://pypi.python.org/pypi/distribute + In order to build from the source package and test the module under Python 3, + the ``Makefile`` contains some helper targets. Usage @@ -126,7 +125,7 @@ Other known implementations and discussions ------------------------------------------- - - `procname`_: a module exposing the same functionality, but less portable + - `procname`_: a module exposing the same functionality, but less portable and not well packaged. - `Issue 5672`_: where the introduction of such functionality into the stdlib is being discussed. @@ -134,13 +133,16 @@ .. _procname: http://code.google.com/p/procname/ .. _Issue 5672: http://bugs.python.org/issue5672 + Releases history + ---------------- - .. - vim: set filetype=rst: + Version 1.1.9 + ~~~~~~~~~~~~~ + - Fixed build on VC (issues #20, #33). + - Added ``MANIFEST.in`` to the source distribution to help with RPM building + (issue #30). - Releases history - ---------------- Version 1.1.8 ~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/README.rst new/setproctitle-1.1.9/README.rst --- old/setproctitle-1.1.8/README.rst 2012-02-08 23:31:00.000000000 +0100 +++ new/setproctitle-1.1.9/README.rst 2015-07-20 00:44:29.000000000 +0200 @@ -1,10 +1,10 @@ -A ``setproctitle`` implementation for Python -============================================ +A Python module to customize the process title +============================================== :author: Daniele Varrazzo -The library allows a process to change its title (as displayed by system tools -such as ``ps`` and ``top``). +The ``setproctitle`` module allows a process to change its title (as displayed +by system tools such as ``ps`` and ``top``). Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to @@ -15,10 +15,9 @@ a good `multi-platform implementation`__: this module is a Python wrapper around PostgreSQL code. -- `Homepage <http://code.google.com/p/py-setproctitle/>`__ +- `Homepage <https://github.com/dvarrazzo/py-setproctitle>`__ - `Download <http://pypi.python.org/pypi/setproctitle/>`__ -- `Source repository <https://github.com/dvarrazzo/py-setproctitle>`__ -- `Bug tracker <http://code.google.com/p/py-setproctitle/issues/list>`__ +- `Bug tracker <https://github.com/dvarrazzo/py-setproctitle/issues>`__ .. _PostgreSQL: http://www.postgresql.org @@ -29,30 +28,30 @@ Installation ------------ -You can use ``easy_install`` to install the module: to perform a system-wide -installation use:: +``setproctitle`` is a C extension: in order to build it you will need a C +compiler and the Python development support (the ``python-dev`` package in +most Linux distributions). No further external dependencies are required. - sudo easy_install setproctitle +You can use ``pip`` to install the module:: -If you are an unprivileged user or you want to limit installation to a local -environment, you can use the command:: + pip install setproctitle - easy_install -d /target/path setproctitle +You can use ``pip -t`` or ``virtualenv`` for local installations, ``sudo pip`` +for a system-wide one... the usual stuff. Read pip_ or virtualenv_ docs for +all the details. -Note that ``easy_install`` requires ``/target/path`` to be in your -``PYTHONPATH``. +.. _pip: https://pip.readthedocs.org/ +.. _virtualenv: https://virtualenv.readthedocs.org/ Python 3 support ~~~~~~~~~~~~~~~~ -As of version 1.1 the module works with Python 3. In order to install the -module, you can use the `distribute`_ replacemente for ``easy_install``. +As of version 1.1 the module works with Python 3. Just use +``pip``/``virtualenv`` for Python 3. -In order to build and test the module under Python 3, the ``Makefile`` -contains some helper targets. - -.. _distribute: http://pypi.python.org/pypi/distribute +In order to build from the source package and test the module under Python 3, +the ``Makefile`` contains some helper targets. Usage @@ -117,15 +116,10 @@ Other known implementations and discussions ------------------------------------------- -- `procname`_: a module exposing the same functionality, but less portable +- `procname`_: a module exposing the same functionality, but less portable and not well packaged. - `Issue 5672`_: where the introduction of such functionality into the stdlib is being discussed. .. _procname: http://code.google.com/p/procname/ .. _Issue 5672: http://bugs.python.org/issue5672 - - -.. - vim: set filetype=rst: - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/setup.py new/setproctitle-1.1.9/setup.py --- old/setproctitle-1.1.8/setup.py 2013-10-23 23:43:51.000000000 +0200 +++ new/setproctitle-1.1.9/setup.py 2015-07-20 00:46:05.000000000 +0200 @@ -2,10 +2,10 @@ """ setproctitle setup script. -Copyright (c) 2009-2013 Daniele Varrazzo <daniele.varra...@gmail.com> +Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> """ -VERSION = '1.1.8' +VERSION = '1.1.9' import os import re @@ -40,7 +40,7 @@ else: define_macros['HAVE_PS_STRING'] = 1 -# NOTE: the library may work on HP-UX using pstat +# NOTE: the module may work on HP-UX using pstat # thus setting define_macros['HAVE_SYS_PSTAT_H'] # see http://www.noc.utoronto.ca/~mikep/unix/HPTRICKS # But I have none handy to test with. @@ -74,11 +74,11 @@ setup( name = 'setproctitle', - description = 'A library to allow customization of the process title.', + description = 'A Python module to customize the process title', version = VERSION, author = 'Daniele Varrazzo', author_email = 'daniele.varra...@gmail.com', - url = 'http://code.google.com/p/py-setproctitle/', + url = 'https://github.com/dvarrazzo/py-setproctitle', download_url = 'http://pypi.python.org/pypi/setproctitle/', license = 'BSD', platforms = ['GNU/Linux', 'BSD', 'MacOS X', 'Windows'], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/c.h new/setproctitle-1.1.9/src/c.h --- old/setproctitle-1.1.8/src/c.h 2013-10-23 23:35:03.000000000 +0200 +++ new/setproctitle-1.1.9/src/c.h 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * c.h * A few fundamental C definitions. * - * Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> *------------------------------------------------------------------------- */ @@ -32,6 +32,13 @@ /* Let's use our version of strlcpy to avoid portability problems */ size_t spt_strlcpy(char *dst, const char *src, size_t siz); +/* VC defines _WIN32, not WIN32 */ +#ifdef _WIN32 +#ifndef WIN32 +#define WIN32 _WIN32 +#endif +#endif + #ifdef WIN32 #include <Windows.h> #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/setproctitle.c new/setproctitle-1.1.9/src/setproctitle.c --- old/setproctitle-1.1.8/src/setproctitle.c 2012-03-10 02:23:50.000000000 +0100 +++ new/setproctitle-1.1.9/src/setproctitle.c 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * setproctitle.c * Python extension module to update and read the process title. * - * Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * * The module allows Python code to access the functions get_ps_display() * and set_ps_display(). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt.h new/setproctitle-1.1.9/src/spt.h --- old/setproctitle-1.1.8/src/spt.h 2012-02-07 22:44:32.000000000 +0100 +++ new/setproctitle-1.1.9/src/spt.h 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * spt.h * Definitions useful throughout all the extension. * - * Copyright (c) 2010-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2010-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * *------------------------------------------------------------------------- */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt_debug.c new/setproctitle-1.1.9/src/spt_debug.c --- old/setproctitle-1.1.8/src/spt_debug.c 2012-03-11 11:03:23.000000000 +0100 +++ new/setproctitle-1.1.9/src/spt_debug.c 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * spt_python.c * A simple function for the module debugging. * - * Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * * Debug logging is enabled if the environment variable SPT_DEBUG is set to a * non-empty value at runtime. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt_python.h new/setproctitle-1.1.9/src/spt_python.h --- old/setproctitle-1.1.8/src/spt_python.h 2013-03-26 10:26:07.000000000 +0100 +++ new/setproctitle-1.1.9/src/spt_python.h 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * spt_python.h * Include and customize Python definitions. * - * Copyright (c) 2010-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2010-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * *------------------------------------------------------------------------- */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt_setup.c new/setproctitle-1.1.9/src/spt_setup.c --- old/setproctitle-1.1.8/src/spt_setup.c 2013-02-20 00:34:08.000000000 +0100 +++ new/setproctitle-1.1.9/src/spt_setup.c 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * spt_setup.c * Initalization code for the spt_status.c module functions. * - * Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * *------------------------------------------------------------------------- */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt_setup.h new/setproctitle-1.1.9/src/spt_setup.h --- old/setproctitle-1.1.8/src/spt_setup.h 2012-03-10 02:23:50.000000000 +0100 +++ new/setproctitle-1.1.9/src/spt_setup.h 2015-07-20 00:44:29.000000000 +0200 @@ -3,7 +3,7 @@ * spt_setup.h * Initalization code for the spt_status.c module functions. * - * Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * *------------------------------------------------------------------------- */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/src/spt_status.c new/setproctitle-1.1.9/src/spt_status.c --- old/setproctitle-1.1.8/src/spt_status.c 2013-10-23 23:35:03.000000000 +0200 +++ new/setproctitle-1.1.9/src/spt_status.c 2015-07-20 00:44:29.000000000 +0200 @@ -5,7 +5,7 @@ * Mechanism differs wildly across platforms. * * Copyright (c) 2000-2009, PostgreSQL Global Development Group - * Copyright (C) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * various details abducted from various places * * This file was taken from PostgreSQL. The PostgreSQL copyright terms follow. @@ -40,7 +40,12 @@ #include "spt_config.h" +/* note: VC doesn't have this, but it was working on mingw instead + * so check on _WIN32 (defined by VC) instead of WIN32 */ +#ifndef _WIN32 #include <unistd.h> +#endif + #ifdef HAVE_SYS_PSTAT_H #include <sys/pstat.h> /* for HP-UX */ #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/tests/pyrun.c new/setproctitle-1.1.9/tests/pyrun.c --- old/setproctitle-1.1.8/tests/pyrun.c 2012-02-07 22:44:32.000000000 +0100 +++ new/setproctitle-1.1.9/tests/pyrun.c 2015-07-20 00:44:29.000000000 +0200 @@ -5,7 +5,7 @@ * * Run a Python program read from stdin. In case of error return 1. * - * Copyright (c) 2011-2012 Daniele Varrazzo <daniele.varra...@gmail.com> + * Copyright (c) 2011-2015 Daniele Varrazzo <daniele.varra...@gmail.com> * *------------------------------------------------------------------------- */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setproctitle-1.1.8/tests/setproctitle_test.py new/setproctitle-1.1.9/tests/setproctitle_test.py --- old/setproctitle-1.1.8/tests/setproctitle_test.py 2013-02-20 00:34:08.000000000 +0100 +++ new/setproctitle-1.1.9/tests/setproctitle_test.py 2015-07-20 00:44:29.000000000 +0200 @@ -2,7 +2,7 @@ Use nosetests to run this test suite. -Copyright (c) 2009-2012 Daniele Varrazzo <daniele.varra...@gmail.com> +Copyright (c) 2009-2015 Daniele Varrazzo <daniele.varra...@gmail.com> """ import os