[arch-commits] Commit in python-virtualenv/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Tue Feb 9 03:14:33 UTC 2016
Date: Tuesday, February 9, 2016 @ 04:14:33
Author: dan
Revision: 258998
archrelease: copy trunk to extra-any
Added:
python-virtualenv/repos/extra-any/PKGBUILD
(from rev 258997, python-virtualenv/trunk/PKGBUILD)
Deleted:
python-virtualenv/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-09 03:14:26 UTC (rev 258997)
+++ PKGBUILD 2016-02-09 03:14:33 UTC (rev 258998)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Daniele Paolella <dp at mcrservice.it>
-
-pkgname=('python-virtualenv' 'python2-virtualenv')
-pkgver=14.0.5
-pkgrel=1
-pkgdesc="Virtual Python Environment builder"
-url="https://virtualenv.pypa.io/"
-arch=('any')
-license=('MIT')
-makedepends=('python' 'python2')
-replaces=('virtualenv')
-conflicts=('virtualenv')
-source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
-md5sums=('5769a96de40d99c4557a0070e4b2e48e')
-sha256sums=('33db086a3ae4d2cf9e20ac5587d4b518fb80fcda098b872065a7300cf73fca52')
-
-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"
-
- # should report this upstream as still not fixed...
- sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" virtualenv.py
-
- 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"
-
- install -D -m644 LICENSE.txt \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 258997, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-09 03:14:33 UTC (rev 258998)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Daniele Paolella <dp at mcrservice.it>
+
+pkgname=('python-virtualenv' 'python2-virtualenv')
+pkgver=14.0.5
+pkgrel=2
+pkgdesc="Virtual Python Environment builder"
+url="https://virtualenv.pypa.io/"
+arch=('any')
+license=('MIT')
+makedepends=('python' 'python2')
+replaces=('virtualenv')
+conflicts=('virtualenv')
+source=("http://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.tar.gz")
+md5sums=('5769a96de40d99c4557a0070e4b2e48e')
+sha256sums=('33db086a3ae4d2cf9e20ac5587d4b518fb80fcda098b872065a7300cf73fca52')
+
+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"
+
+ # should report this upstream as still not fixed...
+ sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" virtualenv.py
+
+ 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"
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list