aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/ldb/APKBUILD2
-rw-r--r--main/samba/APKBUILD2
-rw-r--r--main/tevent/APKBUILD13
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"