Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:tg21
python-zope-interface
python-zope-interface.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-zope-interface.spec of Package python-zope-interface
#norootforbuild # %define real_name zope.interface %define mod_name zope-interface # # Name: python-%{mod_name} Group: Development/Libraries/Python Version: 3.5.2 Release: 0 License: ZPLv2.1 Summary: Interfaces for Python Autoreqprov: on Source: %{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-setuptools BuildRequires: python-devel Requires: python-transaction Url: http://pypi.python.org/pypi/zope.interface %{py_requires} # build a c module -> not noarch #%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))') #%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} #BuildArch: noarch #%else #%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} #%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} #%endif %description This package is intended to be independently reusable in any Python project. It is maintained by the Zope Toolkit project. This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. %prep %setup -n %{real_name}-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc CHANGES.txt PKG-INFO README.txt %changelog * Sun Nov 23 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 3.5.2 - Initial build for tg21
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