SPECS: python-setuptools.spec - split easy_install into -devel to drop pyth...

glen glen at pld-linux.org
Wed Aug 6 18:29:43 CEST 2008


Author: glen                         Date: Wed Aug  6 16:29:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- split easy_install into -devel to drop python-devel requirement for pkg_resources module
- need only dep for python abi, which is automatic
- rel 2

---- Files affected:
SPECS:
   python-setuptools.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/python-setuptools.spec
diff -u SPECS/python-setuptools.spec:1.25 SPECS/python-setuptools.spec:1.26
--- SPECS/python-setuptools.spec:1.25	Mon Apr  7 23:56:07 2008
+++ SPECS/python-setuptools.spec	Wed Aug  6 18:29:38 2008
@@ -1,30 +1,31 @@
 # $Revision$, $Date$
+# TODO:
+# - sync -pl
 %define		module	setuptools
-%define		sub   	c8
-%define		rel		1
+%define		subver 	c8
+%define		rel		2
 Summary:	A collection of enhancements to the Python distutils
 Summary(pl.UTF-8):	Zestaw rozszerzeń dla pythonowych distutils
 Name:		python-setuptools
 Version:	0.6
-Release:	1.%{sub}.%{rel}
+Release:	1.%{subver}.%{rel}
 Epoch:		1
 License:	GPL
 Group:		Development/Languages/Python
-Source0:	http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}%{sub}.tar.gz
+Source0:	http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}%{subver}.tar.gz
 # Source0-md5:	0e9bbe1466f3ee29588cc09d3211a010
 URL:		http://peak.telecommunity.com/DevCenter/setuptools
-%pyrequires_eq	python
 BuildRequires:	python-devel
-Requires:	python-devel
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 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.
+that allow you to more easily build and distribute Python packages,
+especially ones that have dependencies on other packages.
+
+This package contains the runtime components of setuptools, necessary
+to execute the software that requires pkg_resources.py.
 
 %description -l pl.UTF-8
 setuptools to zestaw rozszerzeń do pythonowych distutils (dla Pythona
@@ -33,11 +34,25 @@
 rozprowadzanie pakietów Pythona, szczególnie tych mających zależności
 od innych pakietów.
 
+%package devel
+Summary:	Download, install, upgrade, and uninstall Python packages
+Group:		Development/Languages
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-devel
+
+%description devel
+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.
+
+This package contains the components necessary to build and install
+software requiring setuptools.
+
 %prep
-%setup -q -n %{module}-%{version}%{sub}
+%setup -q -n %{module}-%{version}%{subver}
 
 %build
-python ./setup.py build
+%{__python} ./setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -59,18 +74,29 @@
 
 %files
 %defattr(644,root,root,755)
-%doc *.txt
-%attr(755,root,root) %{_bindir}/*
+%doc pkg_resources.txt setuptools.txt
 %{py_sitescriptdir}/%{module}*
-%{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/pkg_resources.py[co]
+%{py_sitescriptdir}/site.py[co]
 %{py_sitescriptdir}/site.py
 
+%files devel
+%defattr(644,root,root,755)
+%doc EasyInstall.txt README.txt api_tests.txt
+%attr(755,root,root) %{_bindir}/easy_install*
+%{py_sitescriptdir}/easy_install.py[co]
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2008/08/06 16:29:38  glen
+- split easy_install into -devel to drop python-devel requirement for pkg_resources module
+- need only dep for python abi, which is automatic
+- rel 2
+
 Revision 1.25  2008/04/07 21:56:07  wrobell
 - ver. 0.6.0c8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-setuptools.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list