forked from pool/python-entrypoint2
Accepting request 628638 from devel:languages:python
- Drop python-argparse dependency that is not needed OBS-URL: https://build.opensuse.org/request/show/628638 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-entrypoint2?expand=0&rev=12
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 13:52:40 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Drop python-argparse dependency that is not needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 23:48:55 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-entrypoint2
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,14 +23,11 @@ Release: 0
|
||||
Summary: Command-line interface for python modules
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/ponty/entrypoint2
|
||||
URL: https://github.com/ponty/entrypoint2
|
||||
Source: https://files.pythonhosted.org/packages/source/e/entrypoint2/entrypoint2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
Requires: python-argparse
|
||||
%endif
|
||||
Requires: python-decorator
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -41,16 +38,19 @@ off entrypoint.
|
||||
|
||||
%prep
|
||||
%setup -q -n entrypoint2-%{version}
|
||||
# argparse is py2.6 or older
|
||||
sed -i -e '/argparse/d' requirements.txt
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user