diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-06-09 05:29:20 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-09 05:29:20 +0000 |
commit | c0037877510b2c48048e59b53f72513e8177847a (patch) | |
tree | fc228ef03160c6bd1be815c5538b1bb3f2174e23 /community/libpeas | |
parent | 5ec0a761e2fce9f903ef71128b2c027058c09acc (diff) | |
download | aports-c0037877510b2c48048e59b53f72513e8177847a.tar.bz2 aports-c0037877510b2c48048e59b53f72513e8177847a.tar.xz |
community/libpeas: add python3 support
Diffstat (limited to 'community/libpeas')
-rw-r--r-- | community/libpeas/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/community/libpeas/APKBUILD b/community/libpeas/APKBUILD index d5c3e15562..854e6c2341 100644 --- a/community/libpeas/APKBUILD +++ b/community/libpeas/APKBUILD @@ -2,16 +2,16 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=libpeas pkgver=1.20.0 -pkgrel=0 +pkgrel=1 pkgdesc="GObject-based plugin system" url="https://wiki.gnome.org/Projects/Libpeas" arch="all" license="LGPL" depends="" depends_dev="" -makedepends="$depends_dev glib-dev gobject-introspection-dev intltool gtk+3.0-dev" +makedepends="$depends_dev glib-dev gobject-introspection-dev intltool gtk+3.0-dev py-gobject3-dev python3-dev" install="" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-python3:py3" source="https://download.gnome.org/sources/libpeas/1.20/libpeas-$pkgver.tar.xz" builddir="$srcdir/libpeas-$pkgver" @@ -24,6 +24,7 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ + --disable-python2 \ || return 1 make || return 1 } @@ -33,4 +34,10 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +py3() { + depends="py3-gobject3" + mkdir -p "$subpkgdir"/usr/lib/libpeas-1.0/loaders + mv "$pkgdir"/usr/lib/libpeas-1.0/loaders/libpython3loader.* "$subpkgdir"/usr/lib/libpeas-1.0/loaders/ +} + sha512sums="b3ddebf65e1a76493b5cd5150f60c13597c90398eea16c002e51d25449a595f7591bd0ccd1214ca3a8cbce724eb10f38a316e8c95092442034c048bc95cfdbf4 libpeas-1.20.0.tar.xz" |