14
0

- Update to 1.5.0:

* No upstream changelog
- Switch to github tarball to include tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portalocker?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-07-23 11:23:11 +00:00
committed by Git OBS Bridge
parent 3a7071f1ad
commit 51813d742e
4 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fb35648a9e03f267e54c6186513abbd1cdd321c305502545a3550eea8b2923f
size 11255

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 23 11:18:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.5.0:
* No upstream changelog
- Switch to github tarball to include tests
-------------------------------------------------------------------
Thu Feb 14 12:13:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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 @@ recommended however.
%prep
%setup -q -n portalocker-%{version}
# do not bother with benchmark and cov
rm pytest.ini
%build
%python_build
@@ -50,10 +52,9 @@ recommended however.
%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

3
v1.5.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0411cef277b8b0b1e88b72cec58e1a03bbc602b4180022e1baf3fbeeb542b8e0
size 24197