%define modname setuptools Name: python-%{modname} URL: http://peak.telecommunity.com/DevCenter/setuptools Summary: Download, build, install, upgrade, and uninstall Python packages -- easily! Version: 0.6 %define extraver c8 Release: 1 License: PSF or ZPL Group: Development/Libraries/Python Source: http://cheeseshop.python.org/packages/source/s/setuptools/%{modname}-%{version}%{extraver}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root %{py_requires} Requires: python-devel BuildRequires: python-devel %description setuptools is a collection of enhancements to the Python distutils (for Python 2.3 and up) that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. Authors: -------- Phillip J. Eby %prep %setup -q -n %{modname}-%{version}%{extraver} find . -name "*.txt" -exec chmod -v 644 {} ";" %build export CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt %exclude %{py_sitedir}/setuptools/*.exe %changelog * Wed May 21 2008 - James Oakley - 0.6-1 - Update to 0.6c8 - Fixed a missing files problem when using Windows source distributions on non-Windows platforms, due to distutils not handling manifest file line endings correctly - Updated Pyrex support to work with Pyrex 0.9.6 and higher - Minor changes for Jython compatibility - Fixed not installing eggs in install_requires if they were also used for setup_requires or tests_require - Fixed not fetching eggs in install_requires when running tests - Allow ez_setup.use_setuptools() to upgrade existing setuptools installations when called from a standalone setup.py - Added a warning if a namespace package is declared, but its parent package is not also declared as a namespace * Tue Oct 23 2007 - James Oakley - 0.6-1 - Update to 0.6c7 - Fixed distutils.filelist.findall() crashing on broken symlinks, and egg_info command failing on new, uncommitted SVN directories - Fix import problems with nested namespace packages installed via --root or --single-version-externally-managed, due to the parent package not having the child package as an attribute * Sun Jan 28 2007 - judas_iscariote@shorewall.net - update to version 0.6c5 * Fri Oct 27 2006 - poeml@suse.de - update to 0.6c3: - Fixed breakages caused by Subversion 1.4's new "working copy" format - The ez_setup module displays the conflicting version of setuptools (and its installation location) when a script requests a version that's not available. - Running setup.py develop on a setuptools-using project will now install setuptools if needed, instead of only downloading the egg. - Fixed AttributeError when trying to download a setup_requires dependency when a distribution lacks a dependency_links setting. - Made zip-safe and not-zip-safe flag files contain a single byte, so as to play better with packaging tools that complain about zero-length files. - Made setup.py develop respect the --no-deps option, which it previously was ignoring. - Support extra_path option to setup() when install is run in backward-compatibility mode. - Source distributions now always include a setup.cfg file that explicitly sets egg_info options such that they produce an identical version number to the source distribution's version number. (Previously, the default version number could be different due to the use of --tag-date, or if the version was overridden on the command line that built the source distribution.) - Fix register not obeying name/version set by egg_info command, if egg_info wasn't explicitly run first on the same command line. - Added --no-date and --no-svn-revision options to egg_info command, to allow suppressing tags configured in setup.cfg. - Fixed redundant warnings about missing README file(s); it should now appear only if you are actually a source distribution. * Tue Jul 04 2006 - James Oakley - 0.6-5 - Requires python-devel at runtime * Fri Jun 23 2006 - James Oakley - 0.6-4 - No longer need pth kludge * Thu Jun 22 2006 - James Oakley - 0.6-3 - Update * Thu Oct 13 2005 - James Oakley - 0.6-ft.2 - Create a pth file * Thu Oct 13 2005 - James Oakley - 0.6-ft.1 - Initial release