15
0
forked from pool/python-pick
Files
python-pick/python-pick.spec
Luigi Baldoni 1511579dfe Accepting request 1033853 from home:alois:branches:devel:languages:python
- Update to version 2.1.0
  * Change the way scroll is handled.
  version 2.0.2:
  * Remove the additional space
  version 2.0.1:
  * Change multiselect symbols
  * Bump pytest from 7.1.2 to 7.1.3
  version 2.0.0:
  * Add Option class
  * Drop options_map_func
  * Drop register_custom_handler
  * Remove docstrings
  * Add multiselect example gif
  * Use markdown for README
  version 1.6.0:
  * Update multiselect mode style
  * Add multiselect example
  * Fix examples
  * Bump pytest from 6.2.5 to 7.1.2
  * Bump mypy from 0.961 to 0.971
  version 1.5.0:
  * Fix mypy call in ci
  * Create dependabot.yml
  * Add static type checking to ci
  * Check static type with pytest
  * Format code
  * Change list to sequence for Picker.options
  * Rename all_selected to selected_indexes

OBS-URL: https://build.opensuse.org/request/show/1033853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pick?expand=0&rev=14
2022-11-06 12:18:50 +00:00

60 lines
1.6 KiB
RPMSpec

#
# spec file for package python-pick
#
# Copyright (c) 2022 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/
#
Name: python-pick
Version: 2.1.0
Release: 0
Summary: Curses-based interactive selection list module
License: MIT
URL: https://github.com/wong2/pick
Source0: https://github.com/wong2/pick/archive/v%{version}.tar.gz#/pick-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module curses}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
pick is a Python library to help create curses-based
interactive selection list in the terminal.
%prep
%setup -q -n pick-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog