[arch-commits] Commit in thefuck/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 17 00:39:00 UTC 2017
Date: Tuesday, October 17, 2017 @ 00:38:59
Author: felixonmars
Revision: 263120
archrelease: copy trunk to community-any
Added:
thefuck/repos/community-any/PKGBUILD
(from rev 263119, thefuck/trunk/PKGBUILD)
Deleted:
thefuck/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-17 00:38:33 UTC (rev 263119)
+++ PKGBUILD 2017-10-17 00:38:59 UTC (rev 263120)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=3.23
-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'
- 'python-pyte')
-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=('893700fcec88d7c0070bdc1ea90309cb77ebd7e21895cc633e2d5d2f99a83117e182b8dd386abee97b96affce3126a745613612522b5c731c2e7ab7a162b3814')
-
-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 263119, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-17 00:38:59 UTC (rev 263120)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=3.24
+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'
+ 'python-pyte')
+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=('d4949ea723cf3b080f2fbe269d0cafe3d0266089fa8cc515b3b9376b2004c045be82716cd219741a60a0e99c20575adb92339a879467f709f7ca03dcc71a5c2d')
+
+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:
More information about the arch-commits
mailing list