Files
python-pick/python-pick.spec
Luigi Baldoni 94810c4a26 Accepting request 990886 from home:alois:branches:devel:languages:python
- Update to version 1.4.0
  * Drop support for Python 3.6
  * Add pre-commit config
  * pick returns single tuple when multiselect=False
  version 1.3.1:
  * Bump version
  version 1.3.0:
  Add type hints
  version 1.2.0:
  * Fixed support for Python 3.6
  version 1.1.1:
  * Bump version
  version 1.1.0:
  * Fixes missing `screen` on call to `self.draw`
  version 1.0.0:
  * Drop python2 support

OBS-URL: https://build.opensuse.org/request/show/990886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pick?expand=0&rev=12
2022-07-24 14:13:19 +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: 1.4.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.rst
%{python_sitelib}/*
%changelog