community/libplist: drop python2 bindings

This commit is contained in:
prspkt 2019-07-24 02:55:26 +03:00
parent 45498ea0f8
commit cf33aad518
No known key found for this signature in database
GPG Key ID: 24BA3D41BDA6E870

View File

@ -7,8 +7,8 @@ pkgdesc="A library to handle Apple Property List format whereas it's binary or X
url="http://libimobiledevice.org/"
arch="all"
license="GPL-2.0-or-later LGPL-2.1-or-later"
makedepends="py2-setuptools swig python2-dev glib-dev cython"
subpackages="$pkgname-static $pkgname-dev py-$pkgname:py $pkgname-util $pkgname++:cxx"
makedepends="py3-setuptools swig python3-dev glib-dev cython3"
subpackages="$pkgname-static $pkgname-dev py3-$pkgname:_py3 $pkgname-util $pkgname++:cxx"
source="http://www.libimobiledevice.org/downloads/libplist-$pkgver.tar.bz2"
build() {
@ -39,7 +39,7 @@ util() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
py() {
_py3() {
pkgdesc="Python bindings for libplist"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/