[arch-commits] Commit in thefuck/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Feb 4 06:25:38 UTC 2017


    Date: Saturday, February 4, 2017 @ 06:25:37
  Author: felixonmars
Revision: 209808

archrelease: copy trunk to community-any

Added:
  thefuck/repos/community-any/PKGBUILD
    (from rev 209807, thefuck/trunk/PKGBUILD)
Deleted:
  thefuck/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-04 06:25:04 UTC (rev 209807)
+++ PKGBUILD	2017-02-04 06:25:37 UTC (rev 209808)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=3.11
-pkgrel=2
-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=('git' 'python-pip')
-checkdepends=('python-pytest-mock' 'python-mock' 'python-pexpect')
-source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
-sha256sums=('SKIP')
-
-build() {
-  cd thefuck
-  python setup.py build
-}
-
-check() {
-  cd thefuck
-
-  # 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
-  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 209807, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-04 06:25:37 UTC (rev 209808)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=3.14
+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=('git' 'python-pip')
+checkdepends=('python-pytest-mock' 'python-mock' 'python-pexpect')
+source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd thefuck
+  python setup.py build
+}
+
+check() {
+  cd thefuck
+
+  # 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
+  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:



More information about the arch-commits mailing list