Date: Wednesday, August 16, 2017 @ 16:04:51 Author: felixonmars Revision: 251330
archrelease: copy trunk to community-any Added: thefuck/repos/community-any/PKGBUILD (from rev 251329, thefuck/trunk/PKGBUILD) Deleted: thefuck/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-08-16 16:04:05 UTC (rev 251329) +++ PKGBUILD 2017-08-16 16:04:51 UTC (rev 251330) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=thefuck -pkgver=3.19 -pkgrel=1 -pkgdesc="Magnificent app which corrects your previous console command" -arch=('any') -url="https://github.com/nvbn/thefuck" -license=('MIT') -depends=('python-setuptools' 'python-psutil' 'python-six' 'python-colorama' 'python-decorator') -makedepends=('python-pip') -checkdepends=('python-pytest-mock' 'python-mock' 'python-pexpect') -source=("$pkgname-$pkgver.tar.gz::https://github.com/nvbn/thefuck/archive/$pkgver.tar.gz") -sha512sums=('b092dbc6cb210152563c0d9d7f45f202ccbed879cc93683ca68adc18187300f10730d57437bc69b5c49a69a89c1815f70559a988e503a8e15528c6e24e85a3e4') - -build() { - cd thefuck-$pkgver - python setup.py build -} - -check() { - cd thefuck-$pkgver - - # Hack distribution test by installing it and set PYTHONPATH afterwards - python setup.py install --root="$PWD/tmp_install" --optimize=1 - - # Hack $HOME as it's / in the chroot and not writable - cp tests/test_conf.py "$srcdir/test_conf.py.bak" - sed -i "s|data = {}|data = {'HOME': '$srcdir'}|" tests/test_conf.py - LC_CTYPE=en_US.utf8 PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test tests - mv "$srcdir/test_conf.py.bak" tests/test_conf.py -} - -package() { - cd thefuck-$pkgver - python setup.py install -O1 --prefix=/usr --root="$pkgdir" - - install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md -} - -# vim:set ts=2 sw=2 et: Copied: thefuck/repos/community-any/PKGBUILD (from rev 251329, thefuck/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-08-16 16:04:51 UTC (rev 251330) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=thefuck +pkgver=3.20 +pkgrel=1 +pkgdesc="Magnificent app which corrects your previous console command" +arch=('any') +url="https://github.com/nvbn/thefuck" +license=('MIT') +depends=('python-setuptools' 'python-psutil' 'python-six' 'python-colorama' 'python-decorator') +makedepends=('python-pip') +checkdepends=('python-pytest-mock' 'python-mock' 'python-pexpect') +source=("$pkgname-$pkgver.tar.gz::https://github.com/nvbn/thefuck/archive/$pkgver.tar.gz") +sha512sums=('80edc0adb76bd620249bae84f17771ed86761f60838ac0b6e43d82885fe88de2150f0e93cd1cca3bdf669d1b345faba6f049b63b0dc6b2ba2464d5f84cd2e34a') + +build() { + cd thefuck-$pkgver + python setup.py build +} + +check() { + cd thefuck-$pkgver + + # Hack distribution test by installing it and set PYTHONPATH afterwards + python setup.py install --root="$PWD/tmp_install" --optimize=1 + + # Hack $HOME as it's / in the chroot and not writable + cp tests/test_conf.py "$srcdir/test_conf.py.bak" + sed -i "s|data = {}|data = {'HOME': '$srcdir'}|" tests/test_conf.py + LC_CTYPE=en_US.utf8 PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test tests + mv "$srcdir/test_conf.py.bak" tests/test_conf.py +} + +package() { + cd thefuck-$pkgver + python setup.py install -O1 --prefix=/usr --root="$pkgdir" + + install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md +} + +# vim:set ts=2 sw=2 et: