15
0
forked from pool/python-bindep
Files
python-bindep/python-bindep.spec

72 lines
2.4 KiB
RPMSpec

#
# spec file for package python-bindep
#
# Copyright (c) 2016 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/
#
Name: python-bindep
Version: 2.0.0
Release: 0
Summary: Binary dependency utility
License: Apache-2.0
Group: Development/Languages/Python
Url: http://docs.openstack.org/infra/bindep
Source0: https://pypi.io/packages/source/b/bindep/bindep-%{version}.tar.gz
BuildRequires: python-Parsley
BuildRequires: python-devel
BuildRequires: python-pbr >= 0.6
BuildRequires: python-setuptools
# test requirements
BuildRequires: python-fixtures >= 0.3.12
BuildRequires: python-mock >= 2.0
BuildRequires: python-oslosphinx >= 2.5.0
BuildRequires: python-python-subunit
BuildRequires: python-sphinx >= 1.1.2
BuildRequires: python-sphinxcontrib-programoutput
BuildRequires: python-testrepository >= 0.0.13
BuildRequires: python-testtools >= 0.9.27
Requires: python-Parsley
Requires: python-pbr >= 0.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Bindep is a tool for checking the presence of binary packages needed to
use an application / library. It started life as a way to make it easier to set
up a development environment for OpenStack projects. While OpenStack depends
heavily on `pip` for installation of Python dependencies, some dependencies are
not Python based, and particularly for testing, some dependencies have to be
installed before `pip` can be used - such as `virtualenv` and `pip` itself.
%prep
%setup -q -n bindep-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
## %check
## python setup.py testr
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE ChangeLog AUTHORS NEWS.rst
%{_bindir}/bindep
%{python_sitelib}/*
%changelog