Accepting request 1138798 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1138798 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncclick?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81d98cbf6c8813f9cd5599f586d56cfc532e9e6441391974d10827abb90fe833
|
||||
size 341300
|
||||
3
asyncclick-8.1.7.0-async-gh.tar.gz
Normal file
3
asyncclick-8.1.7.0-async-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d9efd46d994785ccf80d0b04f87dfcab2885ce91d44a5c1b2810277214da482
|
||||
size 345889
|
||||
@@ -1,3 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 14 15:48:21 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 8.1.7.0+async
|
||||
* Fix issue with regex flags in shell completion. #2581
|
||||
* Bash version detection issues a warning instead of an error.
|
||||
#2574
|
||||
* Fix issue with completion script for Fish shell. #2567
|
||||
- Version 8.1.6
|
||||
* Fix an issue with type hints for @click.group(). #2558
|
||||
- Version 8.1.5
|
||||
* Fix an issue with type hints for @click.command(),
|
||||
@click.option(), and other decorators. Introduce typing tests.
|
||||
#2558
|
||||
- Version 8.1.4
|
||||
* Replace all typing.Dict occurrences to typing.MutableMapping
|
||||
for parameter hints. #2255
|
||||
* Improve type hinting for decorators and give all generic types
|
||||
parameters. #2398
|
||||
* Fix return value and type signature of
|
||||
shell_completion.add_completion_class function. #2421
|
||||
* Bash version detection doesn’t fail on Windows. #2461
|
||||
* Completion works if there is a dot (.) in the program name.
|
||||
#2166
|
||||
* Improve type annotations for pyright type checker. #2268
|
||||
* Improve responsiveness of click.clear(). #2284
|
||||
* Improve command name detection when using Shiv or PEX. #2332
|
||||
* Avoid showing empty lines if command help text is empty. #2368
|
||||
* ZSH completion script works when loaded from fpath. #2344.
|
||||
* EOFError and KeyboardInterrupt tracebacks are not suppressed
|
||||
when standalone_mode is disabled. #2380
|
||||
* @group.command does not fail if the group was created with a
|
||||
custom command_class. #2416
|
||||
* multiple=True is allowed for flag options again and does not
|
||||
require setting default=(). #2246, #2292, #2295
|
||||
* Make the decorators returned by @argument() and @option()
|
||||
reusable when the cls parameter is used. #2294
|
||||
* Don’t fail when writing filenames to streams with strict
|
||||
errors. Replace invalid bytes with the replacement character
|
||||
(<28>). #2395
|
||||
* Remove unnecessary attempt to detect MSYS2 environment. #2355
|
||||
* Remove outdated and unnecessary detection of App Engine
|
||||
environment. #2554
|
||||
* echo() does not fail when no streams are attached, such as with
|
||||
pythonw on Windows. #2415
|
||||
* Argument with expose_value=False do not cause completion to
|
||||
fail. #2336
|
||||
- Switch to github archive, because upstream forgot to release on
|
||||
PyPI gh#python-trio/asyncclick#18
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 07:22:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-asyncclick
|
||||
#
|
||||
# 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
|
||||
@@ -17,26 +17,31 @@
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define archiveversion 8.1.7.0-async
|
||||
Name: python-asyncclick
|
||||
Version: 8.1.3.4
|
||||
Version: 8.1.7.0+async
|
||||
Release: 0
|
||||
Summary: A wrapper around optparse for command line utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/python-trio/asyncclick
|
||||
Source: https://files.pythonhosted.org/packages/source/a/asyncclick/asyncclick-%{version}.tar.gz
|
||||
BuildRequires: %{python_module anyio}
|
||||
# Upstream forgot to release on PyPI: https://github.com/python-trio/asyncclick/issues/18
|
||||
#Source: https://files.pythonhosted.org/packages/source/a/asyncclick/asyncclick-%%{version}.tar.gz
|
||||
Source: https://github.com/python-trio/asyncclick/archive/refs/tags/%{version}.tar.gz#/asyncclick-%{archiveversion}-gh.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module trio}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Requires: python-anyio
|
||||
# SECTION test
|
||||
BuildRequires: %{python_module anyio}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module trio}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -49,9 +54,10 @@ Line Interface Creation Kit". It is configurable, and comes with
|
||||
defaults out of the box.
|
||||
|
||||
%prep
|
||||
%setup -q -n asyncclick-%{version}
|
||||
%setup -q -n asyncclick-%{archiveversion}
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
@@ -60,7 +66,7 @@ defaults out of the box.
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest -rs --tb=short
|
||||
%pytest -rsfE
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.rst
|
||||
|
||||
Reference in New Issue
Block a user