diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-17 16:32:35 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-17 17:00:42 +0100 |
commit | f17583e33bc817c6f799432285c6ea9ebac49524 (patch) | |
tree | 6053834f402501b6ffd253fd3f7ddb77caa03a4c /main | |
parent | 8db4a226dfcb3095048249e7d068e4bc99c91477 (diff) | |
download | aports-f17583e33bc817c6f799432285c6ea9ebac49524.tar.bz2 aports-f17583e33bc817c6f799432285c6ea9ebac49524.tar.xz |
main/tevent: rename py- subpackage to py2-, update depending abuilds
Diffstat (limited to 'main')
-rw-r--r-- | main/ldb/APKBUILD | 2 | ||||
-rw-r--r-- | main/samba/APKBUILD | 2 | ||||
-rw-r--r-- | main/tevent/APKBUILD | 13 |
3 files changed, 10 insertions, 7 deletions
diff --git a/main/ldb/APKBUILD b/main/ldb/APKBUILD index 89d459ec3b..b2a9026f7a 100644 --- a/main/ldb/APKBUILD +++ b/main/ldb/APKBUILD @@ -6,7 +6,7 @@ pkgdesc="A schema-less, ldap like, API and database" url="http://ldb.samba.org/" arch="all" license="LGPL-3.0-or-later" -makedepends="libtirpc-dev tevent-dev py-tevent tdb-dev py-tdb talloc-dev +makedepends="libtirpc-dev tevent-dev py2-tevent tdb-dev py-tdb talloc-dev python2-dev popt-dev cmocka-dev" subpackages="$pkgname-dev py-$pkgname:_py $pkgname-tools" source="https://www.samba.org/ftp/pub/ldb/$pkgname-$pkgver.tar.gz" diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index 221357f7be..0427b2feb6 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -41,7 +41,7 @@ depends="$pkgname-server=$pkgver-r$pkgrel # note that heimdal is required (over mit krb5) for AD DC functionality makedepends="popt-dev ncurses-dev openldap-dev e2fsprogs-dev talloc-dev tdb-dev py-tdb ldb-dev>=1.2.2 cups-dev python2-dev libcap-dev - tevent-dev py-tevent iniparser-dev perl subunit-dev docbook-xsl + tevent-dev py2-tevent iniparser-dev perl subunit-dev docbook-xsl libarchive-dev acl-dev fuse-dev libtirpc-dev rpcgen" source="https://us1.samba.org/samba/ftp/stable/$pkgname-$pkgver.tar.gz uclibc-xattr-create.patch diff --git a/main/tevent/APKBUILD b/main/tevent/APKBUILD index d9acb19212..ffe5ad745b 100644 --- a/main/tevent/APKBUILD +++ b/main/tevent/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tevent pkgver=0.9.36 -pkgrel=0 +pkgrel=1 pkgdesc="The tevent library" url="http://tevent.samba.org/" arch="all" license="LGPL-3.0-or-later" makedepends="libtirpc-dev python2-dev talloc-dev" replaces="samba" -subpackages="$pkgname-dev py-$pkgname:_py" +subpackages="$pkgname-dev py2-$pkgname:_py2" source="http://samba.org/ftp/tevent/tevent-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -39,10 +39,13 @@ package() { make DESTDIR="$pkgdir" install } -_py() { - pkgdesc="Python binding for the tevent library" +_py2() { + pkgdesc="Python 2 binding for the tevent library" + provides="py-$pkgname=$pkgver-r$pkgrel" # for backward compatibility + replaces="py-$pkgname" # for backward compatibility + mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/python2* "$subpkgdir"/usr/lib/ } sha512sums="bca9db9bcf142ba68b207180d19414dddb89a069a4f040383069c8af0df5bb184ca219293c4a1e7b0bc241b9a1ea3d414f8284278ad3a5f0383b9e432450167b tevent-0.9.36.tar.gz" |