SHA256
1
0
forked from pool/python-pip
python-pip/python-pip.spec
Thomas Schraitle 6d4e296c7f 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 06:35:08 +00:00

74 lines
2.3 KiB
RPMSpec

#
# 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/
#
# norootforbuild
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define mod_name pip
Name: python-%{mod_name}
Version: 1.0.2
Release: 0
Url: http://pip.openplans.org
Summary: Pip installs packages. Python packages. An easy_install replacement
License: MIT
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-setuptools
%if 0%{?suse_version}
%py_requires
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%endif
%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.
Authors:
--------
Ian Bicking <python-virtualenv@groups.google.com>
%prep
%setup -n %{mod_name}-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
%clean
rm -rf %{buildroot}
%files %{?suse_version: -f INSTALLED_FILES}
%defattr(-,root,root,-)
%if 0%{!?suse_version:1}
%{_bindir}/%{mod_name}*
%python_sitelib/%{mod_name}*
%endif
%changelog