rpms/python-decorator/EL-5 python-decorator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Tue Apr 8 00:19:53 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-decorator/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6224

Modified Files:
	.cvsignore sources 
Added Files:
	python-decorator.spec 
Log Message:
* Thu Dec 20 2007 Toshio Kuratomi <toshio at fedoraproject.org> - 2.2.0-1
- Initial Fedora Build



--- NEW FILE python-decorator.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-decorator
Version:        2.2.0
Release:        1%{?dist}
Summary:        Module to simplify usage of decorators

Group:          Development/Languages
License:        BSD
URL:            http://www.phyast.pitt.edu/~micheles/python/documentation.html
Source0:        http://www.phyast.pitt.edu/~micheles/python/decorator-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools-devel

%description
The aim of the decorator module is 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.  The core of this module is a decorator factory called decorator.

%prep
%setup -q -c -n decorator-%{version}
chmod a-x *
%{__sed} -i 's/\r//' README.txt

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%check
export PYTHONPATH=$RPM_BUILD_ROOT/%{python_sitelib}
%{__python} doctester.py documentation.txt

%files
%defattr(-,root,root,-)
%doc README.txt CHANGES.txt documentation.*
%{python_sitelib}/*

%changelog
* Thu Dec 20 2007 Toshio Kuratomi <toshio at fedoraproject.org> - 2.2.0-1
- Initial Fedora Build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-decorator/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Apr 2008 22:07:13 -0000	1.1
+++ .cvsignore	8 Apr 2008 00:19:19 -0000	1.2
@@ -0,0 +1 @@
+decorator-2.2.0.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-decorator/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Apr 2008 22:07:13 -0000	1.1
+++ sources	8 Apr 2008 00:19:19 -0000	1.2
@@ -0,0 +1 @@
+4732d42d7b9f1b19de960a84b57a63da  decorator-2.2.0.zip




More information about the fedora-extras-commits mailing list