14
0
Files
python-zc.buildout/python-zc.buildout.spec
Sebastian Wagner 7215a1f218 - update to 2.9.5
* Use HTTPS for PyPI's index.  PyPI redirects HTTP to HTTPS by default
   now so using HTTPS directly avoids the potential for that redirect
   being modified in flight.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=3
2017-09-23 21:51:58 +00:00

81 lines
2.6 KiB
RPMSpec

#
# spec file for package python-zc.buildout
#
# 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
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
%bcond_without test
Name: python-zc.buildout
Version: 2.9.5
Release: 0
Url: http://pypi.python.org/pypi/zc.buildout
Summary: System for managing development buildouts
License: ZPL-2.1
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/z/zc.buildout/zc.buildout-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
# disabled because of unprovideable requirements (bobo depends on bobodoctestumentation depends on zc.buildout)
#%%if %%{with test}
#BuildRequires: %%{python_module bobo == 2.3.0}
#BuildRequires: %%{python_module manuel}
#BuildRequires: %%{python_module zc.recipe.deployment}
#BuildRequires: %%{python_module zc.zdaemonrecipe}
#BuildRequires: %%{python_module zdaemon}
#BuildRequires: %%{python_module zope.testing}
#%%endif
# /SECTION
BuildArch: noarch
Provides: python-zc_buildout = %version
Obsoletes: python-zc_buildout < %version
%python_subpackages
%description
System for managing development buildouts.
Buildout is a project designed to solve 2 problems:
* Application-centric assembly and deployment
* Repeatable assembly of programs from Python software distributions
%prep
%setup -q -n zc.buildout-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/zc/buildout
%python_expand %fdupes %{buildroot}%{$python_sitelib}/zc.buildout-2.9.5-py%{$python_version}.egg-info
#%if %%{with test}
#%%check
#%%python_exec setup.py test
#%%endif
%files %{python_files}
%doc README.rst CHANGES.rst COPYRIGHT.txt DEVELOPERS.txt
%license LICENSE.txt
%{python_sitelib}/*
%python3_only %{_bindir}/buildout
%changelog