Group :: Development/Python3
RPM: python3-module-decorator
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define modname decorator
Name: python3-module-%modname
Version: 4.4.2
Release: alt2
Summary: Better living through Python with decorators
License: BSD-style
Group: Development/Python3
Url: http://pypi.python.org/pypi/decorator
Vcs: https://github.com/micheles/decorator.git
Source0: https://files.pythonhosted.org/packages/source/d/%modname/%modname-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%description
Python decorators are an interesting example of why syntactic sugar
matters. In principle, their introduction in Python changed nothing,
since they do not provide any new functionality which was not already
present in the language. In practice, their introduction has
significantly changed the way we structure our programs in Python. I
believe the change is for the best, and that decorators are a great idea
since:
* decorators help reducing boilerplate code;
* decorators help separation of concerns;
* decorators enhance readability and maintenability;
* decorators are explicit.
Michele Simionato <michele simionato at gmail com>
%prep
%setup -n %modname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*
%doc CHANGES.md LICENSE.txt README.rst
%changelog
…
Full changelog you can see here
%define modname decorator
Name: python3-module-%modname
Version: 4.4.2
Release: alt2
Summary: Better living through Python with decorators
License: BSD-style
Group: Development/Python3
Url: http://pypi.python.org/pypi/decorator
Vcs: https://github.com/micheles/decorator.git
Source0: https://files.pythonhosted.org/packages/source/d/%modname/%modname-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%description
Python decorators are an interesting example of why syntactic sugar
matters. In principle, their introduction in Python changed nothing,
since they do not provide any new functionality which was not already
present in the language. In practice, their introduction has
significantly changed the way we structure our programs in Python. I
believe the change is for the best, and that decorators are a great idea
since:
* decorators help reducing boilerplate code;
* decorators help separation of concerns;
* decorators enhance readability and maintenability;
* decorators are explicit.
Michele Simionato <michele simionato at gmail com>
%prep
%setup -n %modname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*
%doc CHANGES.md LICENSE.txt README.rst
%changelog
…
Full changelog you can see here