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

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed May 9 21:23:35 UTC 2007


Author: lmacken

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

Modified Files:
	sources 
Added Files:
	python-decoratortools.spec 
Log Message:
import python-decoratortools into EL-5 and FC-6 branches


--- NEW FILE python-decoratortools.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}

%define module DecoratorTools

Name:           python-decoratortools
Version:        1.4
Release:        2%{?dist}
Summary:        Use class and function decorators -- even in Python 2.3
Group:          Development/Languages
License:        PSF or ZPL
URL:            http://cheeseshop.python.org/pypi/DecoratorTools
Source0:        http://cheeseshop.python.org/packages/source/D/DecoratorTools/%{module}-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-setuptools python-devel

%description
Want to use decorators, but still need to support Python 2.3? Wish you could
have class decorators, decorate arbitrary assignments, or match decorated
function signatures to their original functions? Then you need "DecoratorTools"


%prep
%setup -q -n %{module}-%{version}


%build
%{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README.txt
%{python_sitelib}/peak
%{python_sitelib}/%{module}-%{version}-py%{pyver}.egg-info
%{python_sitelib}/%{module}-%{version}-py%{pyver}-nspkg.pth


%changelog
* Tue May  8 2007 Luke Macken <lmacken at redhat.com>  - 1.4-2
- Own the peak namespace, for now.

* Thu May  3 2007 Luke Macken <lmacken at redhat.com> - 1.4-1
- Initial creation


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-decoratortools/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 May 2007 20:15:20 -0000	1.1
+++ sources	9 May 2007 21:23:01 -0000	1.2
@@ -0,0 +1 @@
+8b073d17ba19d9d053731e668a4e36e0  DecoratorTools-1.4.zip




More information about the fedora-extras-commits mailing list