[Python-modules-commits] r10220 - in packages/python-pip/trunk (11 files)

chaica-guest at users.alioth.debian.org chaica-guest at users.alioth.debian.org
Tue Oct 27 23:04:48 UTC 2009


    Date: Tuesday, October 27, 2009 @ 23:04:44
  Author: chaica-guest
Revision: 10220

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-pip/trunk/debian/
  packages/python-pip/trunk/debian/changelog
  packages/python-pip/trunk/debian/compat
  packages/python-pip/trunk/debian/control
  packages/python-pip/trunk/debian/copyright
  packages/python-pip/trunk/debian/dirs
  packages/python-pip/trunk/debian/docs
  packages/python-pip/trunk/debian/pip.xml
  packages/python-pip/trunk/debian/python-pip.manpages
  packages/python-pip/trunk/debian/rules
  packages/python-pip/trunk/debian/watch


Property changes on: packages/python-pip/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-pip/trunk/debian/changelog
===================================================================
--- packages/python-pip/trunk/debian/changelog	                        (rev 0)
+++ packages/python-pip/trunk/debian/changelog	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,5 @@
+python-pip (0.3.1-1) unstable; urgency=low
+
+  * Initial release.  Closes: #522135.
+
+ -- Jeff Licquia <licquia at debian.org>  Tue, 21 Apr 2009 21:10:13 -0400

Added: packages/python-pip/trunk/debian/compat
===================================================================
--- packages/python-pip/trunk/debian/compat	                        (rev 0)
+++ packages/python-pip/trunk/debian/compat	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1 @@
+7

Added: packages/python-pip/trunk/debian/control
===================================================================
--- packages/python-pip/trunk/debian/control	                        (rev 0)
+++ packages/python-pip/trunk/debian/control	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,24 @@
+Source: python-pip
+Section: python
+Priority: optional
+Maintainer: Jeff Licquia <licquia at debian.org>
+Homepage: http://pip.openplans.org/
+Vcs-Bzr: http://bzr.licquia.org/pip/debian
+Vcs-Browser: http://bzr.licquia.org/loggerhead/pip/debian/changes
+Build-Depends: debhelper (>= 7), python-all-dev
+Build-Depends-Indep: python (>= 2.3.5-7), python-central (>= 0.5.0), python-setuptools (>= 0.6c1), xsltproc, docbook-xsl
+Standards-Version: 3.8.1
+XS-Python-Version: all
+
+Package: python-pip
+Architecture: all
+Section: python
+Depends: ${python:Depends}, python-pkg-resources | python-setuptools (<< 0.6c8-1)
+XB-Python-Version: ${python:Versions}
+Description: Alternative Python package installer
+ pip installs packages.  Python packages.  An easy_install replacement.
+ .
+ pip is a replacement for easy_install, and is intended to be an improved
+ 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.

Added: packages/python-pip/trunk/debian/copyright
===================================================================
--- packages/python-pip/trunk/debian/copyright	                        (rev 0)
+++ packages/python-pip/trunk/debian/copyright	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,28 @@
+Original source may be found at: http://pip.openplans.org/
+Files: debian/*
+Copyright: Copyright 2009 Jeff Licquia <licquia at debian.org>
+License: other
+    The Debian packaging informatin is licensed under the same license
+    as the rest of pip.
+Files: *
+Copyright: Copyright (c) 2007 Ian Bicking and Contributors
+License: other
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of this software and associated documentation files (the
+    "Software"), to deal in the Software without restriction, including
+    without limitation the rights to use, copy, modify, merge, publish,
+    distribute, sublicense, and/or sell copies of the Software, and to
+    permit persons to whom the Software is furnished to do so, subject to
+    the following conditions:
+    .
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+    .
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+

Added: packages/python-pip/trunk/debian/dirs
===================================================================
--- packages/python-pip/trunk/debian/dirs	                        (rev 0)
+++ packages/python-pip/trunk/debian/dirs	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/lintian/overrides

Added: packages/python-pip/trunk/debian/docs
===================================================================
--- packages/python-pip/trunk/debian/docs	                        (rev 0)
+++ packages/python-pip/trunk/debian/docs	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,3 @@
+docs/index.txt
+docs/news.txt
+docs/requirement-format.txt

Added: packages/python-pip/trunk/debian/pip.xml
===================================================================
--- packages/python-pip/trunk/debian/pip.xml	                        (rev 0)
+++ packages/python-pip/trunk/debian/pip.xml	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,256 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Jeff</firstname>">
+  <!ENTITY dhsurname   "<surname>Licquia</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>March 31, 2009</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>licquia at debian.org</email>">
+  <!ENTITY dhusername  "Jeff Licquia">
+  <!ENTITY dhucpackage "<refentrytitle>PIP</refentrytitle>">
+  <!ENTITY dhpackage   "pip">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <copyright>
+      <year>2009</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>install Python packages</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg>command</arg>
+
+      <arg>options</arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command>
+      command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> 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.</para>
+
+    <para>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't work.</para>
+
+    <para><command>&dhpackage;</command> 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.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>COMMANDS</title>
+
+    <para>The command comes before any options.  The following
+    commands are recognized:</para>
+
+    <variablelist>
+      <varlistentry>
+        <term>help</term>
+        <listitem>
+          <para>Show the help text.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>bundle</term>
+        <listitem>
+          <para>Create "bundles" which can be used by <command>&dhpackage;</command> to install
+          the group of Python packages in multiple places.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>freeze</term>
+        <listitem>
+          <para>Write the current list of installed packages to a
+          requirements file, which can be used by <command>&dhpackage;</command> to reinstall the
+          same set of packages.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>install</term>
+        <listitem>
+          <para>Install packages.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>unzip</term>
+        <listitem>
+          <para>Unzip an individual package.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>zip</term>
+        <listitem>
+          <para>Zip an individual package.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-v</option>
+	  <option>--verbose</option>
+	</term>
+	<listitem>
+	  <para>Be more verbose.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-q</option>
+	  <option>--quiet</option>
+	</term>
+	<listitem>
+	  <para>Be less verbose; suppress unimportant output.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-E</option>
+	  <option>--environment</option>
+	</term>
+	<listitem>
+	  <para>When using <command>&dhpackage;</command> 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.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term>
+	  <option>--log</option>
+	</term>
+	<listitem>
+	  <para>Output a log file describing the actions taken to the
+	  specified file.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term>
+	  <option>--proxy</option>
+	</term>
+	<listitem>
+	  <para>Have <command>&dhpackage;</command> 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, <command>&dhpackage;</command> will ask for
+	  it.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term>
+	  <option>--timeout</option>
+	</term>
+	<listitem>
+	  <para>Set the timeout for connecting to download sites, in
+	  seconds.  This defaults to 15 seconds if not given.</para>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>The upstream documentation, stored in 
+      /usr/share/doc/python-pip.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>

Added: packages/python-pip/trunk/debian/python-pip.manpages
===================================================================
--- packages/python-pip/trunk/debian/python-pip.manpages	                        (rev 0)
+++ packages/python-pip/trunk/debian/python-pip.manpages	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1 @@
+debian/pip.1.gz

Added: packages/python-pip/trunk/debian/rules
===================================================================
--- packages/python-pip/trunk/debian/rules	                        (rev 0)
+++ packages/python-pip/trunk/debian/rules	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYTHON_VERSIONS = $(shell pyversions -r debian/control)
+CURRENT_PYTHON_VERSION = $(shell pyversions -d)
+
+debian/pip.1.gz: debian/pip.xml
+	cd debian && xsltproc -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl pip.xml
+	gzip -9 debian/pip.1
+
+build: build-stamp
+build-stamp: debian/pip.1.gz
+	dh_testdir
+
+	for python in $(PYTHON_VERSIONS); do \
+		$$python setup.py build; \
+	done
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	for python in $(PYTHON_VERSIONS); do \
+		$$python setup.py clean; \
+	done
+
+	rm -rf build
+	rm -f build-stamp
+	rm -f debian/pip.1*
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	for python in $(PYTHON_VERSIONS); do \
+		$$python setup.py install --root=$(CURDIR)/debian/python-pip; \
+		mv $(CURDIR)/debian/python-pip/usr/bin/pip $(CURDIR)/debian/python-pip/usr/bin/pip-$$python; \
+	done
+	sed 's_^#\!/usr/bin/$(CURRENT_PYTHON_VERSION)_#\!/usr/bin/python_' < $(CURDIR)/debian/python-pip/usr/bin/pip-$(CURRENT_PYTHON_VERSION) > $(CURDIR)/debian/python-pip/usr/bin/pip
+	rm -f $(CURDIR)/debian/python-pip/usr/bin/pip-*
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_fixperms -i
+	dh_installman -i
+	dh_pycentral -i
+	#rm -rf $(CURDIR)/debian/python-virtualenv/usr/lib
+	dh_compress -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-pip/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-pip/trunk/debian/watch
===================================================================
--- packages/python-pip/trunk/debian/watch	                        (rev 0)
+++ packages/python-pip/trunk/debian/watch	2009-10-27 23:04:44 UTC (rev 10220)
@@ -0,0 +1,12 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage 
+# <Webpage URL> <string match>
+http://pypi.python.org/packages/source/p/pip/ pip-(.*)\.tar\.gz
+




More information about the Python-modules-commits mailing list