diff --git a/autoflake-1.3.1.tar.gz b/autoflake-1.3.1.tar.gz deleted file mode 100644 index 9cd240b..0000000 --- a/autoflake-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:680cb9dade101ed647488238ccb8b8bfb4369b53d58ba2c8cdf7d5d54e01f95b -size 17443 diff --git a/autoflake-1.4.tar.gz b/autoflake-1.4.tar.gz new file mode 100644 index 0000000..c4e82dd --- /dev/null +++ b/autoflake-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea +size 22506 diff --git a/python-autoflake.changes b/python-autoflake.changes index 92e5a86..3675b9b 100644 --- a/python-autoflake.changes +++ b/python-autoflake.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 31 04:16:47 UTC 2020 - Steve Kowalik + +- 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 diff --git a/python-autoflake.spec b/python-autoflake.spec index 064654b..08f2d1f 100644 --- a/python-autoflake.spec +++ b/python-autoflake.spec @@ -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