[arch-commits] Commit in python-virtualenv/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Sun May 24 14:20:55 UTC 2015
Date: Sunday, May 24, 2015 @ 16:20:55
Author: dan
Revision: 239713
archrelease: copy trunk to extra-any
Added:
python-virtualenv/repos/extra-any/PKGBUILD
(from rev 239712, python-virtualenv/trunk/PKGBUILD)
Deleted:
python-virtualenv/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-24 14:20:45 UTC (rev 239712)
+++ PKGBUILD 2015-05-24 14:20:55 UTC (rev 239713)
@@ -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=12.1.1
-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=('901ecbf302f5de9fdb31d843290b7217')
-sha256sums=('3c88cf7df114c32cf0651d12f979b8db556d992d647493e5bdbbe2828be40007')
-
-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 239712, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-05-24 14:20:55 UTC (rev 239713)
@@ -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=13.0.1
+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=('1ffc011bde6667f0e37ecd976f4934db')
+sha256sums=('36c2cfae0f9c6462264bb19c478fc6bab3478cf0575f1027452e975a1ed84dbd')
+
+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