15
0

Accepting request 780409 from devel:languages:python

- update to 1.0.0:
  * Add an ability to specify max line length
  * [ussuri][goal] Drop python 2.7 support and testing
  * Convert devstack-bashate to native job
  * Add release notes and contributing in readme
  * Add Python 3 Train unit tests
  * Add --version option
  * Remove pylintrc file
  * Use stestr as a test runner
  * Update sphinx version
  * Update to opendev
  * Dropping the py35 testing
  * OpenDev Migration Patch
  * Replace openstack.org git:// URLs with https://
  * Replace openstack.org git:// URLs with https://
  * Change openstack-dev to openstack-discuss
  * Update min tox version to 2.0
  * fix tox python3 overrides
  * add python 3.6 unit test job
  * switch documentation job to new PTI
  * import zuul job settings from project-config

OBS-URL: https://build.opensuse.org/request/show/780409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bashate?expand=0&rev=3
This commit is contained in:
2020-03-03 09:15:33 +00:00
committed by Git OBS Bridge
4 changed files with 33 additions and 11 deletions

View File

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

3
bashate-1.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Feb 28 22:50:39 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.0.0:
* Add an ability to specify max line length
* [ussuri][goal] Drop python 2.7 support and testing
* Convert devstack-bashate to native job
* Add release notes and contributing in readme
* Add Python 3 Train unit tests
* Add --version option
* Remove pylintrc file
* Use stestr as a test runner
* Update sphinx version
* Update to opendev
* Dropping the py35 testing
* OpenDev Migration Patch
* Replace openstack.org git:// URLs with https://
* Replace openstack.org git:// URLs with https://
* Change openstack-dev to openstack-discuss
* Update min tox version to 2.0
* fix tox python3 overrides
* add python 3.6 unit test job
* switch documentation job to new PTI
* import zuul job settings from project-config
-------------------------------------------------------------------
Sun May 19 07:45:17 UTC 2019 - Markos Chandras <mchandras@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bashate
#
# 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
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-bashate
Version: 0.6.0
Version: 1.0.0
Release: 0
Summary: A PEP8 equivalent for bash scripts
License: Apache-2.0
@@ -29,8 +30,7 @@ BuildRequires: %{python_module Babel >= 0.9.6}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testrepository}
BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module stestr}
BuildRequires: %{python_module testtools}
BuildRequires: fdupes
BuildRequires: python-argparse
@@ -69,10 +69,7 @@ sed -i -e '/^#!\//, 1d' %{buildroot}%{$python_sitelib}/bashate/bashate.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_expand rm -rf .testrepository
PYTHON=$python $python %{_bindir}/testr init
PYTHON=$python $python %{_bindir}/testr run
}
%python_exec -m stestr.cli run
%files %{python_files}
%license LICENSE