[arch-commits] Commit in thefuck/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 12 03:54:25 UTC 2017
Date: Friday, May 12, 2017 @ 03:54:21
Author: felixonmars
Revision: 227830
archrelease: copy trunk to community-any
Added:
thefuck/repos/community-any/PKGBUILD
(from rev 227829, thefuck/trunk/PKGBUILD)
Deleted:
thefuck/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-12 03:53:31 UTC (rev 227829)
+++ PKGBUILD 2017-05-12 03:54:21 UTC (rev 227830)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=3.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-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=('acb50b88357f4a5de5bc9201b2f7676c4e912151aa643a67d7cdc921a5928b0ee62094bb5827ea4b2e5788212537abffa0515f4f0b7d3715d65919609b72fe3f')
-
-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 227829, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-05-12 03:54:21 UTC (rev 227830)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=3.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-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=('26a8abb705bd05f09375f3f0dbb0ab3f554e79ab8ba85023edf92252141ff23a11993bf75d582a59c598e3c22e7864cf72823b29be1abab347be2a5d5322a43b')
+
+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