[arch-commits] Commit in python-virtualenv/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Sat Jan 3 20:40:14 UTC 2015
Date: Saturday, January 3, 2015 @ 21:40:14
Author: dan
Revision: 228402
archrelease: copy trunk to extra-any
Added:
python-virtualenv/repos/extra-any/PKGBUILD
(from rev 228401, python-virtualenv/trunk/PKGBUILD)
Deleted:
python-virtualenv/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-03 20:40:03 UTC (rev 228401)
+++ PKGBUILD 2015-01-03 20:40:14 UTC (rev 228402)
@@ -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.11.6
-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")
-
-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"
-}
-
-md5sums=('f61cdd983d2c4e6aeabb70b1060d6f49')
-sha256sums=('3e7a4c151e2ee97f51db0215bfd2a073b04a91e9786df6cb67c916f16abe04f7')
Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 228401, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-01-03 20:40:14 UTC (rev 228402)
@@ -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=12.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")
+
+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"
+}
+
+md5sums=('637abbbd04d270ee8c601ab29c4f7561')
+sha256sums=('c2cb6cb3536cff6be514f92b03af10128a7d5448bbb35f528e64facc37abde73')
More information about the arch-commits
mailing list