forked from pool/python-fire
Accepting request 1219876 from home:pgajdos
- version update to 0.7.0 * This release is the first to drop Python 2 support. For Python 2 users, use <= 0.6.0. * CI improvements from @Borda including dependabot and an expanded build matrix * adding GH dependabot by @Borda in #432 * Bump the pip group with 2 updates by @dependabot in #491 * Update hypothesis requirement from <6.62.0 to <6.100.0 in /.github/scripts by @dependabot in #492 * #444: Removed pipes dependency by @BasedDepartment1 in #447 * Update termcolor requirement from <2.2.0 to <2.5.0 in /.github/scripts by @dependabot in #493 * Update mock requirement from <5.0.0 to <6.0.0 in /.github/scripts by @dependabot in #495 * Update pytest requirement from <=7.2.1 to <=8.1.1 in /.github/scripts by @dependabot in #494 * Update pytest-runner requirement from <6.0.0 to <7.0.0 in /.github/scripts by @dependabot in #496 * fix typo in dependabot group by @Borda in #497 * Update setuptools requirement from <=69.1.1 to <=69.2.0 in /.github/scripts by @dependabot in #500 * Update hypothesis requirement from <6.100.0 to <6.101.0 in /.github/scripts by @dependabot in #506 * Update levenshtein requirement from <=0.25.0 to <=0.25.1 in /.github/scripts by @dependabot in #510 * Use ast.Constant for recent Python versions by @wdhongtw in #526 * Remove future imports now that we've dropped support for Python 2 by @dbieber in #539 * remove six: Replace six.string_types and six.integer_types, etc. by @dbieber in #541 * Remove sys.version_info checks by @dbieber in #542 * Update setuptools requirement from <=69.2.0 to <=75.1.0 in /.github/scripts by @dependabot in #540 * Simplify requirements.txt by assuming Python 3 by @dbieber in #543 * Update hypothesis requirement from <6.101.0 to <6.113.0 in /.github/scripts by @dependabot in #544 * Remove mock in favor of unittest.mock by @dbieber in #545 * Update pytest requirement from <=8.1.1 to <=8.3.3 in /.github/scripts by @dependabot in #546 * Update label used by dependabot by @dbieber in #547 * Update levenshtein requirement from <=0.25.1 to <=0.26.0 in /.github/scripts by @dependabot in #548 * Upgrade pylint version by @dbieber in #549 * Run github action on pull_request by @dbieber in #550 * Add current system MSYS check by @bonfy in #278 * Remove .format in favor of f-strings by @dbieber in #551 OBS-URL: https://build.opensuse.org/request/show/1219876 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=25
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fire
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,26 +18,22 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-fire
|
||||
Version: 0.5.0
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: A library for automatically generating command line interfaces
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/google/python-fire
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fire/fire-%{version}.tar.gz
|
||||
# Based on https://github.com/google/python-fire/pull/265/files
|
||||
Patch0: python-fire-no-mock.patch
|
||||
Patch1: support-python-311.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
Requires: python-termcolor
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Levenshtein}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module termcolor}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -61,6 +57,7 @@ interfaces (CLIs) from a Python object.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/fire
|
||||
%{python_sitelib}/fire-*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user