[arch-commits] Commit in python-virtualenv/repos/extra-any (4 files)

Dan McGee dan at archlinux.org
Wed Nov 30 11:48:32 EST 2011


    Date: Wednesday, November 30, 2011 @ 11:48:31
  Author: dan
Revision: 143885

archrelease: copy trunk to extra-any

Added:
  python-virtualenv/repos/extra-any/PKGBUILD
    (from rev 143884, python-virtualenv/trunk/PKGBUILD)
  python-virtualenv/repos/extra-any/python-virtualenv.install
    (from rev 143884, python-virtualenv/trunk/python-virtualenv.install)
Deleted:
  python-virtualenv/repos/extra-any/PKGBUILD
  python-virtualenv/repos/extra-any/python-virtualenv.install

---------------------------+
 PKGBUILD                  |  102 ++++++++++++++++++++++----------------------
 python-virtualenv.install |   10 ++--
 2 files changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-30 16:48:22 UTC (rev 143884)
+++ PKGBUILD	2011-11-30 16:48:31 UTC (rev 143885)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Daniele Paolella <dp at mcrservice.it>
-
-pkgname=('python-virtualenv' 'python2-virtualenv')
-pkgver=1.6.4
-pkgrel=1
-pkgdesc="Virtual Python Environment builder"
-url="http://www.virtualenv.org/"
-arch=('any')
-license=('MIT')
-makedepends=('python' 'python-distribute' 'python2' 'python2-distribute')
-replaces=('virtualenv')
-conflicts=('virtualenv')
-source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
-
-package_python-virtualenv() {
-  depends=('python' 'python-distribute')
-  install=python-virtualenv.install
-
-  cd "$srcdir/virtualenv-$pkgver"
-  python setup.py build
-  python setup.py install --prefix=/usr --root="$pkgdir"
-
-  # link to a version with 3 suffix as well
-  ln "$pkgdir/usr/bin/virtualenv" "$pkgdir/usr/bin/virtualenv3"
-
-  install -D -m644 LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-virtualenv() {
-  depends=('python2' 'python2-distribute')
-
-  cd "$srcdir/virtualenv-$pkgver"
-  python2 setup.py build
-  python2 setup.py install --prefix=/usr --root="$pkgdir"
-
-  # move this "old" version out of the way
-  mv "$pkgdir/usr/bin/virtualenv" "$pkgdir/usr/bin/virtualenv2"
-
-  # should report this upstream as still not fixed...
-  sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
-    $pkgdir/usr/lib/python2.7/site-packages/virtualenv.py
- 
-  install -D -m644 LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-md5sums=('1072b66d53c24e019a8f1304ac9d9fc5')
-sha256sums=('a68efb4b35a4fef2a57de1981e00d9cf60be5b17d8f677baa0c5848582aaae85')

Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 143884, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-11-30 16:48:31 UTC (rev 143885)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Daniele Paolella <dp at mcrservice.it>
+
+pkgname=('python-virtualenv' 'python2-virtualenv')
+pkgver=1.7
+pkgrel=1
+pkgdesc="Virtual Python Environment builder"
+url="http://www.virtualenv.org/"
+arch=('any')
+license=('MIT')
+makedepends=('python' 'python-distribute' 'python2' 'python2-distribute')
+replaces=('virtualenv')
+conflicts=('virtualenv')
+source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
+
+package_python-virtualenv() {
+  depends=('python' 'python-distribute')
+  install=python-virtualenv.install
+
+  cd "$srcdir/virtualenv-$pkgver"
+  python setup.py build
+  python setup.py install --prefix=/usr --root="$pkgdir"
+
+  # link to a version with 3 suffix as well
+  ln "$pkgdir/usr/bin/virtualenv" "$pkgdir/usr/bin/virtualenv3"
+
+  install -D -m644 LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-virtualenv() {
+  depends=('python2' 'python2-distribute')
+
+  cd "$srcdir/virtualenv-$pkgver"
+  python2 setup.py build
+  python2 setup.py install --prefix=/usr --root="$pkgdir"
+
+  # move this "old" version out of the way
+  mv "$pkgdir/usr/bin/virtualenv" "$pkgdir/usr/bin/virtualenv2"
+
+  # should report this upstream as still not fixed...
+  sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
+    $pkgdir/usr/lib/python2.7/site-packages/virtualenv.py
+ 
+  install -D -m644 LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+md5sums=('dcc105e5a3907a9dcaa978f813a4f526')
+sha256sums=('e32b851eec3beae048c41dedcbebdae8484752b4426436ba8d7d1d69458ef6fc')

Deleted: python-virtualenv.install
===================================================================
--- python-virtualenv.install	2011-11-30 16:48:22 UTC (rev 143884)
+++ python-virtualenv.install	2011-11-30 16:48:31 UTC (rev 143885)
@@ -1,5 +0,0 @@
-post_upgrade() {
-  if [ $(vercmp $2 1.6.1) -lt 0 ]; then
-    echo "Note: Install python2-virtualenv for continued python2 support."
-  fi
-}

Copied: python-virtualenv/repos/extra-any/python-virtualenv.install (from rev 143884, python-virtualenv/trunk/python-virtualenv.install)
===================================================================
--- python-virtualenv.install	                        (rev 0)
+++ python-virtualenv.install	2011-11-30 16:48:31 UTC (rev 143885)
@@ -0,0 +1,5 @@
+post_upgrade() {
+  if [ $(vercmp $2 1.6.1) -lt 0 ]; then
+    echo "Note: Install python2-virtualenv for continued python2 support."
+  fi
+}



More information about the arch-commits mailing list