Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
python-contract
python-contract.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-contract.spec of Package python-contract
# # spec file for package python-contract # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define corename contract Summary: Programming by Contract for Python Name: python-%{corename} Version: 1.4 Release: 1 Source0: %{corename}-%{version}.tar.bz2 License: Artistic; LPGL; Python Software Foundation License Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif Vendor: Terence Way <terry@wayforward.net> Url: http://www.wayforward.net/pycontract/ BuildRequires: python-devel BuildRequires: python-setuptools >= 0.6 %py_requires %description Annotate function docstrings with pre- and post-conditions, and class/module docstrings with invariants, and this automatically checks the contracts while debugging. %prep %setup -n %{corename}-%{version} %build python setup.py build %install python setup.py install \ --prefix=%{_prefix} \ --root="%{buildroot}" \ --record-rpm=%{name}.files %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root) %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