Hello community, here is the log from the commit of package python-pysmbc for openSUSE:Factory checked in at 2019-07-30 13:05:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pysmbc (Old) and /work/SRC/openSUSE:Factory/.python-pysmbc.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pysmbc" Tue Jul 30 13:05:06 2019 rev:2 rq:717615 version:1.0.16 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pysmbc/python-pysmbc.changes 2017-09-26 21:14:52.918520294 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysmbc.new.4126/python-pysmbc.changes 2019-07-30 13:05:08.174391965 +0200 @@ -1,0 +2,6 @@ +Mon Jul 22 14:55:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 1.0.16: + * no changelog + +------------------------------------------------------------------- Old: ---- pysmbc-1.0.15.8.tar.bz2 New: ---- pysmbc-1.0.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pysmbc.spec ++++++ --- /var/tmp/diff_new_pack.f5QhXs/_old 2019-07-30 13:05:09.202391694 +0200 +++ /var/tmp/diff_new_pack.f5QhXs/_new 2019-07-30 13:05:09.206391693 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pysmbc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,12 +21,12 @@ # Tests don't work in rpmbuild sandbox %bcond_with test Name: python-pysmbc -Version: 1.0.15.8 +Version: 1.0.16 Release: 0 Summary: Python bindings for samba clients (libsmbclient) -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Languages/Python -Url: http://cyberelk.net/tim/software/pysmbc/ +URL: http://cyberelk.net/tim/software/pysmbc/ Source: https://files.pythonhosted.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -45,7 +45,6 @@ Obsoletes: python3-smbc < %{version} Provides: python3-smbc = %{version} %endif - %python_subpackages %description @@ -63,7 +62,7 @@ %python_install %{python_expand chmod a+x %{buildroot}%{$python_sitearch}/smbc/xattr.py -sed -i "s|^#!/usr/bin/python$|#!%__$python|" %{buildroot}%{$python_sitearch}/smbc/xattr.py +sed -i "s|^#!%{_bindir}/python$|#!%__$python|" %{buildroot}%{$python_sitearch}/smbc/xattr.py $python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/smbc/ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitearch}/smbc/ %fdupes %{buildroot}%{$python_sitearch} @@ -78,8 +77,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING NEWS +%license COPYING +%doc NEWS %{python_sitearch}/* %changelog ++++++ pysmbc-1.0.15.8.tar.bz2 -> pysmbc-1.0.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/PKG-INFO new/pysmbc-1.0.16/PKG-INFO --- old/pysmbc-1.0.15.8/PKG-INFO 2017-08-08 17:59:26.000000000 +0200 +++ new/pysmbc-1.0.16/PKG-INFO 2019-04-06 12:05:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pysmbc -Version: 1.0.15.8 +Version: 1.0.16 Summary: Python bindings for libsmbclient Home-page: http://cyberelk.net/tim/software/pysmbc/ Author: ['Tim Waugh <twaugh@redhat.com>', 'Tsukasa Hamano <hamano@osstech.co.jp>', 'Roberto Polli <rpolli@babel.it>'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/README.md new/pysmbc-1.0.16/README.md --- old/pysmbc-1.0.15.8/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/README.md 2019-04-06 12:03:48.000000000 +0200 @@ -0,0 +1,56 @@ +SMB bindings for Python +----------------------- + +[![PyPI](https://img.shields.io/pypi/v/pysmbc.svg)](https://pypi.python.org/pypi/pysmbc/) +[![Build Status](https://travis-ci.org/hamano/pysmbc.svg?branch=master)](https://travis-ci.org/hamano/pysmbc) +[![GitHub license](https://img.shields.io/github/license/hamano/pysmbc.svg)]() + +These Python bindings are intended to wrap the libsmbclient API. + + +Prerequisites +------ + +Currently libsmbclient 3.2.x or later is required. Ubuntu Example: +~~~ +# sudo apt install pkg-config libopencv-dev smbclient libsmbclient libsmbclient-dev +~~~ + +Build +------ +~~~ +# make +~~~ + + +Test +------ + +To run Python tests in tests/ you need python-nose +See nose documentation http://readthedocs.org/docs/nose + +To run all the tests execute + +~~~ +# nosetests +~~~ + +To run just one test, use + +~~~ +# nosetests file.py +~~~ + +To selectively run test methods, printing output to console + +~~~ +# nosetests -vs test_context.py:test_Workgroup +~~~ + +NOTE: to run your tests, you need + + * a running samba server + * one shared folder with + * rw permissions + * guest ok = no + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/pysmbc.egg-info/PKG-INFO new/pysmbc-1.0.16/pysmbc.egg-info/PKG-INFO --- old/pysmbc-1.0.15.8/pysmbc.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/pysmbc.egg-info/PKG-INFO 2019-04-06 12:05:05.000000000 +0200 @@ -0,0 +1,45 @@ +Metadata-Version: 1.1 +Name: pysmbc +Version: 1.0.16 +Summary: Python bindings for libsmbclient +Home-page: http://cyberelk.net/tim/software/pysmbc/ +Author: ['Tim Waugh <twaugh@redhat.com>', 'Tsukasa Hamano <hamano@osstech.co.jp>', 'Roberto Polli <rpolli@babel.it>'] +Author-email: UNKNOWN +License: GPLv2+ +Download-URL: http://cyberelk.net/tim/data/pysmbc/ +Description: This is a set of Python bindings for the libsmbclient library + from the samba project. + + >>> # Directory listing example: + >>> import smbc + >>> ctx = smbc.Context (auth_fn=my_auth_callback_fn) + >>> entries = ctx.opendir ("smb://SERVER").getdents () + >>> for entry in entries: + ... print entry + <smbc.Dirent object "music" (File share) at 0x7fbd7c42b3a0> + <smbc.Dirent object "IPC$" (IPC share) at 0x7fbd7c42b148> + <smbc.Dirent object "Charlie" (Printer share) at 0x7fbd7c42b3c8> + >>> d = ctx.open ("smb://SERVER/music") + + >>> # Write file example: + >>> import smbc + >>> import os + >>> ctx = smbc.Context (auth_fn=my_auth_callback_fn) + >>> file = ctx.open ("smb://SERVER/music/file.txt", os.O_CREAT | os.O_WRONLY) + >>> file.write ("hello") + + >>> # Read file example: + >>> import smbc + >>> ctx = smbc.Context (auth_fn=my_auth_callback_fn) + >>> file = ctx.open ("smb://SERVER/music/file.txt") + >>> print file.read() + hello + + +Platform: UNKNOWN +Classifier: Intended Audience :: Developers +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: License :: OSI Approved :: GNU General Public License (GPL) +Classifier: Development Status :: 5 - Production/Stable +Classifier: Operating System :: Unix +Classifier: Programming Language :: C diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/pysmbc.egg-info/SOURCES.txt new/pysmbc-1.0.16/pysmbc.egg-info/SOURCES.txt --- old/pysmbc-1.0.15.8/pysmbc.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/pysmbc.egg-info/SOURCES.txt 2019-04-06 12:05:05.000000000 +0200 @@ -0,0 +1,29 @@ +COPYING +MANIFEST.in +Makefile +NEWS +README.md +TODO +setup.py +pysmbc.egg-info/PKG-INFO +pysmbc.egg-info/SOURCES.txt +pysmbc.egg-info/dependency_links.txt +pysmbc.egg-info/top_level.txt +smbc/__init__.py +smbc/context.c +smbc/context.h +smbc/dir.c +smbc/dir.h +smbc/file.c +smbc/file.h +smbc/smbcdirent.c +smbc/smbcdirent.h +smbc/smbcmodule.c +smbc/smbcmodule.h +smbc/xattr.py +tests/settings.py +tests/test_acl.py +tests/test_auth.py +tests/test_context.py +tests/test_dir.py +tests/test_file.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/pysmbc.egg-info/dependency_links.txt new/pysmbc-1.0.16/pysmbc.egg-info/dependency_links.txt --- old/pysmbc-1.0.15.8/pysmbc.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/pysmbc.egg-info/dependency_links.txt 2019-04-06 12:05:05.000000000 +0200 @@ -0,0 +1 @@ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/pysmbc.egg-info/top_level.txt new/pysmbc-1.0.16/pysmbc.egg-info/top_level.txt --- old/pysmbc-1.0.15.8/pysmbc.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/pysmbc.egg-info/top_level.txt 2019-04-06 12:05:05.000000000 +0200 @@ -0,0 +1,2 @@ +_smbc +smbc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/setup.cfg new/pysmbc-1.0.16/setup.cfg --- old/pysmbc-1.0.15.8/setup.cfg 1970-01-01 01:00:00.000000000 +0100 +++ new/pysmbc-1.0.16/setup.cfg 2019-04-06 12:05:05.000000000 +0200 @@ -0,0 +1,4 @@ +[egg_info] +tag_build = +tag_date = 0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysmbc-1.0.15.8/setup.py new/pysmbc-1.0.16/setup.py --- old/pysmbc-1.0.15.8/setup.py 2017-08-08 17:59:13.000000000 +0200 +++ new/pysmbc-1.0.16/setup.py 2019-04-06 12:04:29.000000000 +0200 @@ -5,6 +5,7 @@ ## Authors: ## Tim Waugh <twaugh@redhat.com> ## Tsukasa Hamano <hamano@osstech.co.jp> +## Laurent Coustet <laurent.coustet@clarisys.fr> ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -50,43 +51,50 @@ """ -from distutils.core import setup, Extension import subprocess +from setuptools import setup, Extension -def pkgconfig_I (pkg): +def pkgconfig_I(pkg): dirs = [] - c = subprocess.Popen (["pkg-config", "--cflags", pkg], - stdout=subprocess.PIPE) + c = subprocess.Popen(["pkg-config", "--cflags", pkg], stdout=subprocess.PIPE) (stdout, stderr) = c.communicate () - for p in stdout.decode ('ascii').split (): - if p.startswith ("-I"): - dirs.append (p[2:]) + for p in stdout.decode('ascii').split(): + if p.startswith("-I"): + dirs.append(p[2:]) return dirs - -setup (name="pysmbc", - version="1.0.15.8", - description="Python bindings for libsmbclient", - long_description=__doc__, - author=["Tim Waugh <twaugh@redhat.com>", - "Tsukasa Hamano <hamano@osstech.co.jp>", - "Roberto Polli <rpolli@babel.it>" ], - url="http://cyberelk.net/tim/software/pysmbc/", - download_url="http://cyberelk.net/tim/data/pysmbc/", - classifiers=[ + +setup( + name="pysmbc", + version="1.0.16", + description="Python bindings for libsmbclient", + long_description=__doc__, + author=[ + "Tim Waugh <twaugh@redhat.com>", + "Tsukasa Hamano <hamano@osstech.co.jp>", + "Roberto Polli <rpolli@babel.it>", + ], + url="http://cyberelk.net/tim/software/pysmbc/", + download_url="http://cyberelk.net/tim/data/pysmbc/", + license="GPLv2+", + packages=["smbc"], + classifiers=[ "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: GNU General Public License (GPL)", "Development Status :: 5 - Production/Stable", "Operating System :: Unix", "Programming Language :: C", + ], + ext_modules=[ + Extension("_smbc", [ + "smbc/smbcmodule.c", + "smbc/context.c", + "smbc/dir.c", + "smbc/file.c", + "smbc/smbcdirent.c" ], - license="GPLv2+", - packages=["smbc"], - ext_modules=[Extension("_smbc", - ["smbc/smbcmodule.c", - "smbc/context.c", - "smbc/dir.c", - "smbc/file.c", - "smbc/smbcdirent.c"], - libraries=["smbclient"], - include_dirs=pkgconfig_I("smbclient"))]) + libraries=["smbclient"], + include_dirs=pkgconfig_I("smbclient") + ) + ], +)
participants (1)
-
root