[arch-commits] Commit in thefuck/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Sep 19 11:22:10 UTC 2015


    Date: Saturday, September 19, 2015 @ 13:22:09
  Author: fyan
Revision: 140755

upgpkg: thefuck 3.0-2

rebuild for python 3.5

Modified:
  thefuck/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-19 11:20:04 UTC (rev 140754)
+++ PKGBUILD	2015-09-19 11:22:09 UTC (rev 140755)
@@ -3,7 +3,7 @@
 
 pkgname=thefuck
 pkgver=3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Magnificent app which corrects your previous console command"
 arch=('any')
 url="https://github.com/nvbn/thefuck"
@@ -28,7 +28,7 @@
   # 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.4/site-packages:$PYTHONPATH" py.test tests
+  LC_CTYPE=en_US.utf8 PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" py.test tests
   mv "$srcdir/test_conf.py.bak" tests/test_conf.py
 }
 
@@ -35,7 +35,7 @@
 package() {
   cd thefuck
   python3 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-  mv "$pkgdir"/usr/lib/python3.4/site-packages/{tests,thefuck/}
+  mv "$pkgdir"/usr/lib/python3.5/site-packages/{tests,thefuck/}
 
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
 }



More information about the arch-commits mailing list