Files
python-case/python-case.spec

60 lines
1.6 KiB
RPMSpec

#
# spec file for package python-case
#
# Copyright (c) 2016 SUSE LINUX Products 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-case
Version: 1.1.4
Release: 0
License: BSD
Summary: Python unittest Utilities
Url: http://github.com/celery/case
Group: Development/Languages/Python
Source: https://pypi.io/packages/source/c/case/case-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-coverage
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-six
BuildRequires: python-unittest2
Requires: python-mock
Requires: python-nose
Requires: python-six
Requires: python-unittest2
BuildArch: noarch
%description
Python unittest Utilities
%prep
%setup -q -n case-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc Changelog LICENSE README.rst
%{python_sitelib}/*
%changelog