Date: Wednesday, July 1, 2015 @ 21:21:21 Author: dan Revision: 241673
archrelease: copy trunk to extra-any Added: python-virtualenv/repos/extra-any/PKGBUILD (from rev 241672, python-virtualenv/trunk/PKGBUILD) Deleted: python-virtualenv/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-07-01 19:21:14 UTC (rev 241672) +++ PKGBUILD 2015-07-01 19:21:21 UTC (rev 241673) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Daniele Paolella <d...@mcrservice.it> - -pkgname=('python-virtualenv' 'python2-virtualenv') -pkgver=13.0.3 -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=('cd2043ea72448d65dcc54d33744c2214') -sha256sums=('355e46928c2b00b83b7d00d70d5adc529e9c2fe1f366b07e8a1b49cd8c5bd1b9') - -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 241672, python-virtualenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-07-01 19:21:21 UTC (rev 241673) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Daniele Paolella <d...@mcrservice.it> + +pkgname=('python-virtualenv' 'python2-virtualenv') +pkgver=13.1.0 +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=('70f63a429b7dd7c3e10f6af09ed32554') +sha256sums=('7ef0a0b1a1cb4b6407d2c1ff4a0f74865a13e6219482888a21bdcaa60c0f1e73') + +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" +}