[arch-commits] Commit in thefuck/repos/community-any (4 files)
Felix Yan
fyan at archlinux.org
Tue Apr 21 06:39:40 UTC 2015
Date: Tuesday, April 21, 2015 @ 08:39:40
Author: fyan
Revision: 131786
archrelease: copy trunk to community-any
Added:
thefuck/repos/community-any/PKGBUILD
(from rev 131785, thefuck/trunk/PKGBUILD)
thefuck/repos/community-any/thefuck.install
(from rev 131785, thefuck/trunk/thefuck.install)
Deleted:
thefuck/repos/community-any/PKGBUILD
thefuck/repos/community-any/thefuck.install
-----------------+
PKGBUILD | 70 +++++++++++++++++++++++++++---------------------------
thefuck.install | 6 ++--
2 files changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-21 06:39:26 UTC (rev 131785)
+++ PKGBUILD 2015-04-21 06:39:40 UTC (rev 131786)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=1.17
-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-pathlib' 'python-psutil')
-checkdepends=('python-pytest' 'python-mock')
-install=thefuck.install
-source=("https://pypi.python.org/packages/source/t/thefuck/thefuck-$pkgver.tar.gz")
-sha256sums=('5964e461756991d0b2f3568a4264b819dff30f2070ec9f5969926863617f2140')
-
-build() {
- cd "${srcdir}/thefuck-$pkgver"
- python setup.py build
-}
-
-check() {
- # Tests not included in released tarball
- cd "${srcdir}/thefuck-$pkgver"
- # py.test
-}
-
-package() {
- cd thefuck-$pkgver
- 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 131785, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-21 06:39:40 UTC (rev 131786)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=1.18
+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-pathlib' 'python-psutil')
+makedepends=('git')
+checkdepends=('python-pytest' 'python-mock')
+install=thefuck.install
+source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+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: thefuck.install
===================================================================
--- thefuck.install 2015-04-21 06:39:26 UTC (rev 131785)
+++ thefuck.install 2015-04-21 06:39:40 UTC (rev 131786)
@@ -1,3 +0,0 @@
-post_install() {
- printf '%s\n' '=> Add: alias fuck=''$(thefuck $(fc -ln -1))'' to your .bashrc or .zshrc.'
-}
Copied: thefuck/repos/community-any/thefuck.install (from rev 131785, thefuck/trunk/thefuck.install)
===================================================================
--- thefuck.install (rev 0)
+++ thefuck.install 2015-04-21 06:39:40 UTC (rev 131786)
@@ -0,0 +1,3 @@
+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