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

Felix Yan fyan at archlinux.org
Tue Jul 7 14:36:41 UTC 2015


    Date: Tuesday, July 7, 2015 @ 16:36:40
  Author: fyan
Revision: 136516

archrelease: copy trunk to community-any

Added:
  thefuck/repos/community-any/PKGBUILD
    (from rev 136515, thefuck/trunk/PKGBUILD)
Deleted:
  thefuck/repos/community-any/PKGBUILD
  thefuck/repos/community-any/psutil-3.patch
  thefuck/repos/community-any/thefuck.install

-----------------+
 PKGBUILD        |   84 +++++++++++++++++++++++++-----------------------------
 psutil-3.patch  |   33 ---------------------
 thefuck.install |    3 -
 3 files changed, 39 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-07 14:36:29 UTC (rev 136515)
+++ PKGBUILD	2015-07-07 14:36:40 UTC (rev 136516)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=1.46
-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')
-makedepends=('git')
-checkdepends=('python-pytest-mock' 'python-mock')
-install=thefuck.install
-source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver"
-        psutil-3.patch)
-sha256sums=('SKIP'
-            'cc6d7c5569f46171b89686d4b6dc885a20d03386681add15e40bf9f4d00c4933')
-
-prepare() {
-  # pathlib is standard library since Python 3.4
-  sed -i "s|install_requires=\['pathlib',|install_requires=[|" thefuck/setup.py
-
-  cd thefuck
-  patch -p1 -i ../psutil-3.patch
-}
-
-build() {
-  cd thefuck
-  python setup.py build
-}
-
-check() {
-  cd thefuck
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test
-}
-
-package() {
-  cd thefuck
-  python3 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 136515, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-07 14:36:40 UTC (rev 136516)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=1.47
+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')
+makedepends=('git')
+checkdepends=('python-pytest-mock' 'python-mock')
+source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  # pathlib is standard library since Python 3.4
+  sed -i "s|install_requires=\['pathlib',|install_requires=[|" thefuck/setup.py
+}
+
+build() {
+  cd thefuck
+  python setup.py build
+}
+
+check() {
+  cd thefuck
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test
+}
+
+package() {
+  cd thefuck
+  python3 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:

Deleted: psutil-3.patch
===================================================================
--- psutil-3.patch	2015-07-07 14:36:29 UTC (rev 136515)
+++ psutil-3.patch	2015-07-07 14:36:40 UTC (rev 136516)
@@ -1,33 +0,0 @@
-From 6a88cc47b61656dc81fe527c2b9be91b125cc11e Mon Sep 17 00:00:00 2001
-From: Pablo Santiago Blum de Aguiar <scorphus at gmail.com>
-Date: Mon, 15 Jun 2015 09:20:07 -0300
-Subject: [PATCH] =?UTF-8?q?fix(main.wait=5Foutput):=20use=20Process?=
- =?UTF-8?q?=E2=80=99=20children()=20instead=20of=20get=5Fchildren()?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Since psutil 2.0.0 `get_children()` has become deprecated and the use of
-`children()` instead of it has been encouraged. In version 3.0.0, just
-released, `get_children()` has been dropped. Check:
-
-https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
-
-Fix #255
----
- thefuck/main.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/thefuck/main.py b/thefuck/main.py
-index 5772d4e..eebb668 100644
---- a/thefuck/main.py
-+++ b/thefuck/main.py
-@@ -62,7 +62,7 @@ def wait_output(settings, popen):
-         proc.wait(settings.wait_command)
-         return True
-     except TimeoutExpired:
--        for child in proc.get_children(recursive=True):
-+        for child in proc.children(recursive=True):
-             child.kill()
-         proc.kill()
-         return False

Deleted: thefuck.install
===================================================================
--- thefuck.install	2015-07-07 14:36:29 UTC (rev 136515)
+++ thefuck.install	2015-07-07 14:36:40 UTC (rev 136516)
@@ -1,3 +0,0 @@
-post_install() {
-  printf '%s\n' '=> Add: alias fuck=''$(thefuck $(fc -ln -1))'' to your .bashrc or .zshrc.'
-}



More information about the arch-commits mailing list