[suggest] python-setuptools 0.6c8

2008-07-30 Thread Brandon Davidson

The attached is a spec file for setuptools 0.8c6

Setuptools is required to build both Trac and Genshi, as well as most recent 
Trac plugins.


http://peak.telecommunity.com/DevCenter/setuptools

setuptools is a collection of enhancements to the Python distutils (for Python 
2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 
2.4) that allow you to more easily build and distribute Python packages, 
especially ones that have dependencies on other packages.


--
Brandon Davidson
Systems Administrator
University of Oregon Neuroinformatics Center
(541) 346-2417 [EMAIL PROTECTED]
Key Fingerprint 1F08 A331 78DF 1EFE F645 8AE5 8FBE 4147 E351 E139
# $Id$
# Authority: dag

%define real_name setuptools
%define version 0.6c8
%define release 1

Summary: Download, build, install, upgrade, and uninstall Python packages -- 
easily!
Name: python-%{real_name}
Version: %{version}
Release:  %{release}.rf
Source0: 
http://pypi.python.org/packages/source/s/setuptools/%{real_name}-%{version}.tar.gz
License: PSF or ZPL
Group: Development/Libraries
Url: http://pypi.python.org/pypi/setuptools

Packager: Dag Wieers <[EMAIL PROTECTED]>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}

# Proper lib installation requires Python 2.4 on 64bit systems
%ifarch ppc64 x86_64 sparc64
BuildRequires: python >= 2.4
Requires: python >= 2.4
%else 
BuildRequires: python >= 2.3
Requires: python >= 2.3
%endif

%description

setuptools is a collection of enhancements to the Python distutils that allow
you to more easily build and distribute Python packages, especially ones that 
have dependencies on other packages.

%prep
%setup -n %{real_name}-%{version}

%build
python setup.py build

%install
python setup.py install --single-version-externally-managed --optimize=0 
--root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Wed Jul 30 2008 Brandon Davidson <[EMAIL PROTECTED]> 0.6c8-1
- Initial package

___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest


Re: [suggest] python-setuptools 0.6c8

2008-08-05 Thread Dag Wieers

On Wed, 30 Jul 2008, Brandon Davidson wrote:


The attached is a spec file for setuptools 0.8c6

Setuptools is required to build both Trac and Genshi, as well as most recent 
Trac plugins.


http://peak.telecommunity.com/DevCenter/setuptools

setuptools is a collection of enhancements to the Python distutils (for 
Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of 
Python 2.4) that allow you to more easily build and distribute Python 
packages, especially ones that have dependencies on other packages.


Since RHEL5/CentOS-5 ships with python-setuptools and since RHEL4 is 
python 2.3.4 I don't see a good reason to ship it in RPMforge.


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest


Re: [suggest] python-setuptools 0.6c8

2008-08-05 Thread Brandon Davidson



Dag Wieers wrote:
Since RHEL5/CentOS-5 ships with python-setuptools and since RHEL4 is 
python 2.3.4 I don't see a good reason to ship it in RPMforge.


So it does. I guess I got carried away with my packaging :)

--
Brandon Davidson
Systems Administrator
University of Oregon Neuroinformatics Center
(541) 346-2417 [EMAIL PROTECTED]
Key Fingerprint 1F08 A331 78DF 1EFE F645 8AE5 8FBE 4147 E351 E139
___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest