forked from pool/python-portalocker
Accepting request 674951 from devel:languages:python
- Update to 1.4.0: * no upstream changelog - Drop patch portalocker-1.2.1-old-Sphinx.patch OBS-URL: https://build.opensuse.org/request/show/674951 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portalocker?expand=0&rev=3
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
--- 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'
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f2a56d3d90e2ac5659ee744336e6953c0050bb61fccb97090a03de5c2a4db9f
|
||||
size 10829
|
3
portalocker-1.4.0.tar.gz
Normal file
3
portalocker-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fb35648a9e03f267e54c6186513abbd1cdd321c305502545a3550eea8b2923f
|
||||
size 11255
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 12:13:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.4.0:
|
||||
* no upstream changelog
|
||||
- Drop patch portalocker-1.2.1-old-Sphinx.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 11:27:33 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
@@ -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 @@ recommended however.
|
||||
|
||||
%prep
|
||||
%setup -q -n portalocker-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -55,9 +50,10 @@ recommended however.
|
||||
%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
|
||||
|
Reference in New Issue
Block a user