forked from pool/python-entrypoint2
Accepting request 520197 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/520197 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-entrypoint2?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:38:12 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:05:18 UTC 2013 - speilicke@suse.com
|
||||
|
||||
@@ -23,3 +28,4 @@ Mon Mar 26 11:39:09 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Initial version
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-entrypoint2
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -16,24 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-entrypoint2
|
||||
Version: 0.0.6
|
||||
Release: 0
|
||||
Url: https://github.com/ponty/entrypoint2
|
||||
Summary: Easy to use command-line interface for python modules, fork of entrypoint
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/e/entrypoint2/entrypoint2-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
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: python-rpm-macros
|
||||
%ifpython2
|
||||
Requires: python-argparse
|
||||
Requires: python-decorator
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Requires: python-decorator
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
entrypoint2 is an easy to use command-line interface for python modules, fork
|
||||
@@ -43,12 +43,12 @@ of entrypoint.
|
||||
%setup -q -n entrypoint2-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user