Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory
checked in at Mon Sep 26 10:17:07 CEST 2011.



--------
--- python-pip/python-pip.changes       2011-09-17 15:16:36.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-pip/python-pip.changes  2011-09-22 
11:07:16.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Sep 22 09:04:39 UTC 2011 - [email protected]
+
+- Don't repackage upstream tarball
+- Require python-distribute instead of setuptools
+- Package documentation
+- Fix non-executable script rpmlint warning
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  pip-1.0.2.tar.bz2

New:
----
  pip-1.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pip.spec ++++++
--- /var/tmp/diff_new_pack.bpnyLd/_old  2011-09-26 10:17:03.000000000 +0200
+++ /var/tmp/diff_new_pack.bpnyLd/_new  2011-09-26 10:17:03.000000000 +0200
@@ -15,59 +15,45 @@
 # 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}
+Name:           python-pip
 Version:        1.0.2
 Release:        0
-Url:            http://pip.openplans.org
+Url:            http://www.pip-installer.org
 Summary:        Pip installs packages.  Python packages.  An easy_install 
replacement
 License:        MIT
 Group:          Development/Languages/Python
-Source:         %{mod_name}-%{version}.tar.bz2
+Source:         
http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:       python-setuptools
+BuildRequires:  python-distribute
+Requires:       python-distribute
 %if 0%{?suse_version}
 %py_requires
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+%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
+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 <[email protected]>
-
 %prep
-%setup -n %{mod_name}-%{version}
+%setup -q -n pip-%{version}
+sed -i "1d" pip/__init__.py # Fix non-executable script
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
%{?suse_version: --record-rpm=INSTALLED_FILES}
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
-%files %{?suse_version: -f INSTALLED_FILES}
+%files
 %defattr(-,root,root,-)
-%if 0%{!?suse_version:1}
-%{_bindir}/%{mod_name}*
-%python_sitelib/%{mod_name}*
-%endif
+%doc AUTHORS.txt LICENSE.txt docs/*
+%{_bindir}/pip*
+%{python_sitelib}/*
 
 %changelog


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to