Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-barnum
python-barnum.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-barnum.spec of Package python-barnum
# # spec file for package python-barnum # # 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-%{**}} %bcond_with test Name: python-barnum Version: 0.5.1 Release: 0 License: LGPL-2.0 Summary: Create random data for your applications Url: https://github.com/chris1610/barnum-proj Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/b/barnum/barnum-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes %if %{with test} BuildRequires: %{python_module future} %endif Requires: python-future BuildArch: noarch %python_subpackages %description Barnum is a python-based application for quickly and easily creating pseudo-random data typically used for application testing. %prep %setup -q -n barnum-%{version} chmod a-x README.rst chmod a-x barnum/source-data/*.txt %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # Users shouldn't be rebuilding the data rm %{buildroot}%{_bindir}/rebuild_barnum_data %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor