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

Felix Yan fyan at archlinux.org
Sun Nov 29 10:50:25 UTC 2015


    Date: Sunday, November 29, 2015 @ 11:50:25
  Author: fyan
Revision: 252044

upgpkg: twisted 15.5.0-2

Modified:
  twisted/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-29 10:22:24 UTC (rev 252043)
+++ PKGBUILD	2015-11-29 10:50:25 UTC (rev 252044)
@@ -7,7 +7,7 @@
 pkgbase=twisted
 pkgname=(python-twisted python2-twisted)
 pkgver=15.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Asynchronous networking framework written in Python"
 arch=('i686' 'x86_64')
 url="http://twistedmatrix.com/"
@@ -60,9 +60,11 @@
   cp -a "$pkgdir"/usr/twisted/* "$pkgdir"/usr/lib/python3.5/site-packages/twisted/
   rm -r "$pkgdir"/usr/twisted
 
-  # twisted in python 3 supports only one command line tool for now.
+  # twisted in python 3 supports only few command line tools for now.
   # Let's rename the tools the other way round after the python 3 version supports all.
-  mv "$pkgdir/usr/bin/trial"{,3}
+  for name in trial twistd; do
+    mv "$pkgdir/usr/bin/$name"{,3}
+  done
 
   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list