python-setuptools/python-setuptools.spec

102 lines
3.5 KiB
RPMSpec

%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 c6
Release: 1
License: PSF or ZPL
Group: Development/Libraries/Python
Source: http://cheeseshop.python.org/packages/source/s/setuptools/%{modname}-%{version}%{extraver}.tar.gz
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 <peak@eby-sarna.com>
%prep
%setup -q -n %{modname}-%{version}%{extraver}
%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
* 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 <jfunk@funktronics.ca> - 0.6-5
- Requires python-devel at runtime
* Fri Jun 23 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-4
- No longer need pth kludge
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-3
- Update
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.2
- Create a pth file
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.1
- Initial release