[Python-modules-commits] r21940 - in packages/python-pip/trunk/debian (14 files)
chaica-guest at users.alioth.debian.org
chaica-guest at users.alioth.debian.org
Sun May 27 02:25:29 UTC 2012
Date: Sunday, May 27, 2012 @ 02:25:27
Author: chaica-guest
Revision: 21940
* New upstream version (Closes: #632578,#633610,#653049)
* debian/control
- Add python3-pip binary package section
- Add python3 in B-D
- Add python3-pkg-resources and python3-setuptools in Depends
- Bump Standards-Version to 3.9.3
- Add X-Python3-Version field
- add python-dev, python3-dev and build-essential in Recommends
in order to be able to install C extensions (Closes: #633974)
* Add python-pip.manpages and python3-pip.manpages
* Update the pip.1 manpage
* Add the pip-2.7.1 and pip.3.2.1 manpages
* Add python-pip.links to link to pip exe name only for python2
* debian/patches
- Modify remove_hardcoded_python_version.patch to generate pip-X.Y binaries
* debian/rules
- Add with python3 to dh
Added:
packages/python-pip/trunk/debian/pip-2.7.1
(from rev 21939, packages/python-pip/trunk/debian/pip.1)
packages/python-pip/trunk/debian/pip-3.2.1
(from rev 21939, packages/python-pip/trunk/debian/pip.1)
packages/python-pip/trunk/debian/python-pip.install
packages/python-pip/trunk/debian/python-pip.links
packages/python-pip/trunk/debian/python-pip.manpages
(from rev 21939, packages/python-pip/trunk/debian/manpages)
packages/python-pip/trunk/debian/python3-pip.install
packages/python-pip/trunk/debian/python3-pip.manpages
(from rev 21939, packages/python-pip/trunk/debian/manpages)
Modified:
packages/python-pip/trunk/debian/changelog
packages/python-pip/trunk/debian/control
packages/python-pip/trunk/debian/docs
packages/python-pip/trunk/debian/patches/remove_hardcoded_python_version.patch
packages/python-pip/trunk/debian/pip.1
packages/python-pip/trunk/debian/rules
Deleted:
packages/python-pip/trunk/debian/manpages
Modified: packages/python-pip/trunk/debian/changelog
===================================================================
--- packages/python-pip/trunk/debian/changelog 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/changelog 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1,3 +1,25 @@
+python-pip (1.1-1) unstable; urgency=low
+
+ * New upstream version (Closes: #632578,#633610,#653049)
+ * debian/control
+ - Add python3-pip binary package section
+ - Add python3 in B-D
+ - Add python3-pkg-resources and python3-setuptools in Depends
+ - Bump Standards-Version to 3.9.3
+ - Add X-Python3-Version field
+ - add python-dev, python3-dev and build-essential in Recommends
+ in order to be able to install C extensions (Closes: #633974)
+ * Add python-pip.manpages and python3-pip.manpages
+ * Update the pip.1 manpage
+ * Add the pip-2.7.1 and pip.3.2.1 manpages
+ * Add python-pip.links to link to pip exe name only for python2
+ * debian/patches
+ - Modify remove_hardcoded_python_version.patch to generate pip-X.Y binaries
+ * debian/rules
+ - Add with python3 to dh
+
+ -- Carl Chenet <chaica at debian.org> Sun, 27 May 2012 04:14:03 +0200
+
python-pip (1.0-1) unstable; urgency=low
* New upstream version
Modified: packages/python-pip/trunk/debian/control
===================================================================
--- packages/python-pip/trunk/debian/control 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/control 2012-05-27 02:25:27 UTC (rev 21940)
@@ -2,20 +2,34 @@
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Carl Chenet <chaica at ohmytux.com>, Jeff Licquia <licquia at debian.org>
+Uploaders: Carl Chenet <chaica at debian.org>, Jeff Licquia <licquia at debian.org>
Homepage: http://pip.openplans.org/
-Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3)
-Build-Depends-Indep: python-setuptools (>= 0.6c1)
-Standards-Version: 3.9.1
-X-Python-Version: >= 2.5
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.7), python3 (>= 3.2)
+Build-Depends-Indep: python-setuptools (>= 0.6c1), python3-setuptools
+Standards-Version: 3.9.3
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-pip/trunk/
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-pip/trunk/
Package: python-pip
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources, python-setuptools (>= 0.6c1)
+Recommends: python-dev (>= 2.7), build-essential
Description: alternative Python package installer
pip is a replacement for easy_install, and is intended to be an improved
Python package installer. It integrates with virtualenv, doesn't do partial
installs, can save package state for replaying, can install from non-egg
sources, and can install from version control repositories.
+
+Package: python3-pip
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources, python3-setuptools
+Recommends: python3-dev (>= 3.2), build-essential
+Description: alternative Python package installer - Python 3 version of the package
+ pip is a replacement for easy_install, and is intended to be an improved
+ Python package installer. It integrates with virtualenv, doesn't do partial
+ installs, can save package state for replaying, can install from non-egg
+ sources, and can install from version control repositories.
+ .
+ This is the Python 3 version of the package.
Modified: packages/python-pip/trunk/debian/docs
===================================================================
--- packages/python-pip/trunk/debian/docs 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/docs 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1,3 +1 @@
-docs/index.txt
-docs/news.txt
-docs/requirement-format.txt
+docs/*
Deleted: packages/python-pip/trunk/debian/manpages
===================================================================
--- packages/python-pip/trunk/debian/manpages 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/manpages 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1 +0,0 @@
-debian/pip.1
Modified: packages/python-pip/trunk/debian/patches/remove_hardcoded_python_version.patch
===================================================================
--- packages/python-pip/trunk/debian/patches/remove_hardcoded_python_version.patch 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/patches/remove_hardcoded_python_version.patch 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1,25 +1,25 @@
# Description: remove the harcoded python version in console exe
-# Author: Carl Chenet <chaica at ohmytux.com>
+# Author: Carl Chenet <chaica at debian.org>
-Index: pip-1.0/pip.egg-info/entry_points.txt
+Index: pip-1.1/pip.egg-info/entry_points.txt
===================================================================
---- pip-1.0.orig/pip.egg-info/entry_points.txt 2011-04-13 03:44:07.000000000 +0200
-+++ pip-1.0/pip.egg-info/entry_points.txt 2011-04-13 03:44:19.000000000 +0200
+--- pip-1.1.orig/pip.egg-info/entry_points.txt 2012-02-16 21:08:06.000000000 +0100
++++ pip-1.1/pip.egg-info/entry_points.txt 2012-05-27 02:26:21.000000000 +0200
@@ -1,4 +1,3 @@
[console_scripts]
- pip = pip:main
--pip-2.6 = pip:main
+-pip = pip:main
+ pip-2.7 = pip:main
-Index: pip-1.0/setup.py
+Index: pip-1.1/setup.py
===================================================================
---- pip-1.0.orig/setup.py 2011-04-13 03:44:07.000000000 +0200
-+++ pip-1.0/setup.py 2011-04-13 03:44:39.000000000 +0200
-@@ -48,7 +48,7 @@
- 'https://github.com/pypa/virtualenv/tarball/master#egg=virtualenv-1.5.2.post2',
- ],
+--- pip-1.1.orig/setup.py 2012-02-16 21:05:03.000000000 +0100
++++ pip-1.1/setup.py 2012-05-27 02:26:36.000000000 +0200
+@@ -49,7 +49,7 @@
+ url='http://www.pip-installer.org',
+ license='MIT',
packages=['pip', 'pip.commands', 'pip.vcs'],
- entry_points=dict(console_scripts=['pip=pip:main', 'pip-%s=pip:main' % sys.version[:3]]),
-+ entry_points=dict(console_scripts=['pip=pip:main']),
++ entry_points=dict(console_scripts=['pip-%s=pip:main' % sys.version[:3]]),
test_suite='nose.collector',
- tests_require=['nose', 'virtualenv==1.5.2.post2', 'scripttest==1.1.1', 'mock'],
+ tests_require=['nose', 'virtualenv>=1.7', 'scripttest>=1.1.1', 'mock'],
zip_safe=False)
Copied: packages/python-pip/trunk/debian/pip-2.7.1 (from rev 21939, packages/python-pip/trunk/debian/pip.1)
===================================================================
--- packages/python-pip/trunk/debian/pip-2.7.1 (rev 0)
+++ packages/python-pip/trunk/debian/pip-2.7.1 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1,135 @@
+'\" t
+.\" Title: pip-2.7
+.\" Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: 05/27/2012
+.\" Manual: \ \&
+.\" Source: \ \&
+.\" Language: English
+.\"
+.TH "PIP-2.7" "1" "05/27/2012" "\ \&" "\ \&"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+pip-2.7 \- install Python packages
+.SH "SYNOPSIS"
+.sp
+\fBpip-2.7\fR [\fIcommand\fR] [\fIoptions\fR]
+.SH "DESCRIPTION"
+.sp
+pip is an alternative Python package installer\&. It performs the same basic job as easy_install, but with some extra features\&. It can work with version control repositories (currently only Git, Mercurial, and Bazaar repositories), logs output extensively, and prevents partial installs by downloading all requirements before starting installation\&.
+.sp
+It has some disadvantages when compared to easy_install\&. It does not use egg files, although it does preserve egg metadata\&. Some setuptools features are not yet supported, and some custom setup\&.py features won\(aat work\&.
+.SH "COMMANDS"
+.sp
+The command comes before any options\&. The following commands are recognized:
+.PP
+\fBhelp\fR
+.RS 4
+Show the help text\&.
+.RE
+.PP
+\fBbundle\fR
+.RS 4
+Create "bundles" which can be used by pip to install the group of Python packages in multiple places\&.
+.RE
+.PP
+\fBfreeze\fR
+.RS 4
+Write the current list of installed packages to a requirements file, which can be used by pip to reinstall the same set of packages\&.
+.RE
+.PP
+\fBinstall\fR
+.RS 4
+Install packages\&.
+.RE
+.PP
+\fBunzip\fR
+.RS 4
+Unzip an individual package\&.
+.RE
+.PP
+\fBzip\fR
+.RS 4
+Zip an individual package\&.
+.RE
+.SH "OPTIONS"
+.PP
+\fB\-h, \-\-help\fR
+.RS 4
+Show summary of options\&.
+.RE
+.PP
+\fB\-\-version\fR
+.RS 4
+Show the version of the program\&.
+.RE
+.PP
+\fB\-v, \-\-verbose\fR
+.RS 4
+Be more verbose\&.
+.RE
+.PP
+\fB\-q, \-\-quiet\fR
+.RS 4
+Be less verbose; suppress unimportant output\&.
+.RE
+.PP
+\fB\-\-log\fR=\fIFILENAME\fR
+.RS 4
+Log file where a complete (maximum verbosity) record will be kept\&.
+.RE
+.PP
+\fB\-\-proxy\fR=\fIPROXY\fR
+.RS 4
+Have pip use a proxy server to access sites\&. This can be specified using "user:password at proxy\&.server:port" notation\&. If the password is left out, pip will ask for it\&.
+.RE
+.PP
+\fB\-\-exists\-action\fR=\fIEXISTS_ACTION\fR
+.RS 4
+Default action when a path already exists\&.Use this option more then one time to specify another action if a certain option is not available, choices: (s)witch, (i)gnore, (w)ipe, (b)ackup
+.RE
+.PP
+\fB\-\-timeout\fR=\fITIMEOUT\fR
+.RS 4
+Set the timeout for connecting to download sites, in seconds\&. This defaults to 15 seconds if not given\&.
+.RE
+.SH "AUTHORS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+This manual page was originally written by Jeff Licquia <licquia at debian\&.org>, later rewritten by Carl Chenet <chaica at debian\&.org>\&.
+.fi
+.if n \{\
+.RE
+.\}
+.SH "LICENSE"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 3 or any later version published by the Free Software Foundation\&.
+.fi
+.if n \{\
+.RE
+.\}
Copied: packages/python-pip/trunk/debian/pip-3.2.1 (from rev 21939, packages/python-pip/trunk/debian/pip.1)
===================================================================
--- packages/python-pip/trunk/debian/pip-3.2.1 (rev 0)
+++ packages/python-pip/trunk/debian/pip-3.2.1 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1,135 @@
+'\" t
+.\" Title: pip-3.2
+.\" Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: 05/27/2012
+.\" Manual: \ \&
+.\" Source: \ \&
+.\" Language: English
+.\"
+.TH "PIP-3.2" "1" "05/27/2012" "\ \&" "\ \&"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+pip-3.2 \- install Python packages
+.SH "SYNOPSIS"
+.sp
+\fBpip-3.2\fR [\fIcommand\fR] [\fIoptions\fR]
+.SH "DESCRIPTION"
+.sp
+pip is an alternative Python package installer\&. It performs the same basic job as easy_install, but with some extra features\&. It can work with version control repositories (currently only Git, Mercurial, and Bazaar repositories), logs output extensively, and prevents partial installs by downloading all requirements before starting installation\&.
+.sp
+It has some disadvantages when compared to easy_install\&. It does not use egg files, although it does preserve egg metadata\&. Some setuptools features are not yet supported, and some custom setup\&.py features won\(aat work\&.
+.SH "COMMANDS"
+.sp
+The command comes before any options\&. The following commands are recognized:
+.PP
+\fBhelp\fR
+.RS 4
+Show the help text\&.
+.RE
+.PP
+\fBbundle\fR
+.RS 4
+Create "bundles" which can be used by pip to install the group of Python packages in multiple places\&.
+.RE
+.PP
+\fBfreeze\fR
+.RS 4
+Write the current list of installed packages to a requirements file, which can be used by pip to reinstall the same set of packages\&.
+.RE
+.PP
+\fBinstall\fR
+.RS 4
+Install packages\&.
+.RE
+.PP
+\fBunzip\fR
+.RS 4
+Unzip an individual package\&.
+.RE
+.PP
+\fBzip\fR
+.RS 4
+Zip an individual package\&.
+.RE
+.SH "OPTIONS"
+.PP
+\fB\-h, \-\-help\fR
+.RS 4
+Show summary of options\&.
+.RE
+.PP
+\fB\-\-version\fR
+.RS 4
+Show the version of the program\&.
+.RE
+.PP
+\fB\-v, \-\-verbose\fR
+.RS 4
+Be more verbose\&.
+.RE
+.PP
+\fB\-q, \-\-quiet\fR
+.RS 4
+Be less verbose; suppress unimportant output\&.
+.RE
+.PP
+\fB\-\-log\fR=\fIFILENAME\fR
+.RS 4
+Log file where a complete (maximum verbosity) record will be kept\&.
+.RE
+.PP
+\fB\-\-proxy\fR=\fIPROXY\fR
+.RS 4
+Have pip use a proxy server to access sites\&. This can be specified using "user:password at proxy\&.server:port" notation\&. If the password is left out, pip will ask for it\&.
+.RE
+.PP
+\fB\-\-exists\-action\fR=\fIEXISTS_ACTION\fR
+.RS 4
+Default action when a path already exists\&.Use this option more then one time to specify another action if a certain option is not available, choices: (s)witch, (i)gnore, (w)ipe, (b)ackup
+.RE
+.PP
+\fB\-\-timeout\fR=\fITIMEOUT\fR
+.RS 4
+Set the timeout for connecting to download sites, in seconds\&. This defaults to 15 seconds if not given\&.
+.RE
+.SH "AUTHORS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+This manual page was originally written by Jeff Licquia <licquia at debian\&.org>, later rewritten by Carl Chenet <chaica at debian\&.org>\&.
+.fi
+.if n \{\
+.RE
+.\}
+.SH "LICENSE"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 3 or any later version published by the Free Software Foundation\&.
+.fi
+.if n \{\
+.RE
+.\}
Modified: packages/python-pip/trunk/debian/pip.1
===================================================================
--- packages/python-pip/trunk/debian/pip.1 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/pip.1 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1,14 +1,23 @@
'\" t
.\" Title: pip
.\" Author: [see the "AUTHORS" section]
-.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
-.\" Date: 11/30/2009
-.\" Manual:
-.\" Source:
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: 05/27/2012
+.\" Manual: \ \&
+.\" Source: \ \&
.\" Language: English
.\"
-.TH "PIP" "1" "11/30/2009" "" ""
+.TH "PIP" "1" "05/27/2012" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
@@ -28,8 +37,6 @@
pip is an alternative Python package installer\&. It performs the same basic job as easy_install, but with some extra features\&. It can work with version control repositories (currently only Git, Mercurial, and Bazaar repositories), logs output extensively, and prevents partial installs by downloading all requirements before starting installation\&.
.sp
It has some disadvantages when compared to easy_install\&. It does not use egg files, although it does preserve egg metadata\&. Some setuptools features are not yet supported, and some custom setup\&.py features won\(aat work\&.
-.sp
-pip is designed to work with virtualenv, in that it can be given the path to a virtualenv environment (with \-E or \-\-environment) and it will know to install to that environment instead of the system locations\&.
.SH "COMMANDS"
.sp
The command comes before any options\&. The following commands are recognized:
@@ -54,16 +61,6 @@
Install packages\&.
.RE
.PP
-\fBsearch\fR
-.RS 4
-Search PyPI\&.
-.RE
-.PP
-\fBuninstall\fR
-.RS 4
-Uninstall an individual package\&.
-.RE
-.PP
\fBunzip\fR
.RS 4
Unzip an individual package\&.
@@ -95,11 +92,6 @@
Be less verbose; suppress unimportant output\&.
.RE
.PP
-\fB\-E, \-\-environment\fR=\fIDIR\fR
-.RS 4
-When using pip with a virtual environment created by virtualenv, use this option to specify either the path to the environment or the path to its Python interpreter\&.
-.RE
-.PP
\fB\-\-log\fR=\fIFILENAME\fR
.RS 4
Log file where a complete (maximum verbosity) record will be kept\&.
@@ -110,9 +102,9 @@
Have pip use a proxy server to access sites\&. This can be specified using "user:password at proxy\&.server:port" notation\&. If the password is left out, pip will ask for it\&.
.RE
.PP
-\fB\-s, \-\-enable\-site\-packages\fR
+\fB\-\-exists\-action\fR=\fIEXISTS_ACTION\fR
.RS 4
-Include site\-packages in virtualenv if one is to be created\&. Ignored if \-\-environment is not used or the virtualenv already exists\&.
+Default action when a path already exists\&.Use this option more then one time to specify another action if a certain option is not available, choices: (s)witch, (i)gnore, (w)ipe, (b)ackup
.RE
.PP
\fB\-\-timeout\fR=\fITIMEOUT\fR
@@ -125,7 +117,7 @@
.RS 4
.\}
.nf
-This manual page was originally written by Jeff Licquia <licquia at debian\&.org>, later rewritten by Carl Chenet <chaica at ohmytux\&.com>\&.
+This manual page was originally written by Jeff Licquia <licquia at debian\&.org>, later rewritten by Carl Chenet <chaica at debian\&.org>\&.
.fi
.if n \{\
.RE
Added: packages/python-pip/trunk/debian/python-pip.install
===================================================================
--- packages/python-pip/trunk/debian/python-pip.install (rev 0)
+++ packages/python-pip/trunk/debian/python-pip.install 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1,2 @@
+usr/lib/python2*
+usr/bin/pip-2.7
Added: packages/python-pip/trunk/debian/python-pip.links
===================================================================
--- packages/python-pip/trunk/debian/python-pip.links (rev 0)
+++ packages/python-pip/trunk/debian/python-pip.links 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1 @@
+usr/bin/pip-2.7 usr/bin/pip
Copied: packages/python-pip/trunk/debian/python-pip.manpages (from rev 21939, packages/python-pip/trunk/debian/manpages)
===================================================================
--- packages/python-pip/trunk/debian/python-pip.manpages (rev 0)
+++ packages/python-pip/trunk/debian/python-pip.manpages 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1,2 @@
+debian/pip.1
+debian/pip-2.7.1
Added: packages/python-pip/trunk/debian/python3-pip.install
===================================================================
--- packages/python-pip/trunk/debian/python3-pip.install (rev 0)
+++ packages/python-pip/trunk/debian/python3-pip.install 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1,2 @@
+usr/lib/python3
+usr/bin/pip-3.2
Copied: packages/python-pip/trunk/debian/python3-pip.manpages (from rev 21939, packages/python-pip/trunk/debian/manpages)
===================================================================
--- packages/python-pip/trunk/debian/python3-pip.manpages (rev 0)
+++ packages/python-pip/trunk/debian/python3-pip.manpages 2012-05-27 02:25:27 UTC (rev 21940)
@@ -0,0 +1 @@
+debian/pip-3.2.1
Modified: packages/python-pip/trunk/debian/rules
===================================================================
--- packages/python-pip/trunk/debian/rules 2012-05-26 19:19:52 UTC (rev 21939)
+++ packages/python-pip/trunk/debian/rules 2012-05-27 02:25:27 UTC (rev 21940)
@@ -1,6 +1,24 @@
#!/usr/bin/make -f
+PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for py in $(PYTHON3) ; do \
+ python$$py setup.py build; \
+ done;
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for py in $(PYTHON3) ; do \
+ python$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+ done;
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+ rm -rf *.egg-info
More information about the Python-modules-commits
mailing list