Date: Sunday, February 21, 2016 @ 04:28:24 Author: dan Revision: 260104
archrelease: copy trunk to extra-any Added: python-virtualenv/repos/extra-any/PKGBUILD (from rev 260103, python-virtualenv/trunk/PKGBUILD) Deleted: python-virtualenv/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-02-21 03:28:16 UTC (rev 260103) +++ PKGBUILD 2016-02-21 03:28:24 UTC (rev 260104) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Daniele Paolella <d...@mcrservice.it> - -pkgname=('python-virtualenv' 'python2-virtualenv') -pkgver=14.0.5 -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") -md5sums=('5769a96de40d99c4557a0070e4b2e48e') -sha256sums=('33db086a3ae4d2cf9e20ac5587d4b518fb80fcda098b872065a7300cf73fca52') - -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 260103, python-virtualenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-02-21 03:28:24 UTC (rev 260104) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Daniele Paolella <d...@mcrservice.it> + +pkgname=('python-virtualenv' 'python2-virtualenv') +pkgver=14.0.6 +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=('a035037925c82990a7659ecf8764bcdb') +sha256sums=('1ffb6a02d8999e9c97ad8f04b1d2ba44421dfb8f8a98b54aea5c6fdfb53bc526') + +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" +}