- update to 0.4:

* Use set comprehension
  * Fix link to entry_points
  * Treat editable installs as Distributions too
  * Document motvation / constrast to pkg_resources
  * Switch build-backend to flit_core

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-entrypoints?expand=0&rev=14
This commit is contained in:
Dirk Mueller 2022-10-06 15:11:12 +00:00 committed by Git OBS Bridge
parent 6ae120b9db
commit 11e0488c04
4 changed files with 21 additions and 9 deletions

View File

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

BIN
entrypoints-0.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 6 14:25:37 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.4:
* Use set comprehension
* Fix link to entry_points
* Treat editable installs as Distributions too
* Document motvation / constrast to pkg_resources
* Switch build-backend to flit_core
-------------------------------------------------------------------
Mon Mar 16 10:30:18 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-entrypoints
#
# Copyright (c) 2020 SUSE LLC
# 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
@ -19,14 +19,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-entrypoints
Version: 0.3
Version: 0.4
Release: 0
Summary: Discover and load entry points from installed packages
License: MIT
URL: https://github.com/takluyver/entrypoints
Source: https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -52,10 +54,10 @@ plugins, or multiple groups if it has different kinds of plugins.
%setup -q -n entrypoints-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -65,6 +67,6 @@ plugins, or multiple groups if it has different kinds of plugins.
%license LICENSE
%{python_sitelib}/entrypoints.py*
%pycache_only %{python_sitelib}/__pycache__/entrypoints*.py*
%{python_sitelib}/entrypoints-%{version}-py*.egg-info
%{python_sitelib}/entrypoints-%{version}.dist-info
%changelog