commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2020-06-04 17:54:02 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new.3606 (New) Package is "python-portalocker" Thu Jun 4 17:54:02 2020 rev:7 rq:811269 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2020-03-18 12:51:45.265187684 +0100 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new.3606/python-portalocker.changes 2020-06-04 17:54:07.908576333 +0200 @@ -1,0 +2,8 @@ +Wed Jun 3 20:15:46 UTC 2020 - John Vandenberg + +- Update to v1.7.0 + * Fix ResourceWarning unclosed file if LockException is raised +- from v1.6.0 + * Fixed unlocking bug on Windows + +--- Old: v1.5.2.tar.gz New: v1.7.0.tar.gz Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.iQ4ZWo/_old 2020-06-04 17:54:09.168580206 +0200 +++ /var/tmp/diff_new_pack.iQ4ZWo/_new 2020-06-04 17:54:09.168580206 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-portalocker # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 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-portalocker -Version:1.5.2 +Version:1.7.0 Release:0 Summary:Locking library for Python License:Python-2.0 ++ v1.5.2.tar.gz -> v1.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.2/.travis.yml new/portalocker-1.7.0/.travis.yml --- old/portalocker-1.5.2/.travis.yml 2019-11-12 00:08:05.0 +0100 +++ new/portalocker-1.7.0/.travis.yml 2020-04-12 18:00:01.0 +0200 @@ -1,10 +1,15 @@ sudo: false +dist: xenial language: python python: - '2.7' - '3.4' - '3.5' - '3.6' +- '3.7' +- '3.8' +# TODO: Enable when available +# - '3.9' - pypy before_install: - wheel version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.2/README.rst new/portalocker-1.7.0/README.rst --- old/portalocker-1.5.2/README.rst2019-11-12 00:08:05.0 +0100 +++ new/portalocker-1.7.0/README.rst2020-04-12 18:00:01.0 +0200 @@ -35,7 +35,9 @@ Tips -On some networked filesystems it might be needed to force a `os.fsync()` before closing the file so it's actually written before another client reads the file. Effectively this comes down to: +On some networked filesystems it might be needed to force a `os.fsync()` before +closing the file so it's actually written before another client reads the file. +Effectively this comes down to: :: @@ -79,9 +81,10 @@ >>> file.write('foo') >>> file.close() -There is no explicit need to unlock the file as it is automatically unlocked -after `file.close()`. If you still feel the need to manually unlock a file -than you can do it like this: +Explicitly unlocking might not be needed in all cases: +https://github.com/AzureAD/microsoft-authentication-extensions-for-python/issues/42#issuecomment-601108266 + +But can be done through: >>> portalocker.unlock(file) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.2/docs/tests.rst new/portalocker-1.7.0/docs/tests.rst --- old/portalocker-1.5.2/docs/tests.rst2019-11-12 00:08:05.0 +0100 +++ new/portalocker-1.7.0/docs/tests.rst2020-04-12 18:00:01.0 +0200 @@ -4,7 +4,7 @@ Module contents --- -.. automodule:: tests.tests +.. automodule:: portalocker_tests.tests :members: :private-members: :special-members: @@ -12,12 +12,12 @@ :undoc-members: :show-inheritance: -.. automodule:: tests.test_combined +.. automodule:: portalocker_tests.test_combined :members: :undoc-members: :show-inheritance: -.. automodule:: tests.temporary_file_lock +.. automodule:: portalocker_tests.temporary_file_lock :members: :private-members: :special-members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.2/portalocker/__about__.py new/portalocker-1.7.0/portalocker/__about__.py --- old/portalocker-1.5.2/portalocker/__about__.py 2019-11-12 00:08:05.0 +0100 +++ new/portalocker-1.7.0/portalocker/__about__.py 2020-04-12
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2020-03-18 12:45:55 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new.3160 (New) Package is "python-portalocker" Wed Mar 18 12:45:55 2020 rev:6 rq:786107 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2019-09-23 12:06:18.993916206 +0200 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new.3160/python-portalocker.changes 2020-03-18 12:51:45.265187684 +0100 @@ -1,0 +2,6 @@ +Wed Mar 18 08:44:55 UTC 2020 - Marketa Calabkova + +- Update to 1.5.2 + * Allow for development setuptools + +--- Old: v1.5.1.tar.gz New: v1.5.2.tar.gz Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.zew5Sc/_old 2020-03-18 12:51:52.621192077 +0100 +++ /var/tmp/diff_new_pack.zew5Sc/_new 2020-03-18 12:51:52.653192096 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-portalocker # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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-portalocker -Version:1.5.1 +Version:1.5.2 Release:0 Summary:Locking library for Python License:Python-2.0 ++ v1.5.1.tar.gz -> v1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.1/CHANGELOG.rst new/portalocker-1.5.2/CHANGELOG.rst --- old/portalocker-1.5.1/CHANGELOG.rst 2019-08-04 20:06:01.0 +0200 +++ new/portalocker-1.5.2/CHANGELOG.rst 2019-11-12 00:08:05.0 +0100 @@ -1,3 +1,26 @@ +1.5: + + * Moved tests to prevent collisions with other packages + +1.4: + + * Added optional file open parameters + +1.3: + + * Improved documentation + * Added file handle to locking exceptions + +1.2: + + * Added signed releases and tags to PyPI and Git + + +1.1: + + * Added support for Python 3.6+ + * Using real time to calculate timeout + 1.0: * Complete code refactor. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.1/portalocker/__about__.py new/portalocker-1.5.2/portalocker/__about__.py --- old/portalocker-1.5.1/portalocker/__about__.py 2019-08-04 20:06:01.0 +0200 +++ new/portalocker-1.5.2/portalocker/__about__.py 2019-11-12 00:08:05.0 +0100 @@ -1,7 +1,7 @@ __package_name__ = 'portalocker' __author__ = 'Rick van Hattem' __email__ = 'wo...@wol.ph' -__version__ = '1.5.0' +__version__ = '1.5.1' __description__ = '''Wraps the portalocker recipe for easy usage''' __url__ = 'https://github.com/WoLpH/portalocker' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.1/portalocker/__init__.py new/portalocker-1.5.2/portalocker/__init__.py --- old/portalocker-1.5.1/portalocker/__init__.py 2019-08-04 20:06:01.0 +0200 +++ new/portalocker-1.5.2/portalocker/__init__.py 2019-11-12 00:08:05.0 +0100 @@ -11,7 +11,7 @@ #: Current author's email address __email__ = __about__.__email__ #: Version number -__version__ = '1.5.0' +__version__ = '1.5.1' #: Package description for Pypi __description__ = __about__.__description__ #: Package homepage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.1/setup.py new/portalocker-1.5.2/setup.py --- old/portalocker-1.5.1/setup.py 2019-08-04 20:06:01.0 +0200 +++ new/portalocker-1.5.2/setup.py 2019-11-12 00:08:05.0 +0100 @@ -4,11 +4,11 @@ import sys import setuptools from setuptools.command.test import test as TestCommand -from distutils.version import StrictVersion +from distutils.version import LooseVersion from setuptools import __version__ as setuptools_version -if StrictVersion(setuptools_version) < StrictVersion('38.3.0'): +if LooseVersion(setuptools_version) < LooseVersion('38.3.0'): raise SystemExit( 'Your `setuptools` version is old. ' 'Please upgrade setuptools by running `pip install -U setuptools` ' @@ -47,7 +47,7 @@ import pytest errno = pytest.main(shlex.split(self.pytest_args)) sys.exit(errno) - + class Combine(setuptools.Command): description = 'Build single combined portalocker file' @@
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2019-09-23 12:06:08 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new.7948 (New) Package is "python-portalocker" Mon Sep 23 12:06:08 2019 rev:5 rq:729892 version:1.5.1 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2019-07-23 22:39:57.634939394 +0200 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new.7948/python-portalocker.changes 2019-09-23 12:06:18.993916206 +0200 @@ -1,0 +2,6 @@ +Tue Sep 10 13:21:44 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.1: + * no upstream changelog + +--- Old: v1.5.0.tar.gz New: v1.5.1.tar.gz Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.ECruUL/_old 2019-09-23 12:06:20.993915876 +0200 +++ /var/tmp/diff_new_pack.ECruUL/_new 2019-09-23 12:06:20.997915875 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portalocker -Version:1.5.0 +Version:1.5.1 Release:0 Summary:Locking library for Python License:Python-2.0 Group: Development/Languages/Python URL:https://github.com/WoLpH/portalocker Source: https://github.com/WoLpH/portalocker/archive/v%{version}.tar.gz -BuildRequires: %{python_module Sphinx >= 1.7.1} BuildRequires: %{python_module pytest >= 3.4.0} BuildRequires: %{python_module setuptools >= 38.3.0} BuildRequires: fdupes ++ v1.5.0.tar.gz -> v1.5.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.0/MANIFEST.in new/portalocker-1.5.1/MANIFEST.in --- old/portalocker-1.5.0/MANIFEST.in 2019-07-13 22:26:23.0 +0200 +++ new/portalocker-1.5.1/MANIFEST.in 2019-08-04 20:06:01.0 +0200 @@ -1,4 +1,4 @@ -include CHANGELOG +include CHANGELOG.rst include README.rst include LICENSE recursive-include portalocker_tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.0/portalocker/__about__.py new/portalocker-1.5.1/portalocker/__about__.py --- old/portalocker-1.5.0/portalocker/__about__.py 2019-07-13 22:26:23.0 +0200 +++ new/portalocker-1.5.1/portalocker/__about__.py 2019-08-04 20:06:01.0 +0200 @@ -1,7 +1,7 @@ __package_name__ = 'portalocker' __author__ = 'Rick van Hattem' __email__ = 'wo...@wol.ph' -__version__ = '1.4.0' +__version__ = '1.5.0' __description__ = '''Wraps the portalocker recipe for easy usage''' __url__ = 'https://github.com/WoLpH/portalocker' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.0/portalocker/__init__.py new/portalocker-1.5.1/portalocker/__init__.py --- old/portalocker-1.5.0/portalocker/__init__.py 2019-07-13 22:26:23.0 +0200 +++ new/portalocker-1.5.1/portalocker/__init__.py 2019-08-04 20:06:01.0 +0200 @@ -11,7 +11,7 @@ #: Current author's email address __email__ = __about__.__email__ #: Version number -__version__ = '1.4.0' +__version__ = '1.5.0' #: Package description for Pypi __description__ = __about__.__description__ #: Package homepage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.5.0/setup.py new/portalocker-1.5.1/setup.py --- old/portalocker-1.5.0/setup.py 2019-07-13 22:26:23.0 +0200 +++ new/portalocker-1.5.1/setup.py 2019-08-04 20:06:01.0 +0200 @@ -127,7 +127,7 @@ author_email=about['__email__'], url=about['__url__'], license='PSF', -packages=setuptools.find_packages(exclude=['ez_setup', 'examples']), +packages=setuptools.find_packages(exclude=['ez_setup', 'examples', 'portalocker_tests']), # zip_safe=False, platforms=['any'], cmdclass={
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2019-07-23 22:39:56 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new.4126 (New) Package is "python-portalocker" Tue Jul 23 22:39:56 2019 rev:4 rq:717856 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2019-02-15 10:02:17.895627757 +0100 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new.4126/python-portalocker.changes 2019-07-23 22:39:57.634939394 +0200 @@ -1,0 +2,7 @@ +Tue Jul 23 11:18:57 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.0: + * No upstream changelog +- Switch to github tarball to include tests + +--- Old: portalocker-1.4.0.tar.gz New: v1.5.0.tar.gz Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.j13xrI/_old 2019-07-23 22:39:58.442939228 +0200 +++ /var/tmp/diff_new_pack.j13xrI/_new 2019-07-23 22:39:58.462939223 +0200 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portalocker -Version:1.4.0 +Version:1.5.0 Release:0 Summary:Locking library for Python License:Python-2.0 Group: Development/Languages/Python URL:https://github.com/WoLpH/portalocker -Source: https://files.pythonhosted.org/packages/source/p/portalocker/portalocker-%{version}.tar.gz +Source: https://github.com/WoLpH/portalocker/archive/v%{version}.tar.gz BuildRequires: %{python_module Sphinx >= 1.7.1} BuildRequires: %{python_module pytest >= 3.4.0} BuildRequires: %{python_module setuptools >= 38.3.0} @@ -43,6 +43,8 @@ %prep %setup -q -n portalocker-%{version} +# do not bother with benchmark and cov +rm pytest.ini %build %python_build @@ -50,10 +52,9 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/ %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests/t*.py +%pytest %files %{python_files} %license LICENSE
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2019-02-15 10:02:12 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new.28833 (New) Package is "python-portalocker" Fri Feb 15 10:02:12 2019 rev:3 rq:674951 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2018-05-29 10:30:03.789404593 +0200 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new.28833/python-portalocker.changes 2019-02-15 10:02:17.895627757 +0100 @@ -1,0 +2,7 @@ +Thu Feb 14 12:13:23 UTC 2019 - Tomáš Chvátal + +- Update to 1.4.0: + * no upstream changelog +- Drop patch portalocker-1.2.1-old-Sphinx.patch + +--- Old: portalocker-1.2.1-old-Sphinx.patch portalocker-1.2.1.tar.gz New: portalocker-1.4.0.tar.gz Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.dqJhsj/_old 2019-02-15 10:02:18.279627633 +0100 +++ /var/tmp/diff_new_pack.dqJhsj/_new 2019-02-15 10:02:18.283627632 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-portalocker # -# 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 @@ -12,29 +12,25 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portalocker -Version:1.2.1 +Version:1.4.0 Release:0 Summary:Locking library for Python License:Python-2.0 Group: Development/Languages/Python URL:https://github.com/WoLpH/portalocker Source: https://files.pythonhosted.org/packages/source/p/portalocker/portalocker-%{version}.tar.gz -Patch0: portalocker-1.2.1-old-Sphinx.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module Sphinx >= 1.7.1} +BuildRequires: %{python_module pytest >= 3.4.0} +BuildRequires: %{python_module setuptools >= 38.3.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -BuildRequires: %{python_module Sphinx >= 1.6.5} -BuildRequires: %{python_module flake8 >= 3.5.0} -BuildRequires: %{python_module pytest >= 3.4.0} -BuildRequires: %{python_module pytest-cache >= 1.0} - %python_subpackages %description @@ -47,7 +43,6 @@ %prep %setup -q -n portalocker-%{version} -%patch0 -p1 %build %python_build @@ -55,9 +50,10 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/ %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests/t*.py %files %{python_files} %license LICENSE ++ portalocker-1.2.1.tar.gz -> portalocker-1.4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portalocker-1.2.1/PKG-INFO new/portalocker-1.4.0/PKG-INFO --- old/portalocker-1.2.1/PKG-INFO 2018-05-01 15:20:39.0 +0200 +++ new/portalocker-1.4.0/PKG-INFO 2019-02-11 13:42:56.0 +0100 @@ -1,12 +1,11 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: portalocker -Version: 1.2.1 +Version: 1.4.0 Summary: Wraps the portalocker recipe for easy usage Home-page: https://github.com/WoLpH/portalocker Author: Rick van Hattem Author-email: wo...@wol.ph License: PSF -Description-Content-Type: UNKNOWN Description: portalocker - Cross-platform locking library @@ -41,6 +40,21 @@ The project resides at https://github.com/WoLpH/portalocker . Bugs and feature requests can be submitted there. Patches are also very welcome. +Tips + + +On some networked filesystems it might be needed to force a `os.fsync()` before closing the file so it's actually written before another client reads the file. Effectively this comes down to: + +:: + + with portalocker.Lock('some_file', 'rb+', timeout=60) as fh: + # do what you need to do + ... + +
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2018-05-29 10:29:55 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new (New) Package is "python-portalocker" Tue May 29 10:29:55 2018 rev:2 rq:610287 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-portalocker/python-portalocker.changes 2018-05-17 19:33:27.478957839 +0200 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new/python-portalocker.changes 2018-05-29 10:30:03.789404593 +0200 @@ -1,0 +2,5 @@ +Fri May 18 11:27:33 UTC 2018 - jeng...@inai.de + +- Clear filler wording from description. + +--- Other differences: -- ++ python-portalocker.spec ++ --- /var/tmp/diff_new_pack.2nJ1EO/_old 2018-05-29 10:30:06.077320075 +0200 +++ /var/tmp/diff_new_pack.2nJ1EO/_new 2018-05-29 10:30:06.081319927 +0200 @@ -1,5 +1,5 @@ # -# spec file for package portalocker +# spec file for package python-portalocker # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: python-portalocker Version:1.2.1 Release:0 -Summary:Cross-platform locking library +Summary:Locking library for Python License:Python-2.0 Group: Development/Languages/Python URL:https://github.com/WoLpH/portalocker @@ -30,20 +30,20 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +BuildRequires: %{python_module Sphinx >= 1.6.5} BuildRequires: %{python_module flake8 >= 3.5.0} BuildRequires: %{python_module pytest >= 3.4.0} BuildRequires: %{python_module pytest-cache >= 1.0} -BuildRequires: %{python_module Sphinx >= 1.6.5} %python_subpackages %description -Portalocker is a library to provide an easy API to file locking. +Portalocker is a library to provide an API to file locking. -An important detail to note is that on Linux and Unix systems the locks are -advisory by default. By specifying the `-o mand` option to the mount command it -is possible to enable mandatory file locking on Linux. This is generally not -recommended however. For more information about the subject: +On Linux and Unix systems, the locks are advisory by default. By +specifying the `-o mand` option to the mount command, it is possible +to enable mandatory file locking on Linux. This is generally not +recommended however. %prep %setup -q -n portalocker-%{version}
commit python-portalocker for openSUSE:Factory
Hello community, here is the log from the commit of package python-portalocker for openSUSE:Factory checked in at 2018-05-17 19:33:20 Comparing /work/SRC/openSUSE:Factory/python-portalocker (Old) and /work/SRC/openSUSE:Factory/.python-portalocker.new (New) Package is "python-portalocker" Thu May 17 19:33:20 2018 rev:1 rq:610091 version:1.2.1 Changes: New Changes file: --- /dev/null 2018-04-25 19:14:53.472341877 +0200 +++ /work/SRC/openSUSE:Factory/.python-portalocker.new/python-portalocker.changes 2018-05-17 19:33:27.478957839 +0200 @@ -0,0 +1,9 @@ +--- +Thu May 17 12:40:14 UTC 2018 - mc...@suse.com + +- Fix specfile name + +--- +Thu May 17 12:07:31 UTC 2018 - mc...@suse.com + +- Initial packaging effort New: portalocker-1.2.1-old-Sphinx.patch portalocker-1.2.1.tar.gz python-portalocker.changes python-portalocker.spec Other differences: -- ++ python-portalocker.spec ++ # # spec file for package portalocker # # Copyright (c) 2018 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portalocker Version:1.2.1 Release:0 Summary:Cross-platform locking library License:Python-2.0 Group: Development/Languages/Python URL:https://github.com/WoLpH/portalocker Source: https://files.pythonhosted.org/packages/source/p/portalocker/portalocker-%{version}.tar.gz Patch0: portalocker-1.2.1-old-Sphinx.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch BuildRequires: %{python_module flake8 >= 3.5.0} BuildRequires: %{python_module pytest >= 3.4.0} BuildRequires: %{python_module pytest-cache >= 1.0} BuildRequires: %{python_module Sphinx >= 1.6.5} %python_subpackages %description Portalocker is a library to provide an easy API to file locking. An important detail to note is that on Linux and Unix systems the locks are advisory by default. By specifying the `-o mand` option to the mount command it is possible to enable mandatory file locking on Linux. This is generally not recommended however. For more information about the subject: %prep %setup -q -n portalocker-%{version} %patch0 -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/* %changelog ++ portalocker-1.2.1-old-Sphinx.patch ++ --- a/setup.py +++ b/setup.py @@ -27,10 +27,7 @@ tests_require = [ 'flake8>=3.5.0', 'pytest>=3.4.0', 'pytest-cache>=1.0', -'pytest-cov>=2.5.1', -'pytest-flakes>=2.0.0', -'pytest-pep8>=1.0.6', -'sphinx>=1.7.1', +'sphinx>=1.6.5', ] @@ -47,7 +44,7 @@ class PyTest(TestCommand): import pytest errno = pytest.main(shlex.split(self.pytest_args)) sys.exit(errno) - + class Combine(setuptools.Command): description = 'Build single combined portalocker file'