Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3
cram
cram.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cram.spec of Package cram
# # spec file for package cram # # 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: cram Version: 0.7 Release: 0 Summary: A simple testing framework for command line applications License: GPL-2.0 Group: Development/Languages/Python Url: https://bitheap.org/cram/ Source: https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz BuildRequires: python3-coverage BuildRequires: python3-devel BuildRequires: python3-nose BuildRequires: python3-setuptools Requires: python3 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Cram is a functional testing framework for command line applications based on Mercurial's `unified test format'. Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output. %prep %setup -q sed -i 's/python$/python3/' scripts/cram %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %check make %{?_smp_mflags} PYTHON=python3 test %files %defattr(-,root,root,-) %doc COPYING.txt README.rst %{_bindir}/cram %dir %{python3_sitelib}/%{name}/ %dir %{python3_sitelib}/%{name}/__pycache__/ %{python3_sitelib}/%{name}/*.py %{python3_sitelib}/%{name}/__pycache__/*.cpython-*.pyc %{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info %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