SHA256
1
0
forked from pool/python-pip
python-pip/python-pip.spec

60 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-pip
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-pip
Accepting request 82747 from home:ocefpaf:branches:devel:languages:python - Update to 1.0.2 * Fixed docs issues. * Fixed issue #295 - Reinstall a package when using the ``install -I`` option * Fixed issue #283 - Finds a Git tag pointing to same commit as origin/master * Fixed issue #279 - Use absolute path for path to docs in setup.py * Fixed issue #320 - Correctly handle exceptions on Python3. * Fixed issue #314 - Correctly parse ``--editable`` lines in requirements files - Updates from 1.0.1 * Start to use git-flow. * Fixed issue #274 - `find_command` should not raise AttributeError * Fixed issue #273 - respect Content-Disposition header. Thanks Bradley Ayers. * Fixed issue #233 - pathext handling on Windows. * Fixed issue #252 - svn+svn protocol. * Fixed issue #44 - multiple CLI searches. * Fixed issue #266 - current working directory when running setup.py clean. - Updates from 1.0 * Added Python 3 support! Huge thanks to Vinay Sajip, Vitaly Babiy, Kelsey Hightower, and Alex Gronholm, among others. * Download progress only shown on a real TTY. Thanks Alex Morega. * Fixed finding of VCS binaries to not be fooled by same-named directories. Thanks Alex Morega. * Fixed uninstall of packages from system Python for users of Debian/Ubuntu python-setuptools package (workaround until fixed in Debian and Ubuntu). * Added `get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py - Updates from 0.8.3 * Fixed issue #14 - No uninstall-on-upgrade with URL package. Thanks Oliver Tonnhofer * Fixed issue #163 - Egg name not properly resolved. Thanks Igor Sobreira * Fixed issue #178 - Non-alphabetical installation of requirements. Thanks Igor Sobreira * Fixed issue #199 - Documentation mentions --index instead of --index-url. Thanks Kelsey Hightower * Fixed issue #204 - rmtree undefined in mercurial.py. Thanks Kelsey Hightower * Fixed bug in Git vcs backend that would break during reinstallation. * Fixed bug in Mercurial vcs backend related to pip freeze and branch/tag resolution. * Fixed bug in version string parsing related to the suffix "-dev". OBS-URL: https://build.opensuse.org/request/show/82747 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=9
2011-09-19 08:35:08 +02:00
Version: 1.0.2
Release: 0
Url: http://www.pip-installer.org
Summary: Pip installs packages. Python packages. An easy_install replacement
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Pip is a replacement for easy_install. It uses mostly the same techniques for
finding packages, so packages that were made easy_installable should be
pip-installable as well.
%prep
%setup -q -n pip-%{version}
sed -i "1d" pip/__init__.py # Fix non-executable script
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/*
%{_bindir}/pip*
%{python_sitelib}/*
%changelog