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

Balló György bgyorgy at archlinux.org
Mon Mar 9 22:21:17 UTC 2020


    Date: Monday, March 9, 2020 @ 22:21:17
  Author: bgyorgy
Revision: 593330

upgpkg: goocanvas 2.0.4-5: Remove Python2 support

Modified:
  goocanvas/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 22:19:32 UTC (rev 593329)
+++ PKGBUILD	2020-03-09 22:21:17 UTC (rev 593330)
@@ -4,32 +4,24 @@
 
 pkgname=goocanvas
 pkgver=2.0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="A cairo canvas widget for GTK+"
 arch=(x86_64)
 url="https://wiki.gnome.org/Projects/GooCanvas"
 license=('LGPL')
 depends=('gtk3')
-makedepends=('gobject-introspection' 'python-gobject' 'python2-gobject')
+makedepends=('gobject-introspection' 'python-gobject')
 source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
 sha256sums=('c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90')
 
 build() {
-  cp -r $pkgname-$pkgver python2
-
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr PYTHON=python3
+  ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
-
-  cd "$srcdir/python2"
-  ./configure --prefix=/usr PYTHON=python2
 }
 
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-
-  cd "$srcdir/python2"
-  make -C bindings/python DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list