From 51813d742ef266d62e28b23f0f9132076cd6d94ae48e1c4d1babeb3fd5ac0120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 23 Jul 2019 11:23:11 +0000 Subject: [PATCH] - 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 --- portalocker-1.4.0.tar.gz | 3 --- python-portalocker.changes | 7 +++++++ python-portalocker.spec | 9 +++++---- v1.5.0.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 portalocker-1.4.0.tar.gz create mode 100644 v1.5.0.tar.gz diff --git a/portalocker-1.4.0.tar.gz b/portalocker-1.4.0.tar.gz deleted file mode 100644 index 8e76297..0000000 --- a/portalocker-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3fb35648a9e03f267e54c6186513abbd1cdd321c305502545a3550eea8b2923f -size 11255 diff --git a/python-portalocker.changes b/python-portalocker.changes index c631994..8c33707 100644 --- a/python-portalocker.changes +++ b/python-portalocker.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Thu Feb 14 12:13:23 UTC 2019 - Tomáš Chvátal diff --git a/python-portalocker.spec b/python-portalocker.spec index bb7ffa5..cc0ee21 100644 --- a/python-portalocker.spec +++ b/python-portalocker.spec @@ -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 diff --git a/v1.5.0.tar.gz b/v1.5.0.tar.gz new file mode 100644 index 0000000..31c0aa6 --- /dev/null +++ b/v1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0411cef277b8b0b1e88b72cec58e1a03bbc602b4180022e1baf3fbeeb542b8e0 +size 24197