[Erp5-report] r27278 - in /spec/mandriva/python2.4-setuptools: ./ python2.4-setuptools.spec
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 1 10:55:17 CEST 2009
Author: kazuhiko
Date: Mon Jun 1 10:55:17 2009
New Revision: 27278
URL: http://svn.erp5.org?rev=27278&view=rev
Log:
provide python2.4-setuptools package by ourselves because the package in Mandriva contrib is a bit old and has a bug that prevents zc.buildout working.
Added:
spec/mandriva/python2.4-setuptools/
spec/mandriva/python2.4-setuptools/python2.4-setuptools.spec
Added: spec/mandriva/python2.4-setuptools/python2.4-setuptools.spec
URL: http://svn.erp5.org/spec/mandriva/python2.4-setuptools/python2.4-setuptools.spec?rev=27278&view=auto
==============================================================================
--- spec/mandriva/python2.4-setuptools/python2.4-setuptools.spec (added)
+++ spec/mandriva/python2.4-setuptools/python2.4-setuptools.spec [utf8] Mon Jun 1 10:55:17 2009
@@ -1,0 +1,46 @@
+%define module setuptools
+%define name python2.4-%{module}
+%define version 0.6c9
+%define release %mkrel 1
+
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Summary: Python Distutils Enhancements
+License: Zope Public License (ZPL)
+Group: Development/Python
+Url: http://peak.telecommunity.com/DevCenter/setuptools
+Source0: http://cheeseshop.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
+BuildRequires: python2.4-devel
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}
+
+%description
+Extensions to the python-distutils for large or complex distributions.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python2.4 setup.py build
+perl -pi -e 's|^#!python|#!/usr/bin/python2.4|' \
+ easy_install.py \
+ setuptools/command/easy_install.py
+
+%install
+rm -rf %{buildroot}
+python2.4 setup.py install --root=%{buildroot} --record INSTALLED_FILES.tmp
+
+grep -v -E '^%{_bindir}/easy_install$' INSTALLED_FILES.tmp > INSTALLED_FILES
+rm -f %{buildroot}%{_bindir}/easy_install
+
+%clean
+rm -rf %{buildroot}
+
+%files -f INSTALLED_FILES
+%defattr(-,root,root)
+%doc setuptools.txt pkg_resources.txt api_tests.txt EasyInstall.txt
+
+%changelog
+* Mon Jun 1 2009 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 0.6c9-1nxd2009.1
+- version 0.6c9
More information about the Erp5-report
mailing list