2011-09-23 11:20:26 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-ez_setup
|
|
|
|
|
#
|
2022-10-13 07:18:21 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2011-09-23 11:20:26 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
2013-10-24 11:05:34 +00:00
|
|
|
|
2018-12-04 13:26:39 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-09-23 11:20:26 +00:00
|
|
|
#
|
|
|
|
|
|
2013-10-24 11:05:34 +00:00
|
|
|
|
2017-12-11 08:23:47 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2011-09-23 11:20:26 +00:00
|
|
|
Name: python-ez_setup
|
|
|
|
|
Version: 0.9
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Contains ez_setup.py and distribute_setup.py
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
2022-10-13 07:18:21 +00:00
|
|
|
URL: https://github.com/ActiveState/ez_setup
|
2017-12-11 08:23:47 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/e/ez_setup/ez_setup-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-10-13 07:18:21 +00:00
|
|
|
BuildArch: noarch
|
2017-12-12 08:14:25 +00:00
|
|
|
%ifpython2
|
|
|
|
|
# also provides distribute_setup.py
|
|
|
|
|
Conflicts: python-mockito < 0.5.3
|
|
|
|
|
%endif
|
2017-12-11 08:23:47 +00:00
|
|
|
%python_subpackages
|
2011-09-23 11:20:26 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
setup.py of several Python projects blindly import the setuptools bootstrap
|
|
|
|
|
module ez_setup.py without realizing that it is usually not installed in the
|
|
|
|
|
user's machine. This causes much trouble. Include ez_setup.py (and
|
|
|
|
|
distribute_setup.py) as a installable Python package so users can do
|
|
|
|
|
easy_install ez_setup troublesome_package as a workaround.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n ez_setup-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2017-12-11 08:23:47 +00:00
|
|
|
%python_build
|
2011-09-23 11:20:26 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-12-11 08:23:47 +00:00
|
|
|
%python_install
|
2011-09-23 11:20:26 +00:00
|
|
|
|
2017-12-11 08:23:47 +00:00
|
|
|
%files %{python_files}
|
2011-09-23 11:20:26 +00:00
|
|
|
%doc NEWS.txt README.rst
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|