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

Felix Yan felixonmars at archlinux.org
Thu Dec 17 20:26:16 UTC 2020


    Date: Thursday, December 17, 2020 @ 20:26:16
  Author: felixonmars
Revision: 404458

upgpkg: ibus 1.5.23+3+gaa558de8-2: remove python2 and gtk2 dependency (FS#62995)

Modified:
  ibus/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-17 19:58:37 UTC (rev 404457)
+++ PKGBUILD	2020-12-17 20:26:16 UTC (rev 404458)
@@ -3,14 +3,14 @@
 pkgbase=ibus
 pkgname=(ibus libibus)
 pkgver=1.5.23+3+gaa558de8
-pkgrel=1
+pkgrel=2
 pkgdesc="Next Generation Input Bus for Linux"
 arch=('x86_64')
 url="https://github.com/ibus/ibus/wiki"
 license=('LGPL')
-depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject'
-         'iso-codes' 'python2-gobject2' 'python2-dbus' 'python2-gobject' 'librsvg')
-makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'qt5-base'
+depends=('dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject'
+         'iso-codes' 'librsvg')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'gtk2' 'qt5-base'
              'unicode-cldr' 'unicode-character-database' 'unicode-emoji' 'git')
 options=('!emptydirs')
 _commit=aa558de80c224921753990806cf553428fbe7057  # master
@@ -39,7 +39,7 @@
     --enable-gtk-doc \
     --disable-memconf \
     --enable-ui \
-    --enable-python-library \
+    --disable-python2 \
     --with-python=python3 \
     --with-ucd-dir=/usr/share/unicode/
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -54,7 +54,6 @@
   make DESTDIR="$pkgdir" install
   make -C src DESTDIR="$pkgdir" uninstall
   make -C bindings DESTDIR="$pkgdir" uninstall
-  rm -r "$pkgdir"/usr/lib/python2.7/site-packages/gi # compiled pyc/pyo files were not cleaned
   make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
 }
 



More information about the arch-commits mailing list