14
0

Accepting request 787756 from home:pgajdos:python

- version update to 0.4.10
  * bugfix: f.close() only required if open succeeded

OBS-URL: https://build.opensuse.org/request/show/787756
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipreqs?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-03-24 11:20:53 +00:00
committed by Git OBS Bridge
parent d1e450570c
commit 012677815d
4 changed files with 15 additions and 8 deletions

3
pipreqs-0.4.10.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 24 10:47:46 UTC 2020 - pgajdos@suse.com
- version update to 0.4.10
* bugfix: f.close() only required if open succeeded
-------------------------------------------------------------------
Fri Mar 1 01:51:15 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pipreqs
#
# 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,18 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pipreqs
Version: 0.4.9
Version: 0.4.10
Release: 0
Summary: Pip requirements generator based on imports in project
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/bndr/pipreqs
Source: https://files.pythonhosted.org/packages/source/p/pipreqs/pipreqs-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module nose}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docopt
Requires: python-setuptools
Requires: python-yarg
BuildArch: noarch
# SECTION test requirements
@@ -53,8 +54,8 @@ chmod a-x pipreqs/pipreqs.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Ignore four tests that require network access
%python_exec -m nose -e 'test_(get_imports_info|ignored_directory|init_)'
# Ignore tests that require network access
%pytest -k 'not (test_get_imports_info or test_ignored_directory or test_init or test_init_overwrite or teset_init_savepath or test_omit_version)'
%files %{python_files}
%doc AUTHORS.rst README.rst