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

Johannes Löthberg demize at archlinux.org
Wed Dec 25 19:20:11 UTC 2019


    Date: Wednesday, December 25, 2019 @ 19:20:10
  Author: demize
Revision: 541207

Switch to python3

Modified:
  repo/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 19:14:06 UTC (rev 541206)
+++ PKGBUILD	2019-12-25 19:20:10 UTC (rev 541207)
@@ -9,7 +9,7 @@
 arch=('any')
 license=("APACHE")
 
-depends=("git" "python2")
+depends=("git" "python")
 
 validpgpkeys=('8BB9AD793E8E6153AF0F9A4416530D5E920F5C65')
 source=("git+https://android.googlesource.com/tools/repo.git#tag=v$pkgver?signed")
@@ -16,11 +16,6 @@
 
 sha256sums=('SKIP')
 
-prepare() {
-  cd repo
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' repo
-}
-
 package() {
   cd repo
   install -D -m 755 repo "$pkgdir/usr/bin/repo"



More information about the arch-commits mailing list