15
0
forked from pool/python-fire
Files
python-fire/python-fire.spec
Matej Cepl 94bdf8ea17 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
2024-11-01 05:38:02 +00:00

64 lines
1.8 KiB
RPMSpec

#
# spec file for package python-fire
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
Name: python-fire
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
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-termcolor
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Levenshtein}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module termcolor}
# /SECTION
%python_subpackages
%description
Python Fire is a library for automatically generating command line
interfaces (CLIs) from a Python object.
%prep
%autosetup -p1 -n fire-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%{python_sitelib}/fire
%{python_sitelib}/fire-*.egg-info
%changelog