Hello community, here is the log from the commit of package python-serverfiles for openSUSE:Factory checked in at 2019-03-24 15:00:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-serverfiles (Old) and /work/SRC/openSUSE:Factory/.python-serverfiles.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-serverfiles" Sun Mar 24 15:00:35 2019 rev:2 rq:687706 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-serverfiles/python-serverfiles.changes 2018-12-19 13:50:17.699211670 +0100 +++ /work/SRC/openSUSE:Factory/.python-serverfiles.new.25356/python-serverfiles.changes 2019-03-24 15:00:40.463174109 +0100 @@ -1,0 +2,6 @@ +Fri Mar 22 14:32:57 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 0.3.0: + * no upstream changelog + +------------------------------------------------------------------- Old: ---- serverfiles-0.2.1.tar.gz New: ---- serverfiles-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-serverfiles.spec ++++++ --- /var/tmp/diff_new_pack.GUmU1r/_old 2019-03-24 15:00:41.755173944 +0100 +++ /var/tmp/diff_new_pack.GUmU1r/_new 2019-03-24 15:00:41.795173939 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-serverfiles # -# Copyright (c) 2018 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-serverfiles -Version: 0.2.1 +Version: 0.3.0 Release: 0 Summary: A utility to locally store files on a HTTP server License: GPL-3.0-or-later ++++++ serverfiles-0.2.1.tar.gz -> serverfiles-0.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/.gitignore new/serverfiles-0.3.0/.gitignore --- old/serverfiles-0.2.1/.gitignore 2017-09-21 18:02:07.000000000 +0200 +++ new/serverfiles-0.3.0/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -*.egg-info -dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/MANIFEST.in new/serverfiles-0.3.0/MANIFEST.in --- old/serverfiles-0.2.1/MANIFEST.in 2017-09-21 18:02:07.000000000 +0200 +++ new/serverfiles-0.3.0/MANIFEST.in 2018-11-23 12:29:28.000000000 +0100 @@ -1 +1,4 @@ include LICENSE.txt +recursive-include doc *.rst Makefile *.bat *.py +recursive-include tests *.py +include requirements.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/PKG-INFO new/serverfiles-0.3.0/PKG-INFO --- old/serverfiles-0.2.1/PKG-INFO 2017-09-21 18:02:45.000000000 +0200 +++ new/serverfiles-0.3.0/PKG-INFO 2018-11-23 12:35:37.000000000 +0100 @@ -1,11 +1,10 @@ Metadata-Version: 1.0 Name: serverfiles -Version: 0.2.1 +Version: 0.3.0 Summary: An utility that accesses files on a HTTP server and stores them locally for reuse. -Home-page: UNKNOWN +Home-page: https://github.com/biolab/serverfiles Author: Bioinformatics Laboratory, FRI UL Author-email: marko.top...@fri.uni-lj.si License: UNKNOWN -Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/README.txt new/serverfiles-0.3.0/README.txt --- old/serverfiles-0.2.1/README.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/serverfiles-0.3.0/README.txt 2018-11-23 11:45:29.000000000 +0100 @@ -0,0 +1 @@ +An utility that accesses files on a HTTP server and stores them locally for reuse. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/doc/.gitignore new/serverfiles-0.3.0/doc/.gitignore --- old/serverfiles-0.2.1/doc/.gitignore 2017-09-21 18:02:07.000000000 +0200 +++ new/serverfiles-0.3.0/doc/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles/__init__.py new/serverfiles-0.3.0/serverfiles/__init__.py --- old/serverfiles-0.2.1/serverfiles/__init__.py 2017-01-26 18:06:33.000000000 +0100 +++ new/serverfiles-0.3.0/serverfiles/__init__.py 2018-11-23 11:45:46.000000000 +0100 @@ -158,7 +158,10 @@ """A class for listing or downloading files from the server.""" def __init__(self, server, username=None, password=None): - self.server = server + if server.endswith('/'): + self.server = server + else: + self.server = server + '/' """Server URL.""" self.username = username """Username for authenticated HTTP queried.""" @@ -253,8 +256,7 @@ self._download_server_info() files = self.listfiles(*path, recursive=recursive) infos = {} - for a in files: - npath = a + for npath in files: infos[npath] = self.info(*npath) return infos @@ -288,7 +290,8 @@ auth = None if self.username and self.password: auth = (self.username, self.password) - return self.req.get(root+"/".join(path), auth=auth, verify=False, timeout=TIMEOUT, stream=True) + return self.req.get(root + "/".join(path), auth=auth, + timeout=TIMEOUT, stream=True) def _open(self, *args): return self._server_request(self.server, *args) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles.egg-info/PKG-INFO new/serverfiles-0.3.0/serverfiles.egg-info/PKG-INFO --- old/serverfiles-0.2.1/serverfiles.egg-info/PKG-INFO 2017-09-21 18:02:45.000000000 +0200 +++ new/serverfiles-0.3.0/serverfiles.egg-info/PKG-INFO 2018-11-23 12:35:37.000000000 +0100 @@ -1,11 +1,10 @@ Metadata-Version: 1.0 Name: serverfiles -Version: 0.2.1 +Version: 0.3.0 Summary: An utility that accesses files on a HTTP server and stores them locally for reuse. -Home-page: UNKNOWN +Home-page: https://github.com/biolab/serverfiles Author: Bioinformatics Laboratory, FRI UL Author-email: marko.top...@fri.uni-lj.si License: UNKNOWN -Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles.egg-info/SOURCES.txt new/serverfiles-0.3.0/serverfiles.egg-info/SOURCES.txt --- old/serverfiles-0.2.1/serverfiles.egg-info/SOURCES.txt 2017-09-21 18:02:45.000000000 +0200 +++ new/serverfiles-0.3.0/serverfiles.egg-info/SOURCES.txt 2018-11-23 12:35:37.000000000 +0100 @@ -1,9 +1,8 @@ -.gitignore LICENSE.txt MANIFEST.in +README.txt requirements.txt setup.py -doc/.gitignore doc/Makefile doc/conf.py doc/index.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/serverfiles-0.2.1/setup.py new/serverfiles-0.3.0/setup.py --- old/serverfiles-0.2.1/setup.py 2017-09-21 18:02:07.000000000 +0200 +++ new/serverfiles-0.3.0/setup.py 2018-11-23 12:31:34.000000000 +0100 @@ -13,7 +13,8 @@ install_requires=[ 'requests>=2.11.1', ], - version='0.2.1', + version='0.3.0', zip_safe=False, + url="https://github.com/biolab/serverfiles", test_suite="tests.suite" )