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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Thu May 23 22:02:47 EDT 2013


    Date: Friday, May 24, 2013 @ 04:02:46
  Author: foutrelis
Revision: 186291

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-24 02:02:39 UTC (rev 186290)
+++ PKGBUILD	2013-05-24 02:02:46 UTC (rev 186291)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Daniele Paolella <dp at mcrservice.it>
-
-pkgname=('python-virtualenv' 'python2-virtualenv')
-pkgver=1.9.1
-pkgrel=2
-pkgdesc="Virtual Python Environment builder"
-url="http://www.virtualenv.org/"
-arch=('any')
-license=('MIT')
-makedepends=('python' 'python2')
-replaces=('virtualenv')
-conflicts=('virtualenv')
-source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
-
-package_python-virtualenv() {
-  depends=('python')
-
-  cd "$srcdir/virtualenv-$pkgver"
-  LANG='en_US.UTF-8' python setup.py build
-  LANG='en_US.UTF-8' 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')
-
-  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=('07e09df0adfca0b2d487e39a4bf2270a')
-sha256sums=('d04f750c968e18de42ff15f50759f15ba22800b12247b95826e2f8b160f7d99a')

Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 186290, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-24 02:02:46 UTC (rev 186291)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Daniele Paolella <dp at mcrservice.it>
+
+pkgname=('python-virtualenv' 'python2-virtualenv')
+pkgver=1.9.1
+pkgrel=3
+pkgdesc="Virtual Python Environment builder"
+url="http://www.virtualenv.org/"
+arch=('any')
+license=('MIT')
+makedepends=('python' 'python2')
+replaces=('virtualenv')
+conflicts=('virtualenv')
+source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
+
+package_python-virtualenv() {
+  depends=('python')
+
+  cd "$srcdir/virtualenv-$pkgver"
+  LANG='en_US.UTF-8' python3 setup.py build
+  LANG='en_US.UTF-8' python3 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')
+
+  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=('07e09df0adfca0b2d487e39a4bf2270a')
+sha256sums=('d04f750c968e18de42ff15f50759f15ba22800b12247b95826e2f8b160f7d99a')



More information about the arch-commits mailing list