[arch-commits] Commit in python-virtualenv/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Tue Apr 7 15:01:45 UTC 2015
Date: Tuesday, April 7, 2015 @ 17:01:45
Author: dan
Revision: 235577
archrelease: copy trunk to extra-any
Added:
python-virtualenv/repos/extra-any/PKGBUILD
(from rev 235576, python-virtualenv/trunk/PKGBUILD)
Deleted:
python-virtualenv/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-07 15:01:37 UTC (rev 235576)
+++ PKGBUILD 2015-04-07 15:01:45 UTC (rev 235577)
@@ -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=12.0.7
-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=('e08796f79d112f3bfa6653cc10840114')
-sha256sums=('d681db1766cdc8aa1b37eb18252c264b775f971166c2bf658a9618c1f3d28741')
Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 235576, python-virtualenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-07 15:01:45 UTC (rev 235577)
@@ -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=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"
+}
More information about the arch-commits
mailing list