!2 Remove python2-entrypoints subpackage
Merge pull request !2 from ultra_planet/master
This commit is contained in:
commit
f2a0060ae5
@ -1,12 +1,12 @@
|
|||||||
Name: python-entrypoints
|
Name: python-entrypoints
|
||||||
Version: 0.2.3
|
Version: 0.2.3
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Discover and load entry points from installed packages
|
Summary: Discover and load entry points from installed packages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://entrypoints.readthedocs.io/
|
URL: https://entrypoints.readthedocs.io/
|
||||||
Source0: https://github.com/takluyver/entrypoints/archive/%{version}/entrypoints-%{version}.tar.gz
|
Source0: https://github.com/takluyver/entrypoints/archive/%{version}/entrypoints-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python2-devel python3-devel python2-pip python3-pip python3-flit python3-sphinx
|
BuildRequires: python3-pip python3-flit python3-sphinx
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -16,18 +16,6 @@ examples are console_scripts entry points, which define shell commands by identi
|
|||||||
Groups of entry points, such as console_scripts, point to objects with similar interfaces. An application might
|
Groups of entry points, such as console_scripts, point to objects with similar interfaces. An application might
|
||||||
use a group to find its plugins, or multiple groups if it has different kinds of plugins.
|
use a group to find its plugins, or multiple groups if it has different kinds of plugins.
|
||||||
|
|
||||||
%package -n python2-entrypoints
|
|
||||||
Summary: Discover and load entry points from installed packages
|
|
||||||
Requires: python2-configparser
|
|
||||||
%{?python_provide:%python_provide python2-entrypoints}
|
|
||||||
|
|
||||||
%description -n python2-entrypoints
|
|
||||||
Entry points are a way for Python packages to advertise objects with some common interface. The most common
|
|
||||||
examples are console_scripts entry points, which define shell commands by identifying a Python function to run.
|
|
||||||
|
|
||||||
Groups of entry points, such as console_scripts, point to objects with similar interfaces. An application might
|
|
||||||
use a group to find its plugins, or multiple groups if it has different kinds of plugins.
|
|
||||||
|
|
||||||
%package -n python3-entrypoints
|
%package -n python3-entrypoints
|
||||||
Summary: Discover and load entry points from installed packages
|
Summary: Discover and load entry points from installed packages
|
||||||
%{?python_provide:%python_provide python3-entrypoints}
|
%{?python_provide:%python_provide python3-entrypoints}
|
||||||
@ -50,16 +38,14 @@ find %{_builddir}/entrypoints-%{version} -type f -name .buildinfo -delete
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install_wheel entrypoints-%{version}-py2.py3-none-any.whl
|
%py3_install_wheel entrypoints-%{version}-py2.py3-none-any.whl
|
||||||
%py2_install_wheel entrypoints-%{version}-py2.py3-none-any.whl
|
|
||||||
|
|
||||||
%files -n python2-entrypoints
|
|
||||||
%doc LICENSE doc/_build/html
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-entrypoints
|
%files -n python3-entrypoints
|
||||||
%doc LICENSE doc/_build/html
|
%doc LICENSE doc/_build/html
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 06 2020 lingsheng <lingsheng@huawei.com> - 0.2.3-11
|
||||||
|
- Remove python2-entrypoints subpackage
|
||||||
|
|
||||||
* Thu Nov 21 2019 lingsheng <lingsheng@huawei.com> - 0.2.3-10
|
* Thu Nov 21 2019 lingsheng <lingsheng@huawei.com> - 0.2.3-10
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user