14
0

- update to 1.1:

* Python 3.10 support
  * Python 3.11 support
  * support positional list for python 3.9+
  * type hints added 

- update to 0.2.4:
  * drop python 2x support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-entrypoint2?expand=0&rev=27
This commit is contained in:
2023-01-06 12:33:38 +00:00
committed by Git OBS Bridge
parent c79766e8e7
commit 451ac03d23
4 changed files with 22 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47c33bb69abeda85e3f2a8b49e75e6eeba530afddcb9eecea477ed3f881ea56a
size 11396

BIN
entrypoint2-1.1-gh.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Jan 6 12:31:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.1:
* Python 3.10 support
* Python 3.11 support
* support positional list for python 3.9+
* type hints added
-------------------------------------------------------------------
Sat Jan 15 15:38:12 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.2.4:
* drop python 2x support
-------------------------------------------------------------------
Thu Sep 17 11:06:16 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-entrypoint2
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,14 +25,15 @@
%define psuffix %{nil}
%bcond_with test
%endif
%global skip_python2 1
Name: python-entrypoint2
Version: 0.2.1
Version: 1.1
Release: 0
Summary: Command-line interface for python modules
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/ponty/entrypoint2
Source: https://github.com/ponty/entrypoint2/archive/%{version}.tar.gz#/entrypoint2-%{version}.tar.gz
Source: https://github.com/ponty/entrypoint2/archive/%{version}.tar.gz#/entrypoint2-%{version}-gh.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -55,8 +56,6 @@ off entrypoint.
%prep
%setup -q -n entrypoint2-%{version}
# argparse is py2.6 or older
sed -i -e '/argparse/d' requirements.txt
%if !%{with test}
%build