Date: Friday, August 9, 2013 @ 19:00:37 Author: dan Revision: 192286 archrelease: copy trunk to extra-any
Added: python-virtualenv/repos/extra-any/PKGBUILD (from rev 192285, python-virtualenv/trunk/PKGBUILD) Deleted: python-virtualenv/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-08-09 17:00:18 UTC (rev 192285) +++ PKGBUILD 2013-08-09 17:00:37 UTC (rev 192286) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Daniele Paolella <d...@mcrservice.it> - -pkgname=('python-virtualenv' 'python2-virtualenv') -pkgver=1.10 -pkgrel=1 -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=('9745c28256c70c76d36adb3767a00212') -sha256sums=('e0851ef23c188c819d4f6de3e82521ab1f63fa80e154d30bd823afef73f341b0') Copied: python-virtualenv/repos/extra-any/PKGBUILD (from rev 192285, python-virtualenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-08-09 17:00:37 UTC (rev 192286) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Daniele Paolella <d...@mcrservice.it> + +pkgname=('python-virtualenv' 'python2-virtualenv') +pkgver=1.10.1 +pkgrel=1 +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=('3a04aa2b32c76c83725ed4d9918e362e') +sha256sums=('857449d69b9ec7d058dcc2e37c53d3895432300881aa61fd2ade178a807b0aa7')