Date: Saturday, November 9, 2019 @ 13:04:13
  Author: arojas
Revision: 367245

Drop unused python2 bindings

Modified:
  libimobiledevice/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-09 13:00:20 UTC (rev 367244)
+++ PKGBUILD    2019-11-09 13:04:13 UTC (rev 367245)
@@ -4,14 +4,14 @@
 
 pkgname=libimobiledevice
 pkgver=1.2.0+87+g92c5462
-pkgrel=3
+pkgrel=4
 pkgdesc="Library that talks the protocols to support iPhone and iPod Touch 
devices on Linux"
 url="https://libimobiledevice.org/";
 arch=('x86_64')
 license=('GPL2' 'LGPL2.1')
 depends=('libusbmuxd' 'usbmuxd' 'gnutls')
-makedepends=('python2' 'cython2' 'python' 'cython' 'libplist' 
'autoconf-archive'
-             'git' 'python2-setuptools' 'python-setuptools')
+makedepends=('python' 'cython' 'libplist' 'autoconf-archive'
+             'git' 'python-setuptools')
 _commit=92c5462adef87b1e577b8557b6b9c64d5a089544  # master
 
source=("git+https://github.com/libimobiledevice/libimobiledevice#commit=$_commit";)
 sha256sums=('SKIP')
@@ -28,28 +28,21 @@
   NOCONFIGURE=1 ./autogen.sh
 }
 
-_build() (
-  mkdir build-py$1
-  cd build-py$1
-  PYTHON=/usr/bin/python$1 CYTHON=/usr/bin/cython$1 \
-    ../$pkgname/configure --prefix=/usr --disable-openssl
+build() (
+  cd $pkgname
+  ./configure --prefix=/usr --disable-openssl
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 )
 
-build() {
-  _build 2
-  _build 3
-}
-
 check() {
-  make check -C build-py2
-  make check -C build-py3
+  cd $pkgname
+  make check
 }
 
 package() {
-  DESTDIR="$pkgdir" make install -C build-py2
-  DESTDIR="$pkgdir" make install -C build-py3/cython
+  cd $pkgname
+  DESTDIR="$pkgdir" make install
 }
 
 # vim:set sw=2 et:

Reply via email to