forked from pool/python-autoflake
Accepting request 832643 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/832643 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autoflake?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:680cb9dade101ed647488238ccb8b8bfb4369b53d58ba2c8cdf7d5d54e01f95b
|
||||
size 17443
|
||||
3
autoflake-1.4.tar.gz
Normal file
3
autoflake-1.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea
|
||||
size 22506
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 04:16:47 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.4:
|
||||
* No upstream changelog
|
||||
- Switch from setup.py test to pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 11:32:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-autoflake
|
||||
#
|
||||
# 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,13 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-autoflake
|
||||
Version: 1.3.1
|
||||
Version: 1.4
|
||||
Release: 0
|
||||
Summary: Program to removes unused Python imports and variables
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/myint/autoflake
|
||||
Source: https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -63,7 +63,7 @@ autoflake also removes useless pass statements.
|
||||
|
||||
%check
|
||||
export $LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative autoflake
|
||||
|
||||
Reference in New Issue
Block a user