Hello community, here is the log from the commit of package python-smmap2 for openSUSE:Factory checked in at 2018-08-08 14:53:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-smmap2 (Old) and /work/SRC/openSUSE:Factory/.python-smmap2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-smmap2" Wed Aug 8 14:53:49 2018 rev:2 rq:627909 version:2.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-smmap2/python-smmap2.changes 2018-05-15 10:31:36.940124726 +0200 +++ /work/SRC/openSUSE:Factory/.python-smmap2.new/python-smmap2.changes 2018-08-08 14:54:44.937673772 +0200 @@ -1,0 +2,6 @@ +Tue Aug 7 14:53:43 UTC 2018 - toddrme2...@gmail.com + +- Update to 2.0.4 + * Update homepage + +------------------------------------------------------------------- Old: ---- smmap2-2.0.3.tar.gz New: ---- smmap2-2.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-smmap2.spec ++++++ --- /var/tmp/diff_new_pack.g8HV9i/_old 2018-08-08 14:54:45.829675246 +0200 +++ /var/tmp/diff_new_pack.g8HV9i/_new 2018-08-08 14:54:45.833675253 +0200 @@ -16,9 +16,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-smmap2 -Version: 2.0.3 +Version: 2.0.4 Release: 0 License: BSD-3-Clause Summary: A pure python implementation of a sliding window memory map manager @@ -29,11 +28,11 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} +# SECTION test requirements BuildRequires: %{python_module coverage >= 3.4} BuildRequires: %{python_module nose} BuildRequires: %{python_module nosexcover} -%endif +# /SECTION Conflicts: python-smmap BuildArch: noarch @@ -71,13 +70,12 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_exec setup.py test -%endif %files %{python_files} %license LICENSE +%doc README.md %{python_sitelib}/* %changelog ++++++ smmap2-2.0.3.tar.gz -> smmap2-2.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/PKG-INFO new/smmap2-2.0.4/PKG-INFO --- old/smmap2-2.0.3/PKG-INFO 2017-06-10 18:52:51.000000000 +0200 +++ new/smmap2-2.0.4/PKG-INFO 2018-07-15 14:14:53.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: smmap2 -Version: 2.0.3 +Version: 2.0.4 Summary: A pure python implementation of a sliding window memory map manager -Home-page: https://github.com/Byron/smmap +Home-page: https://github.com/gitpython-developers/smmap Author: Sebastian Thiel Author-email: byron...@gmail.com License: BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/README.md new/smmap2-2.0.4/README.md --- old/smmap2-2.0.3/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/smmap2-2.0.4/README.md 2016-12-08 11:58:19.000000000 +0100 @@ -0,0 +1,86 @@ +## Motivation + +When reading from many possibly large files in a fashion similar to random access, it is usually the fastest and most efficient to use memory maps. + +Although memory maps have many advantages, they represent a very limited system resource as every map uses one file descriptor, whose amount is limited per process. On 32 bit systems, the amount of memory you can have mapped at a time is naturally limited to theoretical 4GB of memory, which may not be enough for some applications. + + +## Limitations + +* **System resources (file-handles) are likely to be leaked!** This is due to the library authors reliance on a deterministic `__del__()` destructor. +* The memory access is read-only by design. +* In python below 2.6, memory maps will be created in compatibility mode which works, but creates inefficient memory mappings as they always start at offset 0. + + +## Overview + +[![Build Status](https://travis-ci.org/gitpython-developers/smmap.svg?branch=master)](https://travis-ci.org/gitpython-developers/smmap) +[![Build status](https://ci.appveyor.com/api/projects/status/kuws846av5lvmugo?svg=true&passingText=windows%20OK&failingText=windows%20failed)](https://ci.appveyor.com/project/Byron/smmap) +[![Coverage Status](https://coveralls.io/repos/gitpython-developers/smmap/badge.png)](https://coveralls.io/r/gitpython-developers/smmap) +[![Issue Stats](http://www.issuestats.com/github/gitpython-developers/smmap/badge/pr)](http://www.issuestats.com/github/gitpython-developers/smmap) +[![Issue Stats](http://www.issuestats.com/github/gitpython-developers/smmap/badge/issue)](http://www.issuestats.com/github/gitpython-developers/smmap) + +Smmap wraps an interface around mmap and tracks the mapped files as well as the amount of clients who use it. If the system runs out of resources, or if a memory limit is reached, it will automatically unload unused maps to allow continued operation. + +To allow processing large files even on 32 bit systems, it allows only portions of the file to be mapped. Once the user reads beyond the mapped region, smmap will automatically map the next required region, unloading unused regions using a LRU algorithm. + +The interface also works around the missing offset parameter in python implementations up to python 2.5. + +Although the library can be used most efficiently with its native interface, a Buffer implementation is provided to hide these details behind a simple string-like interface. + +For performance critical 64 bit applications, a simplified version of memory mapping is provided which always maps the whole file, but still provides the benefit of unloading unused mappings on demand. + + + +## Prerequisites + +* Python 2.4, 2.5, 2.6, 2.7 or 3.3 +* OSX, Windows or Linux + +The package was tested on all of the previously mentioned configurations. + +## Installing smmap + +[![Documentation Status](https://readthedocs.org/projects/smmap/badge/?version=latest)](https://readthedocs.org/projects/smmap/?badge=latest) + +Its easiest to install smmap using the [pip](http://www.pip-installer.org/en/latest) program: + +```bash +$ pip install smmap +``` + +As the command will install smmap in your respective python distribution, you will most likely need root permissions to authorize the required changes. + +If you have downloaded the source archive, the package can be installed by running the `setup.py` script: + +```bash +$ python setup.py install +``` + +It is advised to have a look at the **Usage Guide** for a brief introduction on the different database implementations. + + + +## Homepage and Links + +The project is home on github at https://github.com/gitpython-developers/smmap . + +The latest source can be cloned from github as well: + +* git://github.com/gitpython-developers/smmap.git + + +For support, please use the git-python mailing list: + +* http://groups.google.com/group/git-python + + +Issues can be filed on github: + +* https://github.com/gitpython-developers/smmap/issues + + +## License Information + +*smmap* is licensed under the New BSD License. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/setup.cfg new/smmap2-2.0.4/setup.cfg --- old/smmap2-2.0.3/setup.cfg 2017-06-10 18:52:51.000000000 +0200 +++ new/smmap2-2.0.4/setup.cfg 2018-07-15 14:14:53.000000000 +0200 @@ -7,5 +7,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/smmap/__init__.py new/smmap2-2.0.4/smmap/__init__.py --- old/smmap2-2.0.3/smmap/__init__.py 2017-06-10 18:47:25.000000000 +0200 +++ new/smmap2-2.0.4/smmap/__init__.py 2017-09-28 11:14:47.000000000 +0200 @@ -2,8 +2,8 @@ __author__ = "Sebastian Thiel" __contact__ = "byron...@gmail.com" -__homepage__ = "https://github.com/Byron/smmap" -version_info = (2, 0, 3) +__homepage__ = "https://github.com/gitpython-developers/smmap" +version_info = (2, 0, 4) __version__ = '.'.join(str(i) for i in version_info) # make everything available in root package for convenience diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/smmap2.egg-info/PKG-INFO new/smmap2-2.0.4/smmap2.egg-info/PKG-INFO --- old/smmap2-2.0.3/smmap2.egg-info/PKG-INFO 2017-06-10 18:52:50.000000000 +0200 +++ new/smmap2-2.0.4/smmap2.egg-info/PKG-INFO 2018-07-15 14:14:53.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: smmap2 -Version: 2.0.3 +Version: 2.0.4 Summary: A pure python implementation of a sliding window memory map manager -Home-page: https://github.com/Byron/smmap +Home-page: https://github.com/gitpython-developers/smmap Author: Sebastian Thiel Author-email: byron...@gmail.com License: BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smmap2-2.0.3/smmap2.egg-info/SOURCES.txt new/smmap2-2.0.4/smmap2.egg-info/SOURCES.txt --- old/smmap2-2.0.3/smmap2.egg-info/SOURCES.txt 2017-06-10 18:52:50.000000000 +0200 +++ new/smmap2-2.0.4/smmap2.egg-info/SOURCES.txt 2018-07-15 14:14:53.000000000 +0200 @@ -1,5 +1,6 @@ LICENSE MANIFEST.in +README.md setup.cfg setup.py smmap/__init__.py