[arch-commits] Commit in python-pip/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Thu Feb 5 20:17:09 UTC 2015
Date: Thursday, February 5, 2015 @ 21:17:09
Author: dan
Revision: 230833
archrelease: copy trunk to extra-any
Added:
python-pip/repos/extra-any/PKGBUILD
(from rev 230832, python-pip/trunk/PKGBUILD)
Deleted:
python-pip/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-05 20:17:01 UTC (rev 230832)
+++ PKGBUILD 2015-02-05 20:17:09 UTC (rev 230833)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Sebastien Binet <binet at lblbox>
-
-pkgname=('python-pip' 'python2-pip')
-pkgver=6.0.7
-pkgrel=1
-pkgdesc="The PyPA recommended tool for installing Python packages"
-url="https://pip.pypa.io/"
-arch=('any')
-license=('MIT')
-makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
-source=(http://pypi.python.org/packages/source/p/pip/pip-${pkgver}.tar.gz)
-md5sums=('26fa8f4c0f9a78c6c96ccfbcf34f5c31')
-sha256sums=('35a5a43ac6b7af83ed47ea5731a365f43d350a3a7267e039e5f06b61d42ab3c2')
-
-package_python-pip() {
- depends=('python' 'python-setuptools')
-
- cd "$srcdir/pip-$pkgver"
- python setup.py build
- python setup.py install --prefix=/usr --root="$pkgdir"
-
- install -D -m644 LICENSE.txt \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-pip() {
- depends=('python2' 'python2-setuptools')
- conflicts=('python-pyinstall')
- replaces=('python-pyinstall')
-
- cd "$srcdir/pip-$pkgver"
- python2 setup.py build
- python2 setup.py install --prefix=/usr --root="$pkgdir"
-
- mv "$pkgdir/usr/bin/pip" "$pkgdir/usr/bin/pip2"
- sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
- ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
- python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
-
- install -D -m644 LICENSE.txt \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-pip/repos/extra-any/PKGBUILD (from rev 230832, python-pip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-05 20:17:09 UTC (rev 230833)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgname=('python-pip' 'python2-pip')
+pkgver=6.0.8
+pkgrel=1
+pkgdesc="The PyPA recommended tool for installing Python packages"
+url="https://pip.pypa.io/"
+arch=('any')
+license=('MIT')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
+source=(http://pypi.python.org/packages/source/p/pip/pip-${pkgver}.tar.gz)
+md5sums=('2332e6f97e75ded3bddde0ced01dbda3')
+sha256sums=('0d58487a1b7f5be2e5e965c11afbea1dc44ecec8069de03491a4d0d6c85f4551')
+
+package_python-pip() {
+ depends=('python' 'python-setuptools')
+
+ cd "$srcdir/pip-$pkgver"
+ python setup.py build
+ python setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pip() {
+ depends=('python2' 'python2-setuptools')
+ conflicts=('python-pyinstall')
+ replaces=('python-pyinstall')
+
+ cd "$srcdir/pip-$pkgver"
+ python2 setup.py build
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+
+ mv "$pkgdir/usr/bin/pip" "$pkgdir/usr/bin/pip2"
+ sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
+ ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
+ python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list