Accepting request 56453 from home:saschpe:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/56453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=7
This commit is contained in:
Cristian Rodríguez 2010-12-21 15:41:18 +00:00 committed by Git OBS Bridge
parent 7f20eeb315
commit 90870e2e89
4 changed files with 50 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fdc8d00c445fbf063da29e1e298933f1015ea5e39932e04a937b5d508dbf7dc
size 80040

3
pip-0.8.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea76795ffa83f2c644c86c831ac2133d136546d1a05b24443743d0c5807de95a
size 80516

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Dec 20 20:14:53 UTC 2010 - saschpe@gmx.de
- Regenerated spec file:
* added 'Requires: python-setuptools'
- Update to 0.8.2:
* Avoid redundant unpacking of bundles (from pwaller)
* Fixed issue #32, #150, #161 - Fixed checking out the correct
tag/branch/commit when updating an editable Git requirement.
* Fixed issue #49 - Added ability to install version control
requirements without making them editable, e.g.:
pip install hg+http://bitbucket.org/ianb/pip/
* Fixed issue #175 - Correctly locate build and source directory
on Mac OS X.
* Added git+https:// scheme to Git VCS backend.
-------------------------------------------------------------------
Wed Sep 15 02:38:50 UTC 2010 - alexandre@exatati.com.br

View File

@ -1,5 +1,5 @@
#
# spec file for package python-pip (Version 0.8.1)
# spec file for package python-pip
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -11,51 +11,63 @@
# 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-pip
Version: 0.8.1
Release: 1
License: MIT License
Summary: Pip installs packages. Python packages. An easy_install replacement
Group: Development/Libraries/Python
Source: pip-%{version}.tar.bz2
# List of additional build dependencies
Name: python-%{mod_name}
Version: 0.8.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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
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.
Author:
--------
The Open Planning Project <python-virtualenv@groups.google.com>
Authors:
--------
Ian Bicking <python-virtualenv@groups.google.com>
%prep
%setup -q -n pip-%version
%setup -n %{mod_name}-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=filelist
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
%clean
rm -rf %{buildroot}
%files -f filelist
%defattr(-,root,root)
%files %{?suse_version: -f INSTALLED_FILES}
%defattr(-,root,root,-)
%if 0%{!?suse_version:1}
%{_bindir}/%{mod_name}*
%python_sitelib/%{mod_name}*
%endif
%changelog