Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:tg2beta
python-decorator
python-decorator.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-decorator.spec of Package python-decorator
%define modname decorator Name: python-%{modname} Version: 3.0.0 Release: 1 Summary: Better Living Through Python With Decorators URL: http://www.phyast.pitt.edu/~micheles/python/documentation.html License: BSD Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot %{py_requires} BuildRequires: python-devel %description As of now, writing custom decorators correctly requires some experience and it is not as easy as it could be. For instance, typical implementations of decorators involve nested functions, and we all know that flat is better than nested. Moreover, typical implementations of decorators do not preserve the signature of decorated functions, thus confusing both documentation tools and developers. The aim of the decorator module it to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. Authors: -------- Michele Simionato <michele.simionato@gmail.com> %prep %setup -q -n %{modname}-%{version} # Remove executable bits from doc files chmod -x * %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc %changelog * Wed Mar 04 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 3.0.0 - Turbogears 2 needs version 3.0.0 * Tue Dec 02 2008 - James Oakley <jfunk@funktronics.ca> - 2.3.2-1 - Initial release
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