summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-05-31 11:45:36 +0000
committerTim Harder <radhermit@gentoo.org>2011-05-31 11:45:36 +0000
commit66b7772936c86d4b0afc2aca4d4f75f7968524c9 (patch)
treefc69d4328bb486b5682f1e3fe8ad0f71246883bf /dev-python
parentStable on amd64 wrt bug #368981 (diff)
downloadhistorical-66b7772936c86d4b0afc2aca4d4f75f7968524c9.tar.gz
historical-66b7772936c86d4b0afc2aca4d4f75f7968524c9.tar.bz2
historical-66b7772936c86d4b0afc2aca4d4f75f7968524c9.zip
Initial import from sunrise (bug #317791). Thanks to Michail Denev for the initial ebuild work.
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pip/ChangeLog11
-rw-r--r--dev-python/pip/Manifest19
-rw-r--r--dev-python/pip/files/pip-1.0.1-unversioned.patch14
-rw-r--r--dev-python/pip/metadata.xml5
-rw-r--r--dev-python/pip/pip-1.0.1.ebuild49
5 files changed, 98 insertions, 0 deletions
diff --git a/dev-python/pip/ChangeLog b/dev-python/pip/ChangeLog
new file mode 100644
index 000000000000..913f0b46de80
--- /dev/null
+++ b/dev-python/pip/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/pip
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/ChangeLog,v 1.1 2011/05/31 11:45:36 radhermit Exp $
+
+*pip-1.0.1 (31 May 2011)
+
+ 31 May 2011; Tim Harder <radhermit@gentoo.org> +pip-1.0.1.ebuild,
+ +files/pip-1.0.1-unversioned.patch, +metadata.xml:
+ Initial import from sunrise (bug #317791). Thanks to Michail Denev for the
+ initial ebuild work.
+
diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
new file mode 100644
index 000000000000..c9a8843b62cb
--- /dev/null
+++ b/dev-python/pip/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pip-1.0.1-unversioned.patch 597 RMD160 aa070edfa2b46cddc12fa74ae7493f5054e6e59e SHA1 90be7e4deb78c425e2f6e324bc5548188f1faedf SHA256 6ae4dd0b248344388d496cdd0e6506bc15e671fb7aae7fee8834284d2c5605ec
+DIST pip-1.0.1.tar.gz 104767 RMD160 c9887a6c5ec1d9d906345b089d670fcd0d5655f7 SHA1 f5a25d1011a92ad4eabc19d1d5a1af24584aae38 SHA256 37d2f18213d3845d2038dd3686bc71fc12bb41ad66c945a8b0dfec2879f3497b
+EBUILD pip-1.0.1.ebuild 1421 RMD160 f2be1a5952ed0530672830d4ebb217ae45766897 SHA1 d5a6cf88127cf785f0f50f9c69819012d5a79fd4 SHA256 4cf304114753a639575c3f99c8d0c03a092913d49814f81c6d0fc8928284614a
+MISC ChangeLog 452 RMD160 85e951c1374fd531e7e6c4045f506798384af7bd SHA1 2cad4857e234e106726bc86585d6f2ef3e275d83 SHA256 7287fc275aaaedbfc8420beac1b787473ad459325d509569219ebb055fa583fa
+MISC metadata.xml 161 RMD160 295dca78d1e997a333dcf54b6084afa5298b28fa SHA1 01db574d7072c1e555e182f88e889d11d3ae49bc SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJN5NTpAAoJEEqz6FtPBkyjyPQH/iedeTWNXhogIDlRvxhlG0tn
+OqNSpi/A1Xp2CwKNNNSqTJFa/NdCrPMFYrzG+yeHUxLDyEAwwOmBD2j9PPE5SO7V
+pSAgzKhMqfMlgiURD5pgQAIN+8e4fbibWfCcQOLKWAHVuB/dNLZAXehFtIYPAb2X
+me2c+FJ0X1i4n2lCuHf6TBXalgksVhDy2gEvZ7dUll5T5NlI20qaVTdHNGvtPBcj
+fpBL6K65US4y7ls4plP6E9PHMHmD5lBsqamGXcCw3j9oPrMF9xJp8Eq9fKiBCFty
+vtprVqS+ynW/nUIqCLfOGvx6zlbTu0UTLXwiTgzuILE+xRxtq4iJoX/ZN8TXC6E=
+=XJgJ
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pip/files/pip-1.0.1-unversioned.patch b/dev-python/pip/files/pip-1.0.1-unversioned.patch
new file mode 100644
index 000000000000..a479813bac2c
--- /dev/null
+++ b/dev-python/pip/files/pip-1.0.1-unversioned.patch
@@ -0,0 +1,14 @@
+ setup.py | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/setup.py
++++ b/setup.py
+@@ -48,7 +48,7 @@ setup(name="pip",
+ 'https://github.com/pypa/virtualenv/tarball/master#egg=virtualenv-1.5.2.post2',
+ ],
+ 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']),
+ test_suite='nose.collector',
+ tests_require=['nose', 'virtualenv==1.5.2.post2', 'scripttest==1.1.1', 'mock'],
+ zip_safe=False)
diff --git a/dev-python/pip/metadata.xml b/dev-python/pip/metadata.xml
new file mode 100644
index 000000000000..ee7e8b2450a8
--- /dev/null
+++ b/dev-python/pip/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pip/pip-1.0.1.ebuild b/dev-python/pip/pip-1.0.1.ebuild
new file mode 100644
index 000000000000..58fb35512ac8
--- /dev/null
+++ b/dev-python/pip/pip-1.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.0.1.ebuild,v 1.1 2011/05/31 11:45:36 radhermit Exp $
+
+EAPI="3"
+PYTHON_DEPEND="*"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit bash-completion distutils eutils
+
+DESCRIPTION="Installs python packages -- replacement for easy_install"
+HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="bash-completion zsh-completion"
+
+RDEPEND="dev-python/setuptools"
+DEPEND="${RDEPEND}"
+
+# Tests require a couple libraries not yet in the tree, aren't bundled with
+# the default tarball from pypi, and have a couple failures anyway
+RESTRICT="test"
+
+DOCS="docs/configuration.txt docs/how-to-contribute.txt docs/index.txt
+ docs/news.txt docs/requirement-format.txt"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-unversioned.patch
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+ COMPLETION="${T}/completion.tmp"
+
+ if use bash-completion ; then
+ "$(PYTHON -f)" pip/runner.py completion --bash > "${COMPLETION}" || die
+ dobashcompletion "${COMPLETION}" ${PN}
+ fi
+
+ if use zsh-completion ; then
+ "$(PYTHON -f)" pip/runner.py completion --zsh > "${COMPLETION}" || die
+ insinto /usr/share/zsh/site-functions
+ newins "${COMPLETION}" _pip || die
+ fi
+}